Commit Graph

6566 Commits

Author SHA1 Message Date
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