Commit Graph

7020 Commits

Author SHA1 Message Date
Mike McCormack 90e5189ca4 e: Fix warning
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77861
2012-10-11 11:22:58 +00:00
Mike Blumenkrantz a978a17ddd efm string functions are now EAPI util functions
SVN revision: 77860
2012-10-11 10:19:03 +00:00
Mike Blumenkrantz ac722b9145 expose efm move/copy/link functions
SVN revision: 77859
2012-10-11 10:12:16 +00:00
Mike Blumenkrantz d4aabc7dbf make e_fm2_drop_menu an EAPI and further clean up drop menu code
SVN revision: 77858
2012-10-11 09:57:55 +00:00
Mike Blumenkrantz eaac4857d5 improve some extremely crufty efm dnd menu code
SVN revision: 77857
2012-10-11 09:43:54 +00:00
Mike Blumenkrantz 1e94e79e2c remove some efm symlink cruft
SVN revision: 77856
2012-10-11 09:34:53 +00:00
Mike Blumenkrantz dcc5be6e3e _e_fm2_uri_path_list_get is now e_fm2_uri_path_list_get with EAPI
SVN revision: 77855
2012-10-11 08:42:19 +00:00
Mike Blumenkrantz 2b9b6eeb79 add box function for returning the child at a point inside the box
SVN revision: 77850
2012-10-11 08:07:01 +00:00
Mike Blumenkrantz 04cc83c4e5 add menu item to enable shelf autohiding
SVN revision: 77848
2012-10-11 07:56:16 +00:00
Mike Blumenkrantz 28319d410b box also now uses inlists
SVN revision: 77847
2012-10-11 07:28:44 +00:00
Mike Blumenkrantz 3aa882684f e_box now keeps its child list by box item data, also stores item geometry to trivially reduce overhead in box reconfiguring and allow me to continue my dastardly plan of implementing ticket #1603
SVN revision: 77846
2012-10-11 06:57:23 +00:00
Mike Blumenkrantz 4e3677932a add getter for efm drop object
SVN revision: 77758
2012-10-10 12:47:04 +00:00
Mike Blumenkrantz 0bf84a49b0 fix hard to trigger threaded menu crash
SVN revision: 77755
2012-10-10 12:09:35 +00:00
Carsten Haitzler bdf8471cd5 try not do anything with screensaver interval except setting it to 0
SVN revision: 77748
2012-10-10 10:40:21 +00:00
Mike Blumenkrantz 5e4ccca27b fix e randr code to not block randr update events from other listeners and to properly delete poller on failure
SVN revision: 77739
2012-10-10 09:42:05 +00:00
Mike Blumenkrantz b8677593fc remove all LD_LIBRARY_PATH shenanigans from e17
ticket #1542


SVN revision: 77735
2012-10-10 09:27:24 +00:00
Mike Blumenkrantz e32b918e43 send xkb update event any time e_xkb_update() is called with a real value
SVN revision: 77728
2012-10-10 09:06:21 +00:00
Mike Blumenkrantz 5923846e24 remove e17 preload/precache hacks
SVN revision: 77705
2012-10-10 07:39:08 +00:00
Mike Blumenkrantz 1cdf725b70 formatting
SVN revision: 77704
2012-10-10 07:31:26 +00:00
Mike Blumenkrantz c5e5f1e5fb set config (min) limit for move/resize windows with keyboard
SVN revision: 77701
2012-10-10 07:18:03 +00:00
Mike Blumenkrantz 55899b0917 don't set border kbd move timeout timer if there's no timeout set, also ensure that kbd moving moves at least 1px when moving
ticket #1480


SVN revision: 77700
2012-10-10 07:11:29 +00:00
Sebastian Dransfeld 0a24d3194d e: remove unused variables
SVN revision: 77625
2012-10-09 08:40:14 +00:00
Sebastian Dransfeld 9b436d3c26 e: if 0 to disable code
SVN revision: 77624
2012-10-09 08:28:18 +00:00
Mike Blumenkrantz 5f4f3c2cb4 e finally remembers the module config dialog and reopens it on restart
SVN revision: 77563
2012-10-08 07:36:17 +00:00
Mike Blumenkrantz 7a3eb421ff spellcheck hooooooooooooooooooooooo
SVN revision: 77562
2012-10-08 06:59:58 +00:00
Carsten Haitzler 35773a3241 add config for disabling delayed modules. this actually drastically
speeds up e startup - but this i mean the shelf comes up instantly
populated rather than taking 2 or 3 seconds to figure its life out.



SVN revision: 77558
2012-10-07 10:01:14 +00:00
Carsten Haitzler 7bb9376863 disable sigusr1 for config dialog - thsi is actually a race cond that
never was hit before - but e's start uses a pause() to wait for init
splash to be ready and a sigusr1 is used to do the waking up.



SVN revision: 77557
2012-10-07 10:00:24 +00:00
Sebastian Dransfeld ec752e9394 e: formatting
SVN revision: 77552
2012-10-07 06:08:56 +00:00
Mike Blumenkrantz 43fb89ddb7 gadcon "Move to" menu no longer shows the gadget's current gadcon
SVN revision: 77523
2012-10-05 10:07:22 +00:00
Mike Blumenkrantz 71f57bb52d gadcon location gadget_add callbacks now have a gadcon client param so the config can be retrieved since these callbacks are (currently) only used for changing locations of gadgets
also the related gcc param in gadget_del can now have a NULL config to signify that the gadget has been moved to a new gadcon

this means that moving a gadget to a new location will no longer cause it to lose its gadget config

ticket #1594


SVN revision: 77521
2012-10-05 09:57:34 +00:00
Mike Blumenkrantz c008654175 block mouse in/out events for iconified borders to fix case where iconifying a window using the border menu would prevent it from becoming iconified
SVN revision: 77520
2012-10-05 09:17:47 +00:00
Mike Blumenkrantz 9114d0d02a blank text previews during read
ticket #1601


SVN revision: 77516
2012-10-05 09:03:27 +00:00
Mike Blumenkrantz c2077bb6c0 add desktop menu category
SVN revision: 77515
2012-10-05 09:01:45 +00:00
Christopher Michael 0d3c51e8bc And format for 80 columns again.
SVN revision: 77504
2012-10-05 06:45:05 +00:00
Mike Blumenkrantz 46702481d6 simplify worst case shelf visibility check
SVN revision: 77503
2012-10-05 06:44:53 +00:00
Mike Blumenkrantz 832be52b04 check for shelf visibility on init before showing
ticket #1595


SVN revision: 77502
2012-10-05 06:43:44 +00:00
Mike Blumenkrantz f90abcdf4b add util function for returning current container without needing to pass manager
SVN revision: 77501
2012-10-05 06:43:13 +00:00
Mike Blumenkrantz 615f2e9137 use list handler macro
SVN revision: 77500
2012-10-05 06:36:00 +00:00
Christopher Michael 551d84d4aa Format for 80 columns.
SVN revision: 77497
2012-10-05 06:04:34 +00:00
Sebastian Dransfeld 80b0b615b8 e: Cleanup
Fixes potential invalid memory reads.

Patch by Igor Murzov

SVN revision: 77491
2012-10-04 23:27:01 +00:00
Sebastian Dransfeld 427b6c34df e: Cleanup
Removes unused variables, drops duplicate return or break
     statements and drops unnecessary checks.

Patch by Igor Murzov

SVN revision: 77490
2012-10-04 23:26:48 +00:00
Mike Blumenkrantz 0ec2181291 also set icon for single click menu item
SVN revision: 77437
2012-10-04 13:09:14 +00:00
Mike Blumenkrantz 6abb7dee36 set icon for secure delete menu item
SVN revision: 77436
2012-10-04 13:07:14 +00:00
Mike Blumenkrantz 62ac047ebe add menu option to enable/disable secure deletion in efm when global setting is not enabled
SVN revision: 77435
2012-10-04 13:04:50 +00:00
Mike Blumenkrantz c310836bb3 add gui option for secure deletion in efm
SVN revision: 77434
2012-10-04 12:58:18 +00:00
Mike Blumenkrantz c88eda533f and the gettext
SVN revision: 77430
2012-10-04 11:52:30 +00:00
Mike Blumenkrantz 9683a3565d format string whoops
SVN revision: 77428
2012-10-04 11:50:15 +00:00
Mike Blumenkrantz b0df4fc70f move shelf visible detection code from e_desk to e_shelf
SVN revision: 77416
2012-10-04 09:53:52 +00:00
Mike Blumenkrantz ae68c2d7a9 when loading a .desktop file with fprev which is a link but NOT a link to removable media, set the link target as the new file to be previewed and update (fixes previews of .desktop files pointing to directories)
SVN revision: 77414
2012-10-04 09:15:22 +00:00
Mike Blumenkrantz 641e1f92fc fix magic fail with remember idler
SVN revision: 77413
2012-10-04 09:13:48 +00:00
Mike Blumenkrantz d2714fd77f show desktop filename in icon selection dialog
ticket #1237


SVN revision: 77411
2012-10-04 08:43:50 +00:00
Mike Blumenkrantz 4f4e5c2daa remember window restore cb is now an idler so we don't get a giant block of time where we're restoring dialogs without the user being able to do anything
SVN revision: 77410
2012-10-04 08:31:35 +00:00
Mike Blumenkrantz bdd879e7fc add new flag for preventing a window from being opened on restart by its remember, apply this to both the desktop editor and shelf config dialogs
SVN revision: 77407
2012-10-04 08:11:51 +00:00
Mike Blumenkrantz 282ac0777e fix filepreview when reusing same fprev and switching between txt and dir
SVN revision: 77406
2012-10-04 07:23:38 +00:00
Gustavo Sverzut Barbieri f683812053 fm preview: fix alignment and formatting string.
SVN revision: 77383
2012-10-03 18:40:59 +00:00
Mike Blumenkrantz 491c50d8a5 filepreview now does a partial preview of text files and shell scripts
SVN revision: 77370
2012-10-03 14:21:02 +00:00
Mike Blumenkrantz 0521c799fa next/prev xkb layout switch actions now properly set the current/selected kbd layout name
SVN revision: 77369
2012-10-03 13:46:11 +00:00
Mike Blumenkrantz 3a6943ce26 hide some file preview lines for directories
ticket #1585


SVN revision: 77366
2012-10-03 12:01:05 +00:00
Sebastian Dransfeld d9a641020c E: remove duplicate variable setting
It is set to 1 again just below.

SVN revision: 77365
2012-10-03 11:54:03 +00:00
Mike Blumenkrantz 42ff355bde use printf for this macro so we don't get log domain failures
SVN revision: 77364
2012-10-03 11:43:26 +00:00
Sebastian Dransfeld cf35adade9 E: Fix window hide
The idea of not deleting the borders of unmapped windows started with
r12777 to fix problems when changing virtual desktops. A lot of stuff
was added later to fix this problem, but this original fix has lived on.

When hunting down a mplayer bug raster commented in r14744:
"we need to re-enable the above. when clients hide windows they often
dont destory - keep around to do somethign else with. if we dont unmanage
then we have all sorts of problems believeing it still exists. bigger
problems than mplayer. :)"

So I guess the right thing to do is to destroy the borders of hidden
windows, fixes #917

SVN revision: 77363
2012-10-03 11:40:14 +00:00
Mike Blumenkrantz ac67283ec2 fix stringshare usage
SVN revision: 77360
2012-10-03 09:44:12 +00:00
Mike Blumenkrantz 3bf711b529 block going to parent directory on desktop using backspace key when desktop navigation is not enabled
SVN revision: 77359
2012-10-03 09:41:10 +00:00
Mike Blumenkrantz acdf03fecd this fixme isn't going to happen and our typebufs don't work like this
SVN revision: 77358
2012-10-03 09:23:12 +00:00
Mike Blumenkrantz 817bec21b1 prevent DND for systray gadgets in all cases
SVN revision: 77357
2012-10-03 09:19:26 +00:00
Mike Blumenkrantz b247496406 ton of xkb fixes:
* e will no longer lose your currently selected layout on restart
* desklock layout switching now works real güd
* new e_config values to determine current and current user-selected kbd layout
* wasted my entire morning doing this

ticket #1538



SVN revision: 77356
2012-10-03 09:00:12 +00:00
Stefan Schmidt 07d8a49d00 e17: Fix memory corruption in e_remember.
Inspired by Daniels ecore mem corruption patch I fixed our coccinelle support
scripts. This one was found by bad-alloc.cocci for example.

SVN revision: 77353
2012-10-03 08:45:40 +00:00
Sebastian Dransfeld cd7260094e e: remove trailing whitespace
SVN revision: 77350
2012-10-03 08:03:50 +00:00
Sebastian Dransfeld 6b479fae34 e: No need for was_fullscreen anymore
Fixed the issue with unfullscreen on desk change, and fullscreen on
focus is confusing.

SVN revision: 77349
2012-10-03 08:03:39 +00:00
Sebastian Dransfeld 5c97097053 e: Move variables to correct scope
SVN revision: 77348
2012-10-03 08:03:28 +00:00
Sebastian Dransfeld 32dc338e1a e: move check for border on desk
We only want to check if the border is on desk to handle
allow_above_fullscreen so move check here. Other code should always be
executed.

SVN revision: 77347
2012-10-03 08:03:17 +00:00
Sebastian Dransfeld 7cc4d1e501 e: Check allow_above_fullscreen earlier
SVN revision: 77346
2012-10-03 08:02:35 +00:00
Mike Blumenkrantz 4f93b748ac add max thumbnail size setting back, improve fileman config slider unit display
SVN revision: 77343
2012-10-03 06:41:32 +00:00
Mike Blumenkrantz f5dd030696 patch from rustyBSD fixing file moving to other devices
ticket #1581


SVN revision: 77342
2012-10-03 06:27:40 +00:00
Mike Blumenkrantz bec99c1d87 straggler from last commit
SVN revision: 77325
2012-10-02 14:04:38 +00:00
Mike Blumenkrantz 7aaa4e554c add another tab in desklock config to allow changing keyboard layout on desklock. EXPERIMENTAL!
ticket #1538


SVN revision: 77324
2012-10-02 14:04:04 +00:00
Sebastian Dransfeld e14715ca32 E: Adjust fullscreen layers
Always set fullscreen on top in presentation mode, ignore
allow_above_fullscreen.
Honour allow_above_fullscreen on mode change.

SVN revision: 77323
2012-10-02 13:11:46 +00:00
Sebastian Dransfeld 23c2d4ad14 e: Honour mode presentation on fullscreen set
SVN revision: 77322
2012-10-02 13:02:43 +00:00
Mike Blumenkrantz bb5380c3da add new language config dialog for setting a desklock language (NOT keyboard layout)
part of ticket #1538


SVN revision: 77321
2012-10-02 13:00:25 +00:00
Sebastian Dransfeld beb76614ac e: Adjust fullscreen stacking
Allow popups above fullscreen, unless presentation mode is set.

SVN revision: 77317
2012-10-02 12:53:38 +00:00
Mike Blumenkrantz 74909a465b formatting
SVN revision: 77313
2012-10-02 12:14:53 +00:00
Mike Blumenkrantz 42c7aa5975 avoid setting xkb variant as ',', just set as '' instead
SVN revision: 77311
2012-10-02 12:12:03 +00:00
Sebastian Dransfeld 4735da0b0c E: Revert change in layer to pos map
Seems there is a lot of code which is connected to the current mapping,
and no need to create a lot of fuzz because of one unused layer.

SVN revision: 77309
2012-10-02 12:02:02 +00:00
Mike Blumenkrantz 591a74834d video preview slider is now fully functional, and non-tooltip file previews for videos allow use of the slider to change position at any time
SVN revision: 77308
2012-10-02 11:53:00 +00:00
Mike Blumenkrantz 1b398f6a0c fix video preview slider position setting, still broken with at least ogv files
SVN revision: 77305
2012-10-02 11:46:03 +00:00
Mike Blumenkrantz 6cd52da692 only try to get resolution for thumbnails if the file is actually a loadable image
ticket #1582


SVN revision: 77301
2012-10-02 10:57:12 +00:00
Sebastian Dransfeld 744ec42648 e: Fix off by one.
pos can be 10, and we access window in pos + 1 == 11

SVN revision: 77300
2012-10-02 10:52:50 +00:00
Mike Blumenkrantz b262da0198 add video size to tooltip, fix video tooltip geometry, add a (broken because of ticket #1587) slider to show the current playback progress of the current video
SVN revision: 77299
2012-10-02 10:34:48 +00:00
Mike Blumenkrantz 9971b20cdb tweak video preview layout and attempt to set video length; currently broken because of ticket #1587
SVN revision: 77296
2012-10-02 10:03:53 +00:00
Sebastian Dransfeld 5969b88a6a e: cleanup env var setting
Return early if there is nothing to append/prepend.
Only add ':' if there are two elements to join.

SVN revision: 77295
2012-10-02 09:26:30 +00:00
Sebastian Dransfeld 436323bf59 e: cleanup layer handling
It seems people put random numbers as layers, so it is better to define
available layer numbers.

This patch also puts popups below fullscreen windows, as it sucks to get
popups during presentations. A better solution is maybe to put popups
above fullscreen, but have a presentation mode to put fullscreen windows
above popups?

SVN revision: 77293
2012-10-02 08:54:35 +00:00
Mike Blumenkrantz 2c950e2441 fix efm even/odd theming in directories with lots of files
ticket #1579


SVN revision: 77286
2012-10-02 08:31:09 +00:00
Mike Blumenkrantz 93d3c5f598 use correct format string here too
SVN revision: 77285
2012-10-02 08:05:47 +00:00
Mike Blumenkrantz ec28b54c4d greatly improve efm performance when loading large directories by reducing offscreen icon scan rate
SVN revision: 77284
2012-10-02 08:00:19 +00:00
Sebastian Dransfeld f2ac4219af e: correct layer for edge windows
Need a layer above fullscreen if fullscreen flip is to be able to work.

SVN revision: 77283
2012-10-02 07:23:27 +00:00
Mike Blumenkrantz 54d1715e58 debug printf--
SVN revision: 77272
2012-10-01 14:07:37 +00:00
Mike Blumenkrantz 4c09bb330f yet another gadget overhaul, this time fixing:
* gadget dragging over windows (ticket #1563)
* gadget dragging/resizing on the hover layer
* yet another gadget refcount bug
* lots of annoying inconsistencies when dragging around new desktop gadgets


SVN revision: 77271
2012-10-01 14:02:24 +00:00
Mike Blumenkrantz 45a916177f fix crash in e bindings from not using safe list iterator
SVN revision: 77268
2012-10-01 13:14:31 +00:00
Sebastian Dransfeld f2b9c969af e: Fix fullscreen and focus
iconifying fullscreen windows during focus change seems to be a bad
idea, as it triggers new focus events.

- Make window fullscreen
- Alt+Tab to new window
- Alt+Tab back
-> Window is still iconified
Can only get fullscreen window back by doing uniconify

Also switching desktops will result in a iconified window which the user
must hunt down (ticket #1550).

This should fix those issues.

SVN revision: 77259
2012-10-01 10:15:09 +00:00
Mike Blumenkrantz 8a7477d9a8 reflow some code
SVN revision: 77254
2012-10-01 08:54:36 +00:00