Mike Blumenkrantz
2b41e37c30
const cleanup
...
SVN revision: 76530
2012-09-12 13:39:43 +00:00
Mike Blumenkrantz
3436f52edc
refresh at the end of deleting gadgets, not during; prevents infinite loop
...
SVN revision: 76527
2012-09-12 13:29:46 +00:00
Mike Blumenkrantz
2747cba221
deleting multiple gadgets in advanced gadget config will now actually delete multiple gadgets
...
SVN revision: 76525
2012-09-12 13:12:43 +00:00
Mike Blumenkrantz
0a66fa4671
ilist_items_get() now returns a const list
...
SVN revision: 76524
2012-09-12 13:03:04 +00:00
Maxime Villard
eb5cd99f6b
From: Maxime Villard <rustyBSD@gmx.fr>
...
Hi,
we should check the permissions of the conf file.
For example (really stupid situation):
If the user mischmoded his conf file, a guy who have
physical access could obtain root access by launching
a program in root (after having modified paths in conf
file); or a guy with ssh access, ...
SVN revision: 76519
2012-09-12 11:49:46 +00:00
Mike Blumenkrantz
e81c385e57
break out gadcon drop handler add into separate function to make it reusable
...
SVN revision: 76516
2012-09-12 10:37:29 +00:00
Christopher Michael
36e807aaee
E: We don't need to run this comparison twice.
...
SVN revision: 76496
2012-09-12 07:29:41 +00:00
Mike Blumenkrantz
4337d5cea5
improve efm's xds support to allow dragging onto directories to drop within, also rename the "drop" handler to selection_notify since this is actually what it's called from
...
SVN revision: 76495
2012-09-12 07:10:43 +00:00
Mike Blumenkrantz
cfca3d8897
whoops, forgot to add in the xds check for dnd yesterday to make it actually work
...
SVN revision: 76494
2012-09-12 07:08:44 +00:00
Gustavo Sverzut Barbieri
7dc448c56f
fsel: if file name starts with "/" then it's an absolute path.
...
not handling "../" and "./" cases here, maybe worth?
This allows screenshots to be saved typing "/tmp/bla.png" (see
previous commit, to shot module)
SVN revision: 76481
2012-09-11 23:06:25 +00:00
Mike Blumenkrantz
20f84d3cee
this took waaaaayyyyyyyyyyyyyy longer than I expected, but we now have support for XDS in efm, which will allow you to drag things from many other applications TO efm windows (eg. dragging a file from an archive in file-roller to an efm window will now extract the dragged file to the location of the window)
...
SVN revision: 76465
2012-09-11 16:17:24 +00:00
Mike Blumenkrantz
414db11d31
add some hacks to prevent spurious mouse movement events from breaking the universe when generating menus
...
ticket #1492
SVN revision: 76459
2012-09-11 11:55:08 +00:00
Mike Blumenkrantz
0922fa95c5
formatting
...
SVN revision: 76450
2012-09-11 09:07:54 +00:00
Carsten Haitzler
7bed18f089
add action to enable/disable and toggle a module... useufl for... eg
...
togling comp on and off :)
SVN revision: 76442
2012-09-11 06:59:46 +00:00
Mike Blumenkrantz
6588ae2d08
fix super old, but mostly harmless bug where already-mounted volumes would not be correctly detected and set up during e startup; fixes move source option from previous commit
...
SVN revision: 76418
2012-09-10 16:28:55 +00:00
Mike Blumenkrantz
7c16c33ed5
add option to error dialog that occurs when trying to move/make a symlink onto a device: move source - moves the source of the link instead of the link
...
ticket #93
SVN revision: 76417
2012-09-10 16:28:07 +00:00
Mike Blumenkrantz
3e1bb5843c
send initial progress from efm slave to set src and dest paths in efm
...
SVN revision: 76416
2012-09-10 15:46:38 +00:00
Mike Blumenkrantz
f8e5e23135
fix hilarious crash startups when using enlightenment_start
...
SVN revision: 76415
2012-09-10 15:30:48 +00:00
Mike Blumenkrantz
ca107c609c
ensure that efm widget does set path in the case of removable devices, fixes random crash when opening removable media
...
SVN revision: 76414
2012-09-10 15:04:31 +00:00
Mike Blumenkrantz
7335a904ce
finally implement file renaming when an overwrite is detected
...
ticket #1269
SVN revision: 76413
2012-09-10 14:40:29 +00:00
Mike Blumenkrantz
f59fa03035
send progress of 0% when overwrite warning is sent to ensure that we have the src and dest accessible in efm
...
SVN revision: 76412
2012-09-10 14:39:07 +00:00
Mike Blumenkrantz
0e1b4f5322
formatting
...
SVN revision: 76407
2012-09-10 14:06:17 +00:00
Mike Blumenkrantz
c11dd0704b
don't need to get the current container all the time, e_dialog does this for us
...
SVN revision: 76405
2012-09-10 13:22:51 +00:00
Mike Blumenkrantz
55b1cd1e09
don't need to be allocating ints here, we can just use the correct cast and things will be a-okay
...
SVN revision: 76404
2012-09-10 13:13:04 +00:00
Mike Blumenkrantz
def3fec3b3
reset efm new file marker+thread on path change
...
SVN revision: 76403
2012-09-10 12:52:41 +00:00
Mike Blumenkrantz
f260b18c27
changing efm path to its current path is now correctly handled
...
SVN revision: 76402
2012-09-10 12:51:05 +00:00
Mike Blumenkrantz
90b9efbf77
another not-awaited efm feature: creating new files from the menu
...
SVN revision: 76401
2012-09-10 12:46:02 +00:00
Carsten Haitzler
2a363406b8
pointer screen switch fullscreen focus bug--
...
SVN revision: 76397
2012-09-10 12:22:16 +00:00
Mike Blumenkrantz
3243b919d4
group application and file properties in a submenu, clicking submenu item brings up file properties
...
SVN revision: 76393
2012-09-10 10:58:49 +00:00
Mike Blumenkrantz
2c44aabd4d
pasting files into directories now properly obeys link_drop
...
SVN revision: 76391
2012-09-10 10:41:25 +00:00
Mike Blumenkrantz
e7147dd081
prevent view mode from being changed in fsel and sidebar
...
SVN revision: 76390
2012-09-10 10:32:21 +00:00
Mike Blumenkrantz
2d0fc4a90b
add method for disabling efm view mode items in efm widgets
...
SVN revision: 76389
2012-09-10 10:31:56 +00:00
Mike Blumenkrantz
723ad72963
prevent link drop targets (sidebar and favorites) from accidentally replacing a file within the target with a link to the same file
...
SVN revision: 76388
2012-09-10 10:23:58 +00:00
Mike Blumenkrantz
d3ab905f13
prevent edge bindings from activating while they are activating
...
ticket #1469
SVN revision: 76386
2012-09-10 09:42:51 +00:00
Carsten Haitzler
05ed922ca5
move env var (PATH, LD_LIBRARY_PATH) fiddling to enlightenment_start
...
and append if u know what u are doing.
SVN revision: 76385
2012-09-10 09:34:01 +00:00
Mike Blumenkrantz
c15989c37f
rename E_FM2_MENU_NO_NEW_DIRECTORY -> E_FM2_MENU_NO_NEW, disable New menu in sidebar
...
ticket #1472
SVN revision: 76382
2012-09-10 09:03:21 +00:00
Mike Blumenkrantz
3eb3b755ea
fix crashing when shelf config dialog is open and orientation is changed using a menu and then shelf config is changed and applied from the config dialog
...
SVN revision: 76376
2012-09-10 08:23:38 +00:00
Mike Blumenkrantz
60e1c09cc4
add E_LIST_HANDLERS_APPEND for simplifying adding event handlers to a list
...
SVN revision: 76375
2012-09-10 08:18:12 +00:00
Mike Blumenkrantz
118f61ab58
formatting
...
SVN revision: 76374
2012-09-10 08:16:24 +00:00
Mike Blumenkrantz
d747ac76aa
don't close shelf config dialog when changing orientation from menu
...
SVN revision: 76373
2012-09-10 08:04:09 +00:00
Mike Blumenkrantz
ff67718c15
need to return a value in functions that return values!
...
SVN revision: 76370
2012-09-10 07:58:58 +00:00
Carsten Haitzler
c7753e5e76
protect against null wd's in ilist.
...
SVN revision: 76355
2012-09-09 12:43:38 +00:00
Mike Blumenkrantz
a9dd95b2c4
fix crash when changing settings in shelf config dialog which causes the shelf to be re-created
...
SVN revision: 76347
2012-09-08 19:43:45 +00:00
Mike Blumenkrantz
a788723e41
set shelf autohide on creation, ensure autohide settings have been applied
...
ticket #1482
SVN revision: 76346
2012-09-08 19:23:25 +00:00
Carsten Haitzler
4639f361b3
more dpms /screensaver setting force set to work around an apparent
...
xorg bug.
SVN revision: 76342
2012-09-08 12:17:29 +00:00
Mike Blumenkrantz
c61c107346
shelves now only watch all mouse events when autohide is set since a static shelf doesn't need to care about it; this will save some amount of cpu I guess
...
this also breaks the use of e,state,focused programs on non-autohiding shelves, but nothing I'm aware of has ever used this, sooooooo :)
also probably fixes ticket #1467
SVN revision: 76320
2012-09-07 18:59:43 +00:00
Mike Blumenkrantz
4e68cc3ceb
avoid unnecessary comparisons from previous commit in some cases
...
SVN revision: 76317
2012-09-07 18:21:29 +00:00
Mike Blumenkrantz
e841e2f920
grrrr yet another systray-related shelf autohiding bug
...
SVN revision: 76316
2012-09-07 18:16:23 +00:00
Mike Blumenkrantz
eefe608050
use better codepath for refreshing shelf after config has changed
...
ticket #1465
SVN revision: 76312
2012-09-07 14:02:33 +00:00
Mike Blumenkrantz
620b6330cf
add menu item to shelf menu to change orientation on the fly
...
SVN revision: 76311
2012-09-07 13:44:25 +00:00
Mike Blumenkrantz
97c96f891a
add menu item variant of gadcon icon orient function
...
SVN revision: 76310
2012-09-07 13:43:44 +00:00
Mike Blumenkrantz
787017ca11
add E_GADCON_ORIENT_LAST for iterating
...
SVN revision: 76307
2012-09-07 13:16:29 +00:00
Mike Blumenkrantz
10a6ce56f6
move gadcon orientation icon setting code to e_util function
...
SVN revision: 76305
2012-09-07 13:11:45 +00:00
Mike Blumenkrantz
60c4343df4
new shelf starter dialog now brings up shelf contents dialog after adding a new shelf
...
SVN revision: 76304
2012-09-07 12:47:24 +00:00
Mike Blumenkrantz
b9c6264992
new shelf menu item now brings up the new shelf starter dialog
...
SVN revision: 76303
2012-09-07 12:45:40 +00:00
Mike Blumenkrantz
86c58b136b
move shelf add starter dialog to shelf internals and clean up shelf config dialog
...
SVN revision: 76302
2012-09-07 12:42:29 +00:00
Mike Blumenkrantz
fdc67ec2db
clarify advanced gadget config dialog tab names
...
SVN revision: 76300
2012-09-07 12:04:44 +00:00
Mike Blumenkrantz
6015463fdf
when no shelves are present, we just show the add shelf menu item
...
SVN revision: 76299
2012-09-07 12:03:23 +00:00
Christopher Michael
ee4fbda47a
E: Make list resizable in New Gadcon Advanced config, and make ilist
...
use icons based on e_scale (for zmike) ;)
SVN revision: 76298
2012-09-07 11:24:12 +00:00
Mike Blumenkrantz
4c89c8ccb1
add mechanism for deleting gadcon configs, shelf deletion now triggers gadcon deletion, fix crash when renaming shelves, prevent shelves from being renamed to the same name as another shelf, fix bug where gadcon client ordering would increase infinitely when adding/removing/redrawing gadgets
...
SVN revision: 76297
2012-09-07 11:00:25 +00:00
Mike Blumenkrantz
54ea19dc37
delete shelf objects before event to trigger gadcon sub-events
...
SVN revision: 76292
2012-09-07 10:07:09 +00:00
Mike Blumenkrantz
e0c57c8244
remove this misleading line: there is NEVER a zone here.
...
SVN revision: 76280
2012-09-07 07:08:48 +00:00
Mike Blumenkrantz
b4f5a3c614
fix up new gadcon config dialogs to crash less and work better
...
SVN revision: 76257
2012-09-06 18:26:48 +00:00
Mike Blumenkrantz
0e414444b2
add flag to gadcons to mark them as being custom gadcons, don't refresh custom gadcons completely when repopulating, fix crash which occurred when gadcon container was deleted before gadcon
...
SVN revision: 76256
2012-09-06 18:26:09 +00:00
Mike Blumenkrantz
a838447b64
some tweaks to gadget config dialog to make deletion work better in more cases
...
SVN revision: 76246
2012-09-06 14:20:52 +00:00
Mike Blumenkrantz
e4b3f66a50
allow gadcon config dialog hook to set gadcon site
...
SVN revision: 76244
2012-09-06 13:31:38 +00:00
Mike Blumenkrantz
35a9214b2f
prevent creation of multiple gadcon config dialogs
...
SVN revision: 76243
2012-09-06 13:14:48 +00:00
Mike Blumenkrantz
383e2a42d7
add generic gadcon config hook which can be used with any gadcon
...
SVN revision: 76239
2012-09-06 11:56:09 +00:00
Mike Blumenkrantz
09aecfb7a4
update gadget config advanced view to play more nicely with the basic view
...
SVN revision: 76238
2012-09-06 11:53:28 +00:00
Mike Blumenkrantz
3a3ac64542
rewrite gadcon config dialog to have an advanced view which allows deletion of non-loaded gadgets as well as adding multiple gadgets of the same type
...
SVN revision: 76237
2012-09-06 11:50:20 +00:00
Mike Blumenkrantz
c66c6babeb
add events for gadcon provider add/del
...
SVN revision: 76233
2012-09-06 09:28:53 +00:00
Mike Blumenkrantz
19b2f51f80
stringshare ilist widget item labels
...
SVN revision: 76232
2012-09-06 09:22:38 +00:00
Mike Blumenkrantz
0b9f1a9c17
add new events for gadcon clients being added/removed
...
SVN revision: 76225
2012-09-06 07:40:30 +00:00
Mike Blumenkrantz
f6e3d4b08c
allow object delfns to ref objects and defer deletion
...
SVN revision: 76222
2012-09-06 06:56:06 +00:00
Mike Blumenkrantz
fb51746799
prevent e objects from achieving a negative refcount, possible during cleanup functions
...
SVN revision: 76220
2012-09-06 06:48:53 +00:00
Mike Blumenkrantz
0fc873f1b9
revert gadcon event thingy, this causes a stupid gadman bug crash which takes more than 5 mins to fix
...
SVN revision: 76203
2012-09-05 16:47:16 +00:00
Eduardo de Barros Lima
0537308565
Add missing actions for Maximize Left/Right
...
SVN revision: 76202
2012-09-05 16:06:35 +00:00
Eduardo de Barros Lima
adac052c0a
Actually fix unmaximize left/right
...
Revert previous commit and set correct values for E_MAXIMIZE_LEFT and
E_MAXIMIZE_RIGHT to save x and w values.
SVN revision: 76201
2012-09-05 15:15:13 +00:00
Eduardo de Barros Lima
c112a36760
Fix unmaximize left/right
...
We need to save original x and width values in both cases.
SVN revision: 76200
2012-09-05 14:59:43 +00:00
Mike Blumenkrantz
0a50c49958
add events for gadcon populate/unpopulate
...
SVN revision: 76199
2012-09-05 14:17:43 +00:00
Mike Blumenkrantz
f1e4a5909f
add two new maximize modes: left and right
...
these will maximize a window to either the left or the right half of the screen, respectively
work started by etrunko in ticket #1422
SVN revision: 76198
2012-09-05 13:46:15 +00:00
Mike Blumenkrantz
bdab9a3b16
fix typo which prevented gnome-terminal from ever being run by Open Terminal Here menu item
...
EFL: we don't just hate our competition, we break support for them
SVN revision: 76182
2012-09-05 09:41:45 +00:00
Mike Blumenkrantz
4c46169e0c
allow efm directory first/last sorting to be disabled entirely, fix refresh when setting directory sorting
...
SVN revision: 76180
2012-09-05 08:51:11 +00:00
Mike Blumenkrantz
75e8629ebf
another user suggestion: efm sorting by mtime
...
SVN revision: 76164
2012-09-05 06:41:42 +00:00
Mike Blumenkrantz
1fca248c55
another user request: sorting by size in efm
...
SVN revision: 76124
2012-09-04 10:47:39 +00:00
Mike Blumenkrantz
22de6ede9b
efm extension sorting now obeys directories first/last
...
SVN revision: 76122
2012-09-04 10:37:42 +00:00
Mike Blumenkrantz
9677623402
set deleted border errors as critical
...
SVN revision: 76117
2012-09-04 09:50:42 +00:00
Mike Blumenkrantz
724f6d43d0
bump e module version after abi break yesterday
...
SVN revision: 76110
2012-09-04 07:03:42 +00:00
Mike Blumenkrantz
b45316163f
add menu function to activate currently active menu item
...
SVN revision: 76108
2012-09-04 07:01:09 +00:00
Mike Blumenkrantz
18fa14a855
add menu function for returning current active menu item
...
SVN revision: 76107
2012-09-04 06:17:38 +00:00
Mike Blumenkrantz
417fa43a16
e_dialog now tries to load passed icon buf as an edje file if util set fails
...
SVN revision: 76106
2012-09-04 06:16:55 +00:00
Mike Blumenkrantz
d16172a0df
igor was right...should localize the display name, not the internal usage
...
SVN revision: 76105
2012-09-04 05:21:41 +00:00
Mike Blumenkrantz
4e4c7b258c
some trivial changes suggested by Maxime Villard <rustyBSD@gmx.fr>
...
SVN revision: 76104
2012-09-04 05:19:49 +00:00
Mike Blumenkrantz
df9fd68281
ensure that confirm dialogs call either the yes or no function when they are closed even if a button is not pressed
...
SVN revision: 76102
2012-09-04 04:19:30 +00:00
Mike Blumenkrantz
2424eef275
formatting
...
SVN revision: 76101
2012-09-04 04:09:32 +00:00
Mike Blumenkrantz
93cc88b8b1
add efm option to sort files by extension
...
ticket #1436
SVN revision: 76014
2012-09-03 14:21:10 +00:00
Mike Blumenkrantz
a8bc4ea2eb
e_util_dialog_internal() now returns the dialog created
...
SVN revision: 76010
2012-09-03 12:51:30 +00:00
Mike Blumenkrantz
e8ea288f04
unremove non-redundant code from fsel, only select first icon on non-select
...
SVN revision: 76009
2012-09-03 12:27:50 +00:00
Mike Blumenkrantz
f384b3a1b3
localize the name of module categories so they can later be matched properly
...
SVN revision: 76008
2012-09-03 12:20:18 +00:00
Mike Blumenkrantz
c67b4ffad8
add sorting submenu to efm view menu to allow sorting to be changed on the fly
...
SVN revision: 76002
2012-09-03 12:02:00 +00:00