Commit Graph

6512 Commits

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