Commit Graph

6736 Commits

Author SHA1 Message Date
Mike Blumenkrantz dd83f4a7d1 ensure that event mask is unset on parents of modal windows before applying previous mask
SVN revision: 75365
2012-08-17 08:00:46 +00:00
Carsten Haitzler 74df9a238b make invisible shelves work again... and actually fi the longer
standing bug of them not chanigng until a restart



SVN revision: 75339
2012-08-17 00:25:37 +00:00
Carsten Haitzler 07d131db85 fix atoms for zone geom. yay! works now.
SVN revision: 75316
2012-08-16 10:24:06 +00:00
Carsten Haitzler 7a5d5b5fa4 add zone geometry property to windows and keep it updated.
SVN revision: 75310
2012-08-16 09:29:42 +00:00
Carsten Haitzler 1edee7df77 make enlightenment_open use the same terminals config as e and sync
the code.



SVN revision: 75301
2012-08-16 03:36:50 +00:00
Carsten Haitzler 6efc2eb976 abstract the "get terminal desktop" code into util code and now use
from e_exec AND in efm - open terminal here menu item is there with
code to set your default terminal in default applications too.



SVN revision: 75290
2012-08-15 09:59:37 +00:00
Carsten Haitzler bd1e81be80 umm lets use xrandr first/ it SHOULD be better than going to /sys as a
primary backlight control.



SVN revision: 75288
2012-08-15 09:31:10 +00:00
Mike Blumenkrantz 3433a78ba2 gadcon util menu thingy now sets created menu to appropriate struct members to prevent unexpected behavior
SVN revision: 75282
2012-08-15 06:35:02 +00:00
Mike Blumenkrantz 8da7dd34b1 probably a good idea to actually delete menus when they hide instead of just praying for it
indirectly fixes ticket #1287


SVN revision: 75256
2012-08-14 12:39:19 +00:00
Mike Blumenkrantz b2ef5f76b1 avoid emitting shelf signals and toggling visibility constantly when shelf is already visible
SVN revision: 75253
2012-08-14 12:22:12 +00:00
Mike Blumenkrantz 75b991a76c shelf style is now properly applied during creation
SVN revision: 75246
2012-08-14 09:11:47 +00:00
Mike Blumenkrantz e9cb0d2085 gadget provider list is now sorted alphabetically
SVN revision: 75201
2012-08-13 09:51:50 +00:00
Mike Blumenkrantz 6cb077ac45 formatting
SVN revision: 75187
2012-08-13 06:51:24 +00:00
Carsten Haitzler 9924cc8a78 printf--
SVN revision: 75157
2012-08-11 12:18:39 +00:00
Christopher Michael c02739d6c0 E: Fix uninitialized variable warning.
SVN revision: 75112
2012-08-10 16:00:38 +00:00
Mike Blumenkrantz 95d0aa8d0b use animation hint to disable bg animation when setting a bg
SVN revision: 75096
2012-08-10 10:54:29 +00:00
Mike Blumenkrantz 63fcb74610 move animation hint into bg group so we can use a better codepath to check it
SVN revision: 75093
2012-08-10 10:49:56 +00:00
Mike Blumenkrantz f697879b23 add a hint in import config edj creation for disabling animation
SVN revision: 75092
2012-08-10 10:42:43 +00:00
Mike Blumenkrantz 163f21d4b5 don't need to close and reopen a file in import config dialog
SVN revision: 75087
2012-08-10 10:34:19 +00:00
Mike Blumenkrantz b4fdb00c96 use strdupa in import config dialog
SVN revision: 75085
2012-08-10 10:29:44 +00:00
Mike Blumenkrantz 2b9279ba81 convert some ints to size_t in e_sys_main
suggestion by rustyBSD@gmx.fr


SVN revision: 75084
2012-08-10 10:14:23 +00:00
Mike Blumenkrantz 45a7a3e283 fix shadow warnings
patch by rustyBSD@gmx.fr


SVN revision: 75083
2012-08-10 10:11:34 +00:00
Mike Blumenkrantz 74594f4c6d also hook dialog delete in entry dialog
SVN revision: 75081
2012-08-10 10:06:51 +00:00
Mike Blumenkrantz ffac12a5e1 forgot to hook dialog deletes in new import dialogs which led to a crash when keybinds were used. fix!
SVN revision: 75078
2012-08-10 09:53:11 +00:00
Mike Blumenkrantz 97faa73719 modal windows now properly block events on their parent windows
SVN revision: 75073
2012-08-10 08:59:05 +00:00
Mike Blumenkrantz 968fda6d06 formatting
SVN revision: 75070
2012-08-10 07:55:59 +00:00
Mike Blumenkrantz edf4cfa5da add case for net wm state change fetch flag to be set
SVN revision: 75069
2012-08-10 07:48:01 +00:00
Mike Blumenkrantz c0790f7d55 fix case of reparenting window where properties are just being set and window is not actually being reparented
SVN revision: 75068
2012-08-10 07:47:26 +00:00
Mike Blumenkrantz e3e11778fa wait till after module init is over before drawing gadgets so we can draw them all at once, also don't need to bind to frametime anymore with this
SVN revision: 75067
2012-08-10 07:02:02 +00:00
Mike Blumenkrantz 3c2e02bf8b prevent module init end event from getting canceled here
SVN revision: 75066
2012-08-10 06:55:41 +00:00
Carsten Haitzler e5b196862d fix shelf "fixups" on zone add/del.
SVN revision: 75064
2012-08-10 05:54:30 +00:00
Mike Blumenkrantz f6af7bd8d2 remove all traces of old and unused bg import dialog. whoever put a separate import dialog into e_utils.c, and the person who committed r44556 with the id "barbieri" on 2009-12-18 shall indeed remain nameless, decided to leave the other one hanging around. as a result, the one that he copied from the original sat around without being modified, and now ended up being removed instead of being properly integrated
SVN revision: 75052
2012-08-09 13:58:51 +00:00
Mike Blumenkrantz c8087e9533 set import config as child of import dialog; e_border bug pending with herohorns before this works properly again
SVN revision: 75050
2012-08-09 13:26:21 +00:00
Mike Blumenkrantz d2d10a05ab add dialog helper function to set modal/transientfor on windows
SVN revision: 75049
2012-08-09 13:25:43 +00:00
Mike Blumenkrantz 142b11e6f0 grab escape key for dialogs for closing them
SVN revision: 75048
2012-08-09 13:18:15 +00:00
Mike Blumenkrantz 5e1e915578 break out wallpaper import dialog and import settings dialog into separate dialogs usable outside the wallpaper widget, also clean up this code
SVN revision: 75047
2012-08-09 12:57:06 +00:00
Mike Blumenkrantz 0689758ce0 call changed when radio changes
SVN revision: 75043
2012-08-09 12:03:16 +00:00
Mike Blumenkrantz b9877f6ac1 formatting
SVN revision: 75042
2012-08-09 11:57:00 +00:00
Mike Blumenkrantz 361376a48b typedef for E_Dialog_Cb
SVN revision: 75036
2012-08-09 09:21:59 +00:00
Mike Blumenkrantz f8eff99bf8 Dear all.
I found the bug which may occurs enlightenment crash.
 There is code to insert E_Gadcon pointer to custom_populate_requests list in e_gadcon_custom_new(). However, there is no code to remove deleted E_Gadcon pointer from custom_populate_requests list in e_gadcon_custom_del(). So, if the e_gadcon_custom_del() is called before calling _e_gadcon_custom_populate_idler(), then enlightenment crash may occurs while e calls _e_gadcon_custom_populate_idler() because e accesses deleted E_Gadcon pointer.
 I modified this problem. Please review this patch.

 Thanks.
 --
 Doyoun Kang


SVN revision: 75033
2012-08-09 08:25:41 +00:00
Mike Blumenkrantz 934caf9241 fix min sizing (height) of fsel
SVN revision: 75029
2012-08-09 07:00:37 +00:00
Mike Blumenkrantz 5c9aeaaa47 fsel now properly selects the first file in a directory on directory load/change
SVN revision: 75017
2012-08-08 12:32:31 +00:00
Mike Blumenkrantz ac28718562 add function for counting number of selected files
SVN revision: 75016
2012-08-08 12:29:16 +00:00
Mike Blumenkrantz e58efabc1e filepreview directory previews now allow navigation, disable click rename in filepreview and fsel
SVN revision: 75015
2012-08-08 12:21:33 +00:00
Mike Blumenkrantz 8ab4a302b4 disable view menu in fsel, this looked terrible anyway
SVN revision: 75014
2012-08-08 11:58:09 +00:00
Mike Blumenkrantz 6ea8835011 disable click renaming in theme, wallpaper, desklock wallpaper, and fwin sidebar file lists
SVN revision: 75013
2012-08-08 11:55:50 +00:00
Mike Blumenkrantz d2b8ccd61a add efm option to disable click renaming
SVN revision: 75012
2012-08-08 11:55:10 +00:00
Mike Blumenkrantz 903408f4d4 add flist function to get config
SVN revision: 75011
2012-08-08 11:50:57 +00:00
Mike Blumenkrantz fe2cfa7e0c ilist now supports disabled state, though it does not indicate this visually yet
SVN revision: 75007
2012-08-08 10:27:51 +00:00
Mike Blumenkrantz 3997046ea2 add function to change valptr on check widget
SVN revision: 75001
2012-08-08 09:20:45 +00:00
Carsten Haitzler 7713bd830f fix flash fullscreening to stay above shelf.
SVN revision: 75000
2012-08-08 09:07:58 +00:00
Mike Blumenkrantz b1c5983d72 revert some changes to e font that broke things; the hunt for #1284 begins
SVN revision: 74998
2012-08-08 08:33:33 +00:00
Mike Blumenkrantz cd9c7ee8dc ensure that title clicking an icon to rename only causes the rename if no other icons are clicked/selected
SVN revision: 74995
2012-08-08 06:59:06 +00:00
Mike Blumenkrantz 8fecf57e7e fix up mapping change hacks, not sure what I was thinking here
SVN revision: 74994
2012-08-08 06:35:42 +00:00
Carsten Haitzler a3df76badf limit menus to 2048x2048 due to them now being abused for filemanager...
SVN revision: 74992
2012-08-08 06:15:49 +00:00
Carsten Haitzler 3f1c68dbd0 tile not title!
:)



SVN revision: 74991
2012-08-08 06:09:50 +00:00
Mike Blumenkrantz e0eaec35c8 ensure entry dialogs open with text selected
SVN revision: 74985
2012-08-07 14:01:52 +00:00
Mike Blumenkrantz c41e7c24ba ensure dialog recalcs when content is set
SVN revision: 74984
2012-08-07 14:00:37 +00:00
Mike Blumenkrantz 6e9de5d01f add rename option to shelf right click menu, also externally accessible function to pop this dialog
SVN revision: 74976
2012-08-07 10:48:47 +00:00
Carsten Haitzler 7c987dcd1f use zome num, not id so we all acree on zome num now... not id... :)
SVN revision: 74975
2012-08-07 10:47:55 +00:00
Mike Blumenkrantz 7623fa4de0 add new functions for renaming a shelf/gadcon in the process of hunting #1286
SVN revision: 74973
2012-08-07 10:28:28 +00:00
Carsten Haitzler 0eb043e8bf A -> a
SVN revision: 74971
2012-08-07 10:24:36 +00:00
Mike Blumenkrantz 3b748e94c5 prevent all renaming when the icon menu flag is set to disable it
SVN revision: 74967
2012-08-07 08:56:03 +00:00
Mike Blumenkrantz ce76c249b8 efm now allows renaming by clicking an icon's label
SVN revision: 74963
2012-08-07 08:18:59 +00:00
Mike Blumenkrantz 6790e78bb7 fix possible crashes when going to parent directory, also fix case where attempting to go to parent directory from root would throw an error dialog
SVN revision: 74961
2012-08-07 06:59:37 +00:00
Mike Blumenkrantz c2b7cdb16c ensure that application properties is not shown for any file beginning with |
SVN revision: 74944
2012-08-06 14:11:39 +00:00
Mike Blumenkrantz f8430f2af9 don't show Application Properties menu item for removable media links
SVN revision: 74943
2012-08-06 14:09:53 +00:00
Mike Blumenkrantz 05b70797b9 rearrange separators in icon right click menu
SVN revision: 74942
2012-08-06 14:05:31 +00:00
Mike Blumenkrantz 388e9e2786 move 'new directory' to a submenu which will eventually be populated by related items
SVN revision: 74940
2012-08-06 13:58:20 +00:00
Mike Blumenkrantz 4af7a2e439 inherit parent settings -> submenu
SVN revision: 74939
2012-08-06 13:50:07 +00:00
Mike Blumenkrantz 7af4aee424 efm menus are gettin a little big, time to start condensing.
menu toggles -> Options submenu


SVN revision: 74937
2012-08-06 13:38:15 +00:00
Mike Blumenkrantz 33e2593878 ensure keyboard remapping is always enabled on startup
SVN revision: 74923
2012-08-06 10:52:03 +00:00
Mike Blumenkrantz 3edadaf65e warn--
SVN revision: 74922
2012-08-06 10:45:02 +00:00
Mike Blumenkrantz 21df8f0a2f add an amazing hack which, when a vmware player window is opened, disables keyboard remapping until the window is closed. this is stupid, but seems to be the only way to keep it from breaking keymaps on some setups
ticket #1057


SVN revision: 74919
2012-08-06 10:21:41 +00:00
Mike Blumenkrantz b54be9093a another efm crash--
SVN revision: 74917
2012-08-06 09:34:27 +00:00
Mike Blumenkrantz 160c91873b ensure directory still exists when setting parent on unmount
SVN revision: 74915
2012-08-06 09:12:45 +00:00
Mike Blumenkrantz 0b1cb03a25 prevent crash when realpath is null from setting a mount
SVN revision: 74912
2012-08-06 08:55:28 +00:00
Mike Blumenkrantz f20c591e7b focus dbus action also raises window where necessary
ticket #1277


SVN revision: 74911
2012-08-06 08:51:54 +00:00
Mike Blumenkrantz 7c004097f6 unbreak menus again
SVN revision: 74910
2012-08-06 08:39:39 +00:00
Mike Blumenkrantz b270841119 revert all menu idler work: it greatly improved responsiveness but had too many corner cases where things look weird, so I guess we can all just deal with slow menus
note: this mainly affects the Files submenus


SVN revision: 74906
2012-08-06 08:16:14 +00:00
Mike Blumenkrantz e878d1840f revert temp efm path resolution fix from the weekend, also fix mounting in a number of cases
SVN revision: 74905
2012-08-06 07:45:51 +00:00
Mike Blumenkrantz 734ecb4dbb safeties for eeze mounting
SVN revision: 74904
2012-08-06 07:43:49 +00:00
Mike Blumenkrantz bc2ac60f1f add stringshare volume finding function
SVN revision: 74901
2012-08-06 07:17:04 +00:00
Mike Blumenkrantz 8ad9126253 don't need to care if eeze doesn't find a device serial
SVN revision: 74899
2012-08-06 07:02:31 +00:00
Chidambar Zinnoury b196e15bed e fm prop: follow relative symbolic links before tagging them broken.
SVN revision: 74881
2012-08-05 08:55:59 +00:00
Mike Blumenkrantz ece66f0750 toolbar function to return count of toolbar items
SVN revision: 74877
2012-08-04 10:13:14 +00:00
Mike Blumenkrantz ab46fd58c1 also print out dev/path for debugging in previous commit
SVN revision: 74876
2012-08-04 08:47:52 +00:00
Mike Blumenkrantz 735b02c419 pop error dialog when efm fails to resolve a path instead of crashing
SVN revision: 74875
2012-08-04 08:46:57 +00:00
Mike Blumenkrantz cba00ee07f don't reposition menu in idler if it's a submenu
SVN revision: 74874
2012-08-04 08:33:21 +00:00
Mike Blumenkrantz 03a92c1ad9 disable menu idler drawing behavior when compositing to prevent slowdown from pixmap resizing
reduce e menu object resize count to 2: an initial guestimate extrapolated from first-drawn menu item sizes, then the final resize at the end once all the items are actually drawn
this should dramatically improve performance (again) and eliminate the "animation" that some users were seeing over the past couple days, which was really just the idler resizing the menu as it drew the items. now we populate the items on the idler without resizing the menu until the very end, which should produce the intended effect of "populating" the menu for very large/slow menus
lastly, there's still a fun positioning bug that I'm hunting down which will (rarely) make VERY large menus jump around a bit. it's very unlikely that anyone will spot this before I have fixed it


SVN revision: 74873
2012-08-04 08:20:01 +00:00
Lucas De Marchi 8545b94e9e e: Add missing const to gadcon client class
SVN revision: 74871
2012-08-04 05:21:56 +00:00
Mike Blumenkrantz acafdd5077 add hacks for e_widget_toolbar_items_get() and e_widget_toolbar_item_label_get()
SVN revision: 74864
2012-08-03 18:47:20 +00:00
Mike Blumenkrantz 8b70cf59a7 clicking Settings (the submenu) in the main menu now brings up the settings panel
SVN revision: 74863
2012-08-03 18:17:20 +00:00
Mike Blumenkrantz a2a0c31062 prefer actual image previews over mime icons
SVN revision: 74862
2012-08-03 18:10:23 +00:00
Mike Blumenkrantz 5c7662a0ed fix efm icon loading for cases where the theme does not define mime icons
SVN revision: 74861
2012-08-03 18:05:25 +00:00
Mike Blumenkrantz 7ba11ee2c1 fix longstanding focus bug where root window would incorrectly receive focus
WE DON'T EVEN DO THAT


SVN revision: 74851
2012-08-03 14:21:48 +00:00
Mike Blumenkrantz 60ad9ed93e formatting
SVN revision: 74850
2012-08-03 14:02:14 +00:00
Mike Blumenkrantz eb6de9e2a4 formatting
SVN revision: 74849
2012-08-03 13:56:14 +00:00
Mike Blumenkrantz 4767c70921 ensure typebuf timer gets deleted to prevent crashes
SVN revision: 74843
2012-08-03 11:12:23 +00:00
Mike Blumenkrantz dcc999599e efm config now has the no_typebuf_set option to disable typebuf directory changing
SVN revision: 74842
2012-08-03 11:00:58 +00:00
Mike Blumenkrantz 418ff1255b clear efm typebuf when something gets clicked, add external function for manually clearing typebuf
SVN revision: 74837
2012-08-03 10:32:12 +00:00
Mike Blumenkrantz ade7d802eb only change efm selection when using typebuf if the selection actually needs to be changed; fixes flickering and constant selection callbacks
SVN revision: 74836
2012-08-03 10:14:37 +00:00
Mike Blumenkrantz b8f439175e new event for remember updates
SVN revision: 74833
2012-08-03 09:38:09 +00:00
Mike Blumenkrantz dc215affc4 formatting
SVN revision: 74829
2012-08-03 09:17:30 +00:00
Mike Blumenkrantz 652422bce6 adding/deleting submenu item after menu item exists now properly updates the realized item
this should fix misleading items in the Files menu


SVN revision: 74828
2012-08-03 09:11:15 +00:00
Mike Blumenkrantz 370614345e force menu to always draw some items during idler, also greatly improve menu positioning
SVN revision: 74822
2012-08-03 08:33:57 +00:00
Mike Blumenkrantz f5c44485a8 some more eeze mounting cleanups
SVN revision: 74812
2012-08-02 16:55:47 +00:00
Mike Blumenkrantz 2f880d7c7c don't need to check alloca result
SVN revision: 74811
2012-08-02 16:26:05 +00:00
Mike Blumenkrantz 1044ea8316 warn--
SVN revision: 74810
2012-08-02 16:25:53 +00:00
Mike Blumenkrantz 65433e79ee add extra check for volumes to avoid skipping ones we really want, also fix shadow warning
SVN revision: 74806
2012-08-02 14:57:05 +00:00
Mike Blumenkrantz 542d302108 e_fm2_parent_go() and e_fm2_has_parent_get() now behave as expected
ticket #1243


SVN revision: 74805
2012-08-02 12:25:58 +00:00
Mike Blumenkrantz a162da52bb fix efm list scrolling
ticket #1120


SVN revision: 74802
2012-08-02 11:58:33 +00:00
Mike Blumenkrantz 5c8525d1c9 efm now properly obeys link_drop in all cases, not just list view
SVN revision: 74799
2012-08-02 10:27:36 +00:00
Mike Blumenkrantz fe1033edb4 not sure what I was thinking here, too early in the morning I guess. redundancy--
SVN revision: 74797
2012-08-02 10:20:30 +00:00
Mike Blumenkrantz c47ea3ce2c autocreate favorites in thread on startup and any time they're deleted
SVN revision: 74794
2012-08-02 08:18:33 +00:00
Mike Blumenkrantz 2593a1c020 ensure favorites directory is always created
SVN revision: 74791
2012-08-02 08:03:13 +00:00
Mike Blumenkrantz 90e15a8678 move favorites setup code to efm
SVN revision: 74788
2012-08-02 07:55:41 +00:00
Mike Blumenkrantz 031fc80e2f clean up my earlier gadcon/menu idler work to be functional, thanks to jeffdameth for pointing it out
SVN revision: 74786
2012-08-02 07:20:51 +00:00
Mike Blumenkrantz 793145f2aa pointers are fixed now so getting data is safe again
SVN revision: 74783
2012-08-02 07:05:36 +00:00
Mike Blumenkrantz 98284d14da fix eject arg parsing
SVN revision: 74782
2012-08-02 06:58:41 +00:00
Mike Blumenkrantz eb9dca9177 null check from rustyBSD
SVN revision: 74777
2012-08-02 06:31:50 +00:00
Carsten Haitzler 9a35b4779b unfortuntely.. i have to revert the revert to my revert... as
xsettings is still broken immediately after login and stays broken
until u restart e. :(



SVN revision: 74772
2012-08-02 03:36:51 +00:00
Mike Blumenkrantz b8cdf23f62 only create desktop paths when actually desktop directories
SVN revision: 74735
2012-08-01 12:29:18 +00:00
Mike Blumenkrantz 06b18f44c8 fix path resolution for desktop device which was broken while fixing path resolution for desktop device which was broken while fixing path resolution for desktop device
SVN revision: 74734
2012-08-01 12:28:14 +00:00
Mike Blumenkrantz 05fd34c8bd fix efm dnd when filemanager widget is not positioned at 0,0, an icon's statinfo is now based on its source in case of link and desktop files, allow dnd onto link/desktop files as though they were the actual directory
SVN revision: 74729
2012-08-01 11:51:49 +00:00
Mike Blumenkrantz 7d4c5d556b should probably init eio at some point...
SVN revision: 74727
2012-08-01 11:34:06 +00:00
Carsten Haitzler b836353ae8 patch from rustyBSD.
SVN revision: 74725
2012-08-01 09:33:01 +00:00
Mike Blumenkrantz 2dd460106c remove old/deprecated non-async file listing
SVN revision: 74724
2012-08-01 09:05:35 +00:00
Carsten Haitzler 12d1de00e1 clean up whole bunch of potential memory errors in e_fm.c
SVN revision: 74723
2012-08-01 09:00:22 +00:00
Mike Blumenkrantz 821f1f4a6d add debug printf to help with hunting #1057
SVN revision: 74722
2012-08-01 08:55:51 +00:00
Mike Blumenkrantz 1280fd2364 fix efm dnd with list view
SVN revision: 74720
2012-08-01 08:49:04 +00:00
Mike Blumenkrantz 837e220d75 also optimize _e_fm2_icon_first_selected_find
SVN revision: 74718
2012-08-01 08:03:37 +00:00
Mike Blumenkrantz 10580953e4 optimize _e_fm2_icon_desel_any()
SVN revision: 74717
2012-08-01 08:01:38 +00:00
Mike Blumenkrantz 810b9282f5 add function for deselecting all selected icons in fm object
SVN revision: 74716
2012-08-01 08:00:21 +00:00
Mike Blumenkrantz 73728b0262 e widget focus stealing should respect can_focus = false
SVN revision: 74714
2012-08-01 07:49:55 +00:00
Mike Blumenkrantz 51ce8b4519 menus now realize their items using idlers to improve responsiveness when loading large/complex menus
SVN revision: 74713
2012-08-01 07:08:06 +00:00
Mike Blumenkrantz 506b9ad8e6 whoops forgot this was a list of icons, not icon infos. unbreak!
SVN revision: 74654
2012-07-31 13:18:24 +00:00
Mike Blumenkrantz 89cdac7771 simplify e_fm2_selected_list_get
SVN revision: 74653
2012-07-31 13:09:05 +00:00
Mike Blumenkrantz 5488f9f047 when deleting an icon, we want to remove it from the selected list -- not add it
SVN revision: 74652
2012-07-31 13:07:54 +00:00
Carsten Haitzler bc3741963e and fix my desktop folder fix.. to not make Desktop- :)
SVN revision: 74645
2012-07-31 11:07:33 +00:00
Mike Blumenkrantz 68b11c3a2c fix manual xsettings selection
SVN revision: 74636
2012-07-31 10:22:35 +00:00
Mike Blumenkrantz 428b9a138a revert xsettings reverts
SVN revision: 74635
2012-07-31 10:22:13 +00:00
Carsten Haitzler c98fe5be14 please don't break Desktop-1/2 ec. for multi-screen. thanks. :)
SVN revision: 74634
2012-07-31 09:50:27 +00:00
Mike Blumenkrantz 3b2587d064 only delete gadcon stuff from a shelf if it isn't a dummy
SVN revision: 74633
2012-07-31 09:48:02 +00:00
Mike Blumenkrantz 873febc02b dummy shelves don't need to be a gadcon site, also properly export prototype
SVN revision: 74631
2012-07-31 09:43:10 +00:00
Mike Blumenkrantz c760aad6b2 actually apply menu title changes when they occur
SVN revision: 74628
2012-07-31 09:11:23 +00:00
Carsten Haitzler 5e8595269b actually rever allt he way back to before the stringshare commit as it
only worked then on restart not on login. xsettings works again.



SVN revision: 74627
2012-07-31 09:11:04 +00:00
Mike Blumenkrantz e7c7be6b1a replace FREE with E_FREE for consistency, use E_FREE instead of free
SVN revision: 74626
2012-07-31 09:06:26 +00:00
Carsten Haitzler dc4d2d73c8 revert stringshare changes by zmike - they break xsettings support. it
works again now i revert these.



SVN revision: 74625
2012-07-31 09:05:39 +00:00
Chidambar Zinnoury ed4325d510 e utils: don't store signed integers in unsigned arrays.
This will make file previews use better sized icons.


SVN revision: 74598
2012-07-30 20:30:26 +00:00
Mike Blumenkrantz 52a5c2c729 passing a path along with "desktop" device to efm should allow you to navigate relative to your desktop directory. now it does
SVN revision: 74591
2012-07-30 14:25:36 +00:00
Mike Blumenkrantz 524a6da1f7 on e menu thaw, redraw the menu; this may work better as an idler
SVN revision: 74589
2012-07-30 14:04:07 +00:00
Mike Blumenkrantz d456775996 allow submenus to call their activation functions if they exist
SVN revision: 74588
2012-07-30 13:40:30 +00:00
Mike Blumenkrantz 7caeaff237 not sure why we're searching menu items twice here
SVN revision: 74587
2012-07-30 13:30:08 +00:00
Mike Blumenkrantz 925f78c003 missing const
SVN revision: 74586
2012-07-30 13:01:09 +00:00
Mike Blumenkrantz eada1e1347 add utility function for efm to map a dev+path into an actual path
SVN revision: 74585
2012-07-30 12:29:07 +00:00
Mike Blumenkrantz d706d72905 add const to param
SVN revision: 74582
2012-07-30 11:55:43 +00:00
Mike Blumenkrantz c3317861dd formatting
SVN revision: 74580
2012-07-30 10:50:50 +00:00
Mike Blumenkrantz 416f69ef48 fix e_sys mount exit codes and only compile eeze mount parts when eeze mount is enabled
SVN revision: 74577
2012-07-30 10:28:25 +00:00
Mike Blumenkrantz 0727364db1 fix unused warns when no mount backends enabled
SVN revision: 74575
2012-07-30 10:26:05 +00:00
Mike Blumenkrantz d84cdfe4f7 move eeze init check higher up so prefix doesn't leak
SVN revision: 74573
2012-07-30 10:17:03 +00:00
Mike Blumenkrantz c956092990 e_sys now fails to perform any mount-related activity if there is even the slightest amount of monkey business occurring. orangutans and chimpanzees are included.
SVN revision: 74571
2012-07-30 10:13:06 +00:00
Mike Blumenkrantz 80f17bbcff don't try to delete mount points from e_fm anymore
SVN revision: 74570
2012-07-30 10:11:41 +00:00
Mike Blumenkrantz caa9f1b42b eeze is now back to mounting to /media/$devnode using noexec and nodev, also we now send an error message in another failure case
SVN revision: 74567
2012-07-30 10:01:49 +00:00
Carsten Haitzler dcf8b6c339 fix up e_exec to respect the terminal=true flag on desktops ... so
finally that htop menu entry works. :)



SVN revision: 74550
2012-07-30 06:13:07 +00:00
Carsten Haitzler 0b91025ba2 somehow... something broke shelf position on my 2nd disply. fix it!
SVN revision: 74549
2012-07-30 03:46:34 +00:00
Chidambar Zinnoury 5c5fef141a e i18n: add a new macro (NP_) to mark plural strings for translation.
SVN revision: 74547
2012-07-29 17:06:19 +00:00
Chidambar Zinnoury 8470559f18 e widget deskpreview: revamp previews size computation.
This prevents previews from going out of the widget for some combinations.


SVN revision: 74546
2012-07-29 17:04:15 +00:00
Carsten Haitzler b8239bef36 also remove volume icon dups on startup. :(
SVN revision: 74544
2012-07-29 11:10:45 +00:00
Carsten Haitzler d10f72eff5 get rid of duiplicate device icons with eeze+eeze-scanner+mount etc.
as i see both dev/sdX and dev/sdX1 as devices. delete the parent ones
if child partitions exist.



SVN revision: 74543
2012-07-29 10:30:00 +00:00
Christopher Michael d885235ebc E: Fix default shelf size.
Currently, for existing shelf sizes, we calculate against e_scale so
the default size of 40 should be adjusted against e_scale also.



SVN revision: 74535
2012-07-28 15:32:50 +00:00
Christopher Michael d9060b15d6 E: Format shelf code for 80 columns so I can hunt this bugger I am
seeing.



SVN revision: 74534
2012-07-28 15:20:08 +00:00
Christopher Michael b9508baa0e E: Fix uninitialized variable warning
SVN revision: 74532
2012-07-28 15:00:49 +00:00
Mike Blumenkrantz 14386604f4 warn--
SVN revision: 74513
2012-07-27 16:10:37 +00:00
Mike Blumenkrantz 71ce826982 e_gadcon_client_find now takes an optional gadcon param to speed it up where possible
SVN revision: 74512
2012-07-27 16:10:06 +00:00
Mike Blumenkrantz 4ffafd3313 ensure gadcon class is populated before trying to create a client for it
SVN revision: 74507
2012-07-27 15:30:36 +00:00
Mike Blumenkrantz adfa2b1db1 only find fileman action if necessary
SVN revision: 74493
2012-07-27 14:02:34 +00:00
Mike Blumenkrantz 1980833a09 use e_shelf_style_set() when creating a new shelf; duplication--
SVN revision: 74492
2012-07-27 13:46:06 +00:00
Mike Blumenkrantz f990c4d738 greatly simplify gadcon populate idler
SVN revision: 74491
2012-07-27 13:18:25 +00:00
Mike Blumenkrantz bca06d1574 fix small leak in xsettings init
SVN revision: 74489
2012-07-27 13:11:44 +00:00
Mike Blumenkrantz df03a272e5 remove useless checks on gcc name
SVN revision: 74488
2012-07-27 12:29:55 +00:00
Mike Blumenkrantz 5db9d9fb00 change gadcon waiting classes list to a hash in order to remove some strcmps
SVN revision: 74487
2012-07-27 12:26:41 +00:00
Mike Blumenkrantz 5a6e5ec964 make client class population gadcon-specific so we don't end up populating every gadcon site with 500 client classes if they're only used on a single shelf
SVN revision: 74485
2012-07-27 10:54:00 +00:00
Mike Blumenkrantz 5070653af2 add debug timing info for gadcon idler populates
SVN revision: 74478
2012-07-27 09:28:25 +00:00
Mike Blumenkrantz 81cbce9d96 log error and fail when attempting to register a nameless gadcon client class to prevent massive failure later
it is once again a good time to update


SVN revision: 74477
2012-07-27 08:46:04 +00:00
Mike Blumenkrantz 8b0c1eaefe fix gcc populates to actually set all necessary variables and prevent config from being wiped; fixes gadman gadgets randomly disappearing and probably a lot of other unnoticed bugs
SVN revision: 74476
2012-07-27 08:42:16 +00:00
Mike Blumenkrantz f08e7423f2 make gadcon class function pointers require const as they should, add new custom populate request function, consolidate gcc populate code
compile warnings are being cleaned up next


SVN revision: 74472
2012-07-27 08:17:32 +00:00
Mike Blumenkrantz 2850c28167 add more startup timing info for non-debug builds so people can see what the real startup time of e is
SVN revision: 74469
2012-07-27 06:43:14 +00:00
Mike Blumenkrantz 5389c8a964 forgot to deregister client class from populated list
SVN revision: 74445
2012-07-26 14:13:49 +00:00
Mike Blumenkrantz 14b109ac78 fix gadcon crashing when enabling/disabling modules
SVN revision: 74443
2012-07-26 13:59:41 +00:00
Mike Blumenkrantz 812abd7c1d actually I don't know wtf I was thinking with 74438, I was clearly a misguided genius in the code that I removed in this commit; fixes adding new gadgets and also speeds up the process greatly
SVN revision: 74441
2012-07-26 13:00:15 +00:00
Mike Blumenkrantz f8b1dbf2e3 add function for finding a gadcon client from its config
SVN revision: 74439
2012-07-26 12:41:41 +00:00
Mike Blumenkrantz 512f48014c not sure what I was thinking here, no need to repopulate a gadcon when client class is populated
SVN revision: 74438
2012-07-26 12:41:01 +00:00
Mike Blumenkrantz ec019bae91 only populate custom gadcons with the gadgets that are actually loaded in the gadcon: huge speedup
SVN revision: 74433
2012-07-26 11:05:39 +00:00
Mike Blumenkrantz c2b2d7e5ad registering a gadcon client class no longer immediately tries to populate the class; we now populate classes only when a gadget for the class is loaded to further reduce the initial loading clusterfuck
SVN revision: 74432
2012-07-26 10:34:40 +00:00
Mike Blumenkrantz aac8262b02 fix return value for e_main_ts()
SVN revision: 74431
2012-07-26 10:24:10 +00:00
Mike Blumenkrantz bb711a6526 e_main_ts() now returns the elapsed time since the last call
SVN revision: 74429
2012-07-26 09:10:51 +00:00
Mike Blumenkrantz 0f09ff1e46 change delayed module idler to idle enterer to increase responsiveness during startup
SVN revision: 74426
2012-07-26 08:38:32 +00:00
Mike Blumenkrantz de3dda2d03 back to printfs for e startup
SVN revision: 74425
2012-07-26 08:25:12 +00:00
Mike Blumenkrantz c2ad72cf6b add e_main_ts() to provide a facility for debugging time spent on certain activities in main loop
SVN revision: 74423
2012-07-26 08:21:52 +00:00
Mike Blumenkrantz a72afa83fc shave 0.2s off xsettings init with aggressive use of timers and idlers
SVN revision: 74422
2012-07-26 08:02:27 +00:00
Mike Blumenkrantz bd6e61c6c8 also no need for calloc here
SVN revision: 74418
2012-07-26 07:11:43 +00:00
Mike Blumenkrantz d3f8ffeb61 some minor optimizations for _e_font_fontconfig_name_parse() as well as realloc failure handling
SVN revision: 74417
2012-07-26 07:08:22 +00:00
Mike Blumenkrantz 7fd07d8712 formatting
SVN revision: 74416
2012-07-26 06:49:35 +00:00
Mike Blumenkrantz 325aaa82ad fix module error dialog text to make more sense
SVN revision: 74415
2012-07-26 06:47:12 +00:00
Mike Blumenkrantz 9762c491a1 use strbuf for authors list in about dialog
SVN revision: 74394
2012-07-25 14:07:57 +00:00
Mike Blumenkrantz 226d5904f2 add const
SVN revision: 74393
2012-07-25 14:07:09 +00:00
Mike Blumenkrantz 576a55f32a formatting
SVN revision: 74392
2012-07-25 14:00:21 +00:00
Mike Blumenkrantz 55294aab4a flesh out ilist header api with prepend and relative inserts
SVN revision: 74384
2012-07-25 10:39:16 +00:00
Mike Blumenkrantz f45c212c42 fix stringshare usage in xsettings (wtf), ensure that config theme name, when set, is stringshared
SVN revision: 74376
2012-07-25 09:13:45 +00:00
Mike Blumenkrantz 62dc4cf2b2 add internal config entry for current netwm theme whenever we set it
SVN revision: 74375
2012-07-25 09:01:05 +00:00
Mike Blumenkrantz 6fc6bb1660 xsettings now uses eio when looping through directories
SVN revision: 74374
2012-07-25 07:48:19 +00:00
Mike Blumenkrantz d7f9ff7551 e now requires eio; this commit intentionally split from any code changes
SVN revision: 74373
2012-07-25 07:41:21 +00:00
Mike Blumenkrantz 904e298809 fix typebuf in efm to properly handle relative directory switching from arbitrary devices
SVN revision: 74354
2012-07-24 11:37:02 +00:00
Mike Blumenkrantz a88fbfacec fix fsel usage of e widget api
SVN revision: 74352
2012-07-24 10:00:42 +00:00
Mike Blumenkrantz feabf28230 amazingly useless new feature: fpreview widget now displays directory previews as....file manager widgets!
SVN revision: 74351
2012-07-24 09:49:49 +00:00
Mike Blumenkrantz e51cf14d4f fix amazingly subtle e widget bug which crashed e whenever a subwidget of one object was set to be the subwidget of another object
SVN revision: 74350
2012-07-24 09:46:33 +00:00
Mike Blumenkrantz a563339dd3 add prepend/repack functions for e_widget_list
SVN revision: 74347
2012-07-24 08:20:57 +00:00
Mike Blumenkrantz eee502bd24 filepreview widget seems to work okay now with >48px icons
SVN revision: 74345
2012-07-24 07:15:05 +00:00
Mike Blumenkrantz 4dc9ba50fe fix renaming files directly on the desktop canvas without a popup
ticket #117


SVN revision: 74318
2012-07-23 09:26:49 +00:00
Mike Blumenkrantz 9c86078ab5 fix evas magic failure in entry dialog from unnecessary/broken smart cb del during free
SVN revision: 74317
2012-07-23 09:20:11 +00:00
Mike Blumenkrantz 0a2c8ea044 formatting
SVN revision: 74316
2012-07-23 09:12:51 +00:00
Mike Blumenkrantz 5bb05f5864 prevent fileman typebuf from activating while renaming files
SVN revision: 74307
2012-07-23 07:58:52 +00:00
Christopher Michael 7f9afaa54e E: Remove unused variable in image_add_from_file. Add trap in case
calloc fails when trying to alloc widget_data.



SVN revision: 74301
2012-07-22 15:39:48 +00:00
Christopher Michael 184e904c64 E: Add unused to missing function.
params is unused for app_new_instance_go.



SVN revision: 74300
2012-07-22 15:37:14 +00:00
Christopher Michael 6152d0be40 E_FM: Remove unused variables and fix formatting for 80 columns.
SVN revision: 74299
2012-07-22 15:35:23 +00:00
Christopher Michael 636e6af10f E: Minor formatting fixes.
SVN revision: 74298
2012-07-22 14:49:01 +00:00
Leif Middelschulte bc5b594dda Add 'Exec new instance of focused app' action for consistent tabbing
SVN revision: 74297
2012-07-22 14:44:13 +00:00
Vincent Torri 72c6b4e4a3 E17: fix race condition when copying a file
during the copy, the file can be accessed by users.
See http://cwe.mitre.org/data/definitions/689.html
So we apply the access rights after the creation of
the dest file.

Patch by Maxime Villard


SVN revision: 74284
2012-07-21 18:20:19 +00:00
Vincent Torri 6b430e4489 E17: fix typo
Patch by Maxime Villard


SVN revision: 74281
2012-07-21 18:02:07 +00:00
Vincent Torri 435a620992 check if the name has a 'file' part
SVN revision: 74266
2012-07-21 13:53:54 +00:00
Vincent Torri 4d0cfed7b9 whitespaces--
SVN revision: 74265
2012-07-21 13:51:04 +00:00
Vincent Torri 7e40b5f15a E17: symlink fixes
when copying symlinks, it creates a symlink to the
destination but with the name of the pointed file/folder.

It causes problems, ex: we can't copy two symlinks
pointing to the same file, because they will have the
same name.

Also when copying, if it's a link, we fill the destination
in the struct task, then, after we check overwrite with
_e_fm_op_handle_overwrite()

Here is a patch which corrects this.

Patch by Maxime Villard (rustyBSD), modified a bit by me (add 2 free() + formatting)


SVN revision: 74264
2012-07-21 13:48:35 +00:00
Carsten Haitzler 58be84aa8e dont look for socket file - just connect to see if eeze scanner is
ther. no need for delay as we are polling anyway to try run it every N
polls (i reduced to 8 as once it runs it no longer polls).



SVN revision: 74262
2012-07-21 09:11:39 +00:00
Mike Blumenkrantz 3476abe5a4 add strdupa/strndupa definitions for vtorri
SVN revision: 74260
2012-07-21 07:24:03 +00:00
Carsten Haitzler 7ac8b4fd31 that is bad code as rusty says - though fix it a different way.
SVN revision: 74252
2012-07-20 14:40:19 +00:00
Mike Blumenkrantz db0049e248 desklock now properly supports ctrl+a for those times when you know you mistyped your password
SVN revision: 74246
2012-07-20 13:30:58 +00:00
Mike Blumenkrantz b1a1902995 add some basic window manipulation methods to enlightenment_remote + e
ticket #201


SVN revision: 74242
2012-07-20 12:40:28 +00:00
Mike Blumenkrantz 280cf2a008 simply return when a filemanager's config is re-set instead of crashing
SVN revision: 74231
2012-07-20 10:41:09 +00:00
Mike Blumenkrantz 11b99c6513 fileman's "Use Single Click" option now toggles a global config option which is picked up by fileselector widgets, also added a menu item to the right click efm menu to toggle this on a case-by-case basis
ticket #663


SVN revision: 74230
2012-07-20 10:25:02 +00:00
Mike Blumenkrantz 2179306800 fix some cases where zone/shelf handling was wrong and would lead to shelves being shown when they shouldn't
ticket #862


SVN revision: 74225
2012-07-20 09:37:15 +00:00
Christopher Michael e816b7b432 Formatting.
SVN revision: 74222
2012-07-20 08:58:35 +00:00
Mike Blumenkrantz a427ed3e82 add e_util_size_debug_set() to allow easier size debugging of objects in e
SVN revision: 74221
2012-07-20 08:54:14 +00:00
Mike Blumenkrantz 67db80b0bb fix efm typebuf globbing to work for trailing globs
SVN revision: 74219
2012-07-20 08:41:32 +00:00
Mike Blumenkrantz fa0e811cc8 fix tab completion and repeated typebuf navigation when using relative directories
SVN revision: 74218
2012-07-20 08:25:23 +00:00
Mike Blumenkrantz fe3f5c44e9 fix efm typebuf navigation when using relative directories instead of absolute paths, also fix tab completion
SVN revision: 74217
2012-07-20 08:15:50 +00:00
Mike Blumenkrantz f780d740ce prevent infinite looping while loading directory props in efm
SVN revision: 74214
2012-07-20 07:59:13 +00:00
Mike Blumenkrantz d199c58904 finally kill off the last of the e_icon_object_set uses;
this function was being abused in 100% of cases to do something other than the intended use of just setting an evas image into an e_icon. I've added e_icon_edje_object_set which is the edje version and will, hopefully, make things more clear and avoid confusion in the future
e_widget_image now calls the proper e_icon functions and is far less likely to trigger a magic failure


SVN revision: 74213
2012-07-20 07:52:53 +00:00
Mike Blumenkrantz 10907a3b10 set edje flag in e_icon for edje objects instead of always using strcmp to check
SVN revision: 74210
2012-07-20 07:26:16 +00:00
Mike Blumenkrantz f66e16178c in general, any time e_icon_object_set is used, it's wrong. e_icon doesn't handle these cases and fails in every case other than the initial _set() call.
SVN revision: 74209
2012-07-20 06:53:52 +00:00