Commit Graph

6738 Commits

Author SHA1 Message Date
Mike Blumenkrantz 8f0aa351f8 reflow some code
SVN revision: 76536
2012-09-12 15:02:12 +00:00
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