Commit Graph

25 Commits

Author SHA1 Message Date
Carsten Haitzler 8678ebe026 only bring up config dialogs once - find the previous one and splash it up if
u bring it up again


SVN revision: 26415
2006-10-08 08:04:18 +00:00
Viktor Kojouharov b54e1cdc4c added an option for the shelf to let itself be overlapped by maximized windows
SVN revision: 26282
2006-10-01 20:10:37 +00:00
Carsten Haitzler a9e7340190 you're all goign to kill me :) but here goes - i broke the dialog and config
dialog api's - added name and class params so u can set the name and class -
so users can later use things like rememebr to rememebr where a dialog will
go for usability and convenience.


SVN revision: 24691
2006-08-14 15:22:46 +00:00
sebastid 7353b24902 E style
SVN revision: 24270
2006-07-28 11:34:38 +00:00
sebastid 0b830fa639 Add return value.
Remove unused variable.


SVN revision: 24269
2006-07-28 11:33:43 +00:00
Christopher Michael be5784e9bd Avoid extra calls to e_shelf_config_init as it destroys and recreates all
shelves every time. Only call it on an add.


SVN revision: 24206
2006-07-26 19:10:20 +00:00
Christopher Michael 9e7bd294b3 Remove sscanf totally. Much more reliable this way.
SVN revision: 24161
2006-07-24 18:10:01 +00:00
Christopher Michael 691a84e71d Oops. Fix sscanf usage.
SVN revision: 24160
2006-07-24 17:44:37 +00:00
Christopher Michael c9080663fc Fix shelf list config dialog to not segfault on delete.
Added null checks.
Uses sorted e_shelf_list.
Disable Delete/Config buttons until a shelf is selected.

There are still some issues with the shelf_config dialog itself tho. Seems
to sometimes change properties for the wrong shelf.


SVN revision: 24157
2006-07-24 16:32:34 +00:00
Christopher Michael d1060837ae Remove a debug printf.
Remove the _fill_data function as it was empty and not needed.


SVN revision: 24144
2006-07-23 13:45:43 +00:00
Christopher Michael d2354e60b3 Remove _cb_list function as it does nothing, so no point in calling it.
When getting the shelf via e_shelf_list we cannot rely on using the ilist
index as it may not coorespond to the shelf_list. Since ilist label uses the
shelf id, parse out the id and use that to get from e_shelf_list.


SVN revision: 24142
2006-07-23 13:36:48 +00:00
chaos 4b9eca0ca4 * And stop it crashing when a new shelf is added.
SVN revision: 24094
2006-07-21 05:41:24 +00:00
sebastid c5dd3b75a2 Always keep shelf list sorted on id.
SVN revision: 24070
2006-07-20 13:36:02 +00:00
Christopher Michael 4bb372ad2d Give ability for config dialogs to set their border icon to the proper
config icon, rather than all having the E logo. Is proactive about setting
this: if it does not find or cannot set to that icon, it will fallback to
the E icon.

Change all config dialogs to support this.

If we have an internal border (config dialogs), disable the Create Icon/Edit
Icon menu items.


SVN revision: 23655
2006-07-02 16:19:51 +00:00
Carsten Haitzler 923fbd6731 dont need the function either and null setting isnt needed too
SVN revision: 23481
2006-06-17 03:10:54 +00:00
Christopher Michael 2804df49da Shelfs config dialog (the list of shelves) really doesn't need the Ok/Apply
buttons, just a close button.


SVN revision: 23474
2006-06-16 16:36:32 +00:00
Christopher Michael 63a5ae8fd5 Fix shelf list size. When loading the list, using min_size_get would return
a list size that caused the add/del/configure buttons to overlap the ilist
frame.


SVN revision: 23450
2006-06-15 19:17:58 +00:00
Carsten Haitzler 3986e8d184 patch from laurent for displaying shelf orientation in dialog (made the icons
smaller too)


SVN revision: 23447
2006-06-15 13:09:21 +00:00
sebastid 715a64d5fe Fix warnings
SVN revision: 23032
2006-05-31 18:58:26 +00:00
sndev f283545354 * Preventing to have more than 1 config dialog per shelf, when it is
launched via E config panel.


SVN revision: 23013
2006-05-30 21:27:52 +00:00
sndev b8ed636f52 1. The confirmation dialog on shelf delete is added. Somebody on IRC proposed to have it.
Also it is added on Key Binding deletion (see Key Bindings dialog).

Code duplicates were moved to a separate function e_confirm_dialog_show.

2. Two new events E_EVENT_BORDER_FOCUS_IN and E_EVENT_BORDER_FOCUS_OUT are added.


SVN revision: 22844
2006-05-22 20:28:33 +00:00
sndev b46deba2c7 * improving the usability of the Shelf config dialog in E config panel. Now
when one add a new shelf the selector automatically goes to it.

* adding a confirmation dialog on shelf delete. Request from CodeWarrior. :)

* possible-TODO: would be nice very nice "question" icon for this dialog.


SVN revision: 22832
2006-05-22 12:01:09 +00:00
Christopher Michael 085210cd00 Default the shelf list width to something sane if the shelf count
is 0, else request the width and set accordingly.


SVN revision: 22804
2006-05-21 11:45:22 +00:00
Carsten Haitzler 362b6bb159 NOW we can add/del shelves... still not done.
SVN revision: 22414
2006-04-30 09:31:31 +00:00
Carsten Haitzler d6ff645451 start a shelf config for all shelves (for listing adding/deleting shelves)
SVN revision: 22404
2006-04-30 03:43:47 +00:00