Commit Graph

685 Commits

Author SHA1 Message Date
Mike Blumenkrantz 93cc88b8b1 add efm option to sort files by extension
ticket #1436


SVN revision: 76014
2012-09-03 14:21:10 +00:00
Mike Blumenkrantz c67b4ffad8 add sorting submenu to efm view menu to allow sorting to be changed on the fly
SVN revision: 76002
2012-09-03 12:02:00 +00:00
Mike Blumenkrantz cdf5da175d group default view mode with other view mode menu items
SVN revision: 75999
2012-09-03 10:59:48 +00:00
Mike Blumenkrantz 5625117baa clarify "Use default" view mode menu item
SVN revision: 75998
2012-09-03 10:48:49 +00:00
Mike Blumenkrantz 1cabcb39f9 finally fix menu item alignment for efm ctxmenu items
this is a really stupid bug, but apparently using submenu callbacks in some situations (not all the time, that would be too easy) cause items to be misaligned


SVN revision: 75996
2012-09-03 10:36:22 +00:00
Mike Blumenkrantz 68ecf550e3 annotate unused variables properly
SVN revision: 75985
2012-09-03 09:17:31 +00:00
Mike Blumenkrantz 2d0c34fc28 another change I've been wanting to make for a long time: e_entry_dialog now has the data param first
SVN revision: 75983
2012-09-03 09:06:10 +00:00
Mike Blumenkrantz 1798ace14d break out file ctx actions into new submenu so the file menu doesn't get huge if there are multiple handlers for a mime/glob type
SVN revision: 75773
2012-08-28 10:17:00 +00:00
Mike Blumenkrantz ccad002a7b put this back so the list doesn't leak
SVN revision: 75768
2012-08-28 09:04:29 +00:00
Mike Blumenkrantz 916fd8e183 fix e_fm2_mime_handler_mime_handlers_get() to return const like it should and fix usages to prevent freeing handlers. whoever wrote this initially should come over here so I can deliver spankies.
SVN revision: 75767
2012-08-28 08:54:54 +00:00
Mike Blumenkrantz 45803968c5 free ctx action list as we add so we don't have to loop twice
SVN revision: 75766
2012-08-28 08:36:50 +00:00
Mike Blumenkrantz adc7b0bd98 not sure why this was inline
SVN revision: 75765
2012-08-28 08:33:58 +00:00
Mike Blumenkrantz 098e8723e0 fix efm mime actions to properly add a separator if there is an action which fails a test before an action that does not fail a test
SVN revision: 75764
2012-08-28 08:30:16 +00:00
Mike Blumenkrantz c94ce38fa4 fix leak when adding ctx menu items to efm
SVN revision: 75763
2012-08-28 08:23:11 +00:00
Mike Blumenkrantz 540e94652e more dialog delete cleanups
SVN revision: 75755
2012-08-28 06:49:14 +00:00
Carsten Haitzler cf863adc59 fix sorting to sort symlinks to dirs as if they are dirs...
SVN revision: 75695
2012-08-25 09:12:31 +00:00
Mike Blumenkrantz 98dca3d7b8 never activate clicked item if doing range/multi select
ticket #1365


SVN revision: 75486
2012-08-21 06:40:25 +00:00
Carsten Haitzler 9cc281f002 make filepreview for links and removable devices and mountpoints give
fs type, filesystem usage, size etc. etc. much more useful.



SVN revision: 75429
2012-08-19 13:28:51 +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 d2b8ccd61a add efm option to disable click renaming
SVN revision: 75012
2012-08-08 11:55:10 +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 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 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 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 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 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 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 1044ea8316 warn--
SVN revision: 74810
2012-08-02 16:25:53 +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 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 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 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 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
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 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 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 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 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 5bb05f5864 prevent fileman typebuf from activating while renaming files
SVN revision: 74307
2012-07-23 07:58:52 +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 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 3b3403b127 remove wildcard refs in efm typebuf on hide
SVN revision: 74208
2012-07-20 06:44:59 +00:00
Mike Blumenkrantz 5a42012102 more typebuf fixes for "favorites" in efm
SVN revision: 74207
2012-07-20 06:31:41 +00:00
Mike Blumenkrantz 50d1c1b5ee also prevent typebuf changes on "favorites" widgets
SVN revision: 74206
2012-07-20 06:27:27 +00:00
Carsten Haitzler 1d5f246de1 fix fm exec application remembering. :)
SVN revision: 74203
2012-07-20 04:48:59 +00:00
Mike Blumenkrantz 3c10733774 "when I was a boy, all the file managers did glob matching with their typebufs, and they could do it uphill both ways in the snow! barefoot!"
-rasterman (18 July 2012)


SVN revision: 74190
2012-07-19 13:40:11 +00:00
Mike Blumenkrantz 7f6de8b710 add method for setting the efm widget overlay clip to an external clipper
SVN revision: 74164
2012-07-19 08:16:42 +00:00
Mike Blumenkrantz 091e897f64 full, working tab completion for efm widgets, also slightly decrease typebuf hide timer to 3.5s from 5.0s: this was just way too long
SVN revision: 73967
2012-07-17 10:26:05 +00:00
Mike Blumenkrantz eaaa60e655 support "~/" in efm typebufs
SVN revision: 73966
2012-07-17 10:01:16 +00:00
Mike Blumenkrantz 644ff46ecd whoops, left some debug in
SVN revision: 73965
2012-07-17 09:50:38 +00:00
Mike Blumenkrantz 7d88737440 efm widgets now support realtime path evaluating/changing using the typebuf
SVN revision: 73964
2012-07-17 09:49:53 +00:00
Mike Blumenkrantz 1ec3f12805 use int(0) not Eina_Bool(0) to terminate a string, also we don't actually have to do all this freeing and reallocating
SVN revision: 73961
2012-07-17 08:54:33 +00:00
Mike Blumenkrantz 36048e5bee smart callback for efm widget typebuf change
SVN revision: 73958
2012-07-17 08:44:08 +00:00
Mike Blumenkrantz 8d479ed3b2 add functions for selecting first/last file
SVN revision: 73955
2012-07-17 08:31:39 +00:00
Mike Blumenkrantz a7bf8ae103 this use of timers in efm was not the smartest I've seen, and it caused an abort. spankies to someone
SVN revision: 73950
2012-07-17 07:02:27 +00:00
Chidambar Zinnoury 2ac1229261 e file manager: hide open menu items if there is no selection.
SVN revision: 73893
2012-07-15 20:05:58 +00:00
Christopher Michael d0ceff8feb E_FM: Fix uninitialized variables in e_fm.c. Fix Unused variable in
e_fm_device.c



SVN revision: 73872
2012-07-15 11:17:45 +00:00
Chidambar Zinnoury 40a79b6599 e fm: add plural support for the delete confirmation dialog.
Here the singular version is not used in english, but plural support is nonetheless needed for languages who have multiple plurals depending on the number of files.

 Bonus: add a complementary dialog for when you're trying to delete all the files in the folder.


SVN revision: 73868
2012-07-15 08:23:19 +00:00
Chidambar Zinnoury 3b7fd1afb9 e fm: first use of plurals!
SVN revision: 73865
2012-07-15 07:06:28 +00:00
Mike Blumenkrantz 64caa28ea9 switch efm edje icon group checking to fix display of theme previews
SVN revision: 73834
2012-07-13 23:01:50 +00:00
Mike Blumenkrantz 1d49687cd9 add smart callbacks to efm objects for mouse in/out on an icon object
SVN revision: 73615
2012-07-12 12:27:09 +00:00
Mike Blumenkrantz 06b9059148 add e_fm2_optimal_size_calc() which will attempt to calculate the optimal size for displaying an efm widget inside a bounded area
SVN revision: 73500
2012-07-09 11:43:56 +00:00
Mike Blumenkrantz 1fdc926ad9 add externally available getter for an efm widget's current view mode
SVN revision: 73490
2012-07-09 08:34:33 +00:00
Mike Blumenkrantz 2e8c03cf67 efm list view icons should always take up the full width of the fm widget now
SVN revision: 73484
2012-07-09 07:28:19 +00:00
Mike Blumenkrantz cdc51406e3 shift+arrow keys in efm now adds file to selection. crappy unexpected select path is due to efm's arrow navigation
ticket #1130


SVN revision: 73412
2012-07-06 13:09:38 +00:00
Mike Blumenkrantz fde9e1cf7c middle mouse button now selects/deselects files like ctrl+click in efm
ticket #280


SVN revision: 73404
2012-07-06 09:09:37 +00:00
Mike Blumenkrantz 82ee910b78 fix efm icon look in list view, breaks scrolling behavior
SVN revision: 73127
2012-07-02 07:58:25 +00:00
Mike Blumenkrantz 1f8cc4cd6d pressing escape on the desktop with file manager icons shown no longer causes the desktop to try going to the parent directory
SVN revision: 72932
2012-06-27 09:42:22 +00:00
Mike Blumenkrantz f8e53aca00 display current device detect/mount mode in fileman config
SVN revision: 72855
2012-06-26 07:32:11 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Mike Blumenkrantz 20a94946f4 macros can be confusing if you don't understand how they work.
fix super longstanding efm bug where shift+select selected way more items than it should have


SVN revision: 72481
2012-06-19 14:12:41 +00:00
Mike Blumenkrantz 6ba92ab323 some chucklehead doesn't know how shift/ctrl selection on click works and reversed the modifiers. I have now unreversed them
SVN revision: 72480
2012-06-19 13:51:30 +00:00
Mike Blumenkrantz b331eececb only set remembered custom dir pan if we're using an instance that has custom dir enabled
SVN revision: 72469
2012-06-19 10:24:09 +00:00
Mike Blumenkrantz 671feaa78c make list items expand to maximum width
SVN revision: 72468
2012-06-19 10:05:22 +00:00
Christopher Michael cacae5a9c0 Fix unitialized variable warning.
SVN revision: 72467
2012-06-19 09:59:31 +00:00
Mike Blumenkrantz fbda443407 fix crazy horizontal scrollbar flickering and resizing in file selector for efm
SVN revision: 72463
2012-06-19 09:48:36 +00:00
Mike Blumenkrantz df9b504499 unify efm smart object checking code into a macro
SVN revision: 72448
2012-06-19 07:25:26 +00:00
Mike Blumenkrantz 7f90125e32 no need to freeze here, we're already frozen
SVN revision: 72444
2012-06-19 07:06:13 +00:00
Mike Blumenkrantz 974c166778 efm now keeps a list of selected icons per window, also now pasting to a selected folder will paste inside the selected folder instead of to the current directory
closes ticket #618


SVN revision: 72385
2012-06-18 11:55:44 +00:00
Mike Blumenkrantz 32a3fd9f30 stderr was not meant to be an arg here
SVN revision: 72376
2012-06-18 09:20:21 +00:00
Mike Blumenkrantz f784bff213 replace e17 logging "system" with custom eina log domain
SVN revision: 72089
2012-06-13 15:17:23 +00:00
Mike Blumenkrantz e8157caac8 fix udisks fwin refresh when drive is previously mounted
SVN revision: 72025
2012-06-12 13:07:37 +00:00
Mike Blumenkrantz d07a3ff63c fix old mount provider check from when eeze mounting didn't exist; this fixes fwin refresh when opening a previously mounted volume
SVN revision: 72001
2012-06-12 09:19:04 +00:00
Mike Blumenkrantz 0e468b1d01 make e_fm.c readable
SVN revision: 71944
2012-06-11 10:18:25 +00:00
Mike Blumenkrantz 8a9a9dcbda use new efreet function to simplify desktop dir discovery, also ensure that we are always using the right desktop dir
ticket #617


SVN revision: 71820
2012-06-07 15:58:42 +00:00
Vincent Torri 2fff3dd83a E17: fix mixed declarations and code
SVN revision: 70975
2012-05-13 17:45:44 +00:00
Vincent Torri c30aaf8dde e17: remove some shadow variables
SVN revision: 70190
2012-04-15 08:09:56 +00:00
Carsten Haitzler 0078d30bdc segv's waiting to happen wrong api calls on wrong object types - check
to protect.



SVN revision: 66707
2011-12-31 14:35:05 +00:00
Carsten Haitzler 008668be55 oh dear.. more icon bottom space stuff in efm. fix!
SVN revision: 65648
2011-11-28 12:18:58 +00:00
Carsten Haitzler f32a029890 man that has annoyed me for AGES.. that uselss space at the bottom of
efm views! argh! fix! disable it!



SVN revision: 65594
2011-11-25 08:07:12 +00:00
Carsten Haitzler 1175a7b529 and remove printfs
SVN revision: 65593
2011-11-25 07:47:57 +00:00
Carsten Haitzler db3621837a lets drop icons correctly if efm view is not at 0,0
SVN revision: 65592
2011-11-25 07:46:50 +00:00
Hannes Janetzek f30111ae01 e17: workaround segv when mounting cdrom with udisk. btw opening devices in efm that are already mounted shows empty window
SVN revision: 63600
2011-09-25 06:53:58 +00:00
Mike Blumenkrantz 11186c9994 warn--
SVN revision: 62870
2011-08-26 18:17:37 +00:00
Boris Faure 6907da7f27 e: use '-' to separate multiple desktop dirs
reverts 62571

SVN revision: 62742
2011-08-24 14:18:09 +00:00
Carsten Haitzler c92b31afb7 umm - probably clear up some invalid reads/uninit values here.
SVN revision: 62615
2011-08-20 03:57:28 +00:00
Boris Faure b2d2229fdc e: show desktop according to XDG_DESKTOP_DIR if set
SVN revision: 62572
2011-08-18 19:11:34 +00:00
Boris Faure 413cbb8ae6 e: fix efm path map on desktop
SVN revision: 62571
2011-08-18 19:11:07 +00:00
Hannes Janetzek 56453bc0aa e17/efm: set e_icon_scale_size to render scalable icons with correct size
SVN revision: 62199
2011-08-08 11:20:30 +00:00
Christopher Michael ccd6c5aa1d E: e_fm: Fix unused label (fallback:). Add UNUSED where missing.
SVN revision: 61763
2011-07-26 14:11:28 +00:00
Hannes Janetzek 5412669200 e17/efm: revert, seems this was no fix
SVN revision: 61693
2011-07-25 13:05:49 +00:00
Hannes Janetzek 016fde39dc e17/efm: fix e_fm2_path_set: show contents of 'removable' mountpoints also when the device is already mounted
SVN revision: 61683
2011-07-25 10:14:37 +00:00
Hannes Janetzek bc5f550546 e17/efm: show mime icons when thumbnail failed
SVN revision: 61654
2011-07-24 20:36:52 +00:00
Christopher Michael 0c3e2d4576 E: E_FM: Fix lots of compiler warnings about comparison of signed and
unsigned ints.



SVN revision: 59593
2011-05-22 16:45:16 +00:00
Hannes Janetzek f8fc5f9f78 e17/fm: fix segv
SVN revision: 57399
2011-02-27 22:39:51 +00:00
Hannes Janetzek 0e59861be3 e17/fm: fix last commit.
it's possible that ic_next could be NULL


SVN revision: 57260
2011-02-23 10:37:17 +00:00
Hannes Janetzek af23edc941 e17/fm: select next item after deleting a file
SVN revision: 57258
2011-02-23 10:18:41 +00:00
Hannes Janetzek 8bf7b759a7 efm add keybindings:
- ctrl+h toggle show hidden files
- ctrl+1 icon view
- ctrl+2 list view
- ctrl+3 custom grid view


SVN revision: 56839
2011-02-09 13:12:38 +00:00
Hannes Janetzek f56fe34d97 do not crop labels at bottom: add extra space in icon-view mode
SVN revision: 56821
2011-02-08 21:30:48 +00:00
Hannes Janetzek b7cfdd21f1 fix loop in fm favorites view: delete .desktop for non existing device
SVN revision: 56715
2011-02-04 20:33:30 +00:00
Carsten Haitzler 5683f1b65c and fix mounty to be SAFE woth udisks.
SVN revision: 55994
2011-01-08 18:18:17 +00:00
Mike Blumenkrantz c2f5922c89 fix segv when using udisks to mount during ipc reads
SVN revision: 55989
2011-01-08 06:04:32 +00:00
Mike Blumenkrantz ef105564ba with this commit, udisks mounting is now fully functional (wfm!) and has a number of benefits over the HAL backend, such as being able to automount media that's in your fstab
dev notes: changes to efm were required for this to work since udisks doesn't report back a mount point upon executing a mount command, so the actual dir listing/display must
be delayed by another callback until we actually know where the disk is to avoid opening a random directory


SVN revision: 55916
2011-01-06 01:35:41 +00:00
Mike Blumenkrantz 23e9a844ff remove random semicolon?
SVN revision: 55901
2011-01-05 19:42:24 +00:00
Mike Blumenkrantz 6221397e99 fix annoying comparison is always true warning
SVN revision: 55862
2011-01-05 05:39:30 +00:00
Christopher Michael 27819e0780 Add missing UNUSED where needed.
SVN revision: 55769
2010-12-29 16:42:46 +00:00
Mike Blumenkrantz d3bcd46f2b avoid garbage deref
SVN revision: 55725
2010-12-23 00:24:16 +00:00
Sebastian Dransfeld 4d602b28e9 Listen for icon theme changes
SVN revision: 55683
2010-12-21 08:42:30 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +00:00
Sebastian Dransfeld 3d1a299e06 Let efreet icon return const
We return a pointer to an internal cache, so no need to do strdup. I we
implement a cache, the pointer will be a return from a mmap'ed file, so
no need to do strdup.

A bit late to do an API break, but must be done.

SVN revision: 54372
2010-11-09 20:15:55 +00:00
Sebastian Dransfeld ea2d3ab0eb Cleanup icon up handling
It seems that originally the "selected" event wasn't to be fired on dirs
during single click. This makes it impossible for fwin to open a new
window when single clicking a dir, so some ugly hacks has been added.
"The right fix (tm)" is to always emit "selected", even on dirs, and let
the listener decide what to do with the file.

SVN revision: 54229
2010-11-06 15:15:21 +00:00
Sebastian Dransfeld 889876d851 Only call "selected" on dirs
This fixes bug #593

SVN revision: 54228
2010-11-06 14:44:37 +00:00
Sebastian Dransfeld 3c12d4daba __UNUSED__ last
SVN revision: 54193
2010-11-05 18:40:31 +00:00
Mike Blumenkrantz fc78801dd8 should fix desktop icon text shortening
SVN revision: 54137
2010-11-03 21:59:56 +00:00
Mike Blumenkrantz 745e9031ea more vars that should be ints
SVN revision: 54136
2010-11-03 21:46:10 +00:00
Mike Blumenkrantz a8fb965995 fix some vars that should be ints after all
SVN revision: 54135
2010-11-03 21:31:44 +00:00
Mike Blumenkrantz de632e8367 run #2 of ecrustify, plus a manual edit to correctly make a function pointer
* now aligns with function prototype name, a couple other tiny spacing fixes


SVN revision: 53798
2010-10-23 06:05:03 +00:00
Mike Blumenkrantz 475ab010c1 dunno how that snuck in
SVN revision: 53784
2010-10-22 20:36:38 +00:00
Mike Blumenkrantz 76224aeb9e this is a rather large stress test of the improved version of uncrustify+config that I have been working on
as far as I can tell, it's perfect for non-headers

header example following as soon as I finish making it space EINA_XYZ() args properly


SVN revision: 53774
2010-10-22 17:07:41 +00:00
Miculcy Brian dd641e9259 New categories for modules.
To be continued soon...


SVN revision: 53514
2010-10-17 17:33:44 +00:00
Mike Blumenkrantz 33f0bae5cb e_fm2_dbus prefix is now e_fm2_device for upcoming seamless integration with eeze
SVN revision: 53328
2010-10-13 02:53:25 +00:00
Carsten Haitzler 5f713c865b fix... gah. formatting mess there.. and the real problem
using str1 == str2 instead of strcmp assuming all strings are
stringshared. dont ASSUME this unless you 100% KNOW for sure they are.

bad disco stu!



SVN revision: 53128
2010-10-07 00:04:19 +00:00
Mike Blumenkrantz 04662b3565 complete rewrite of all includes and file splitting to completely abstract dbus out of efm
SVN revision: 53051
2010-10-05 06:33:23 +00:00
Mike Blumenkrantz 29336de90d more function protos to typedefs, add E_Fm_Cb(void *data, Evas_Object *obj, E_Menu *m, E_Fm2_Icon_Info *info) for casting
SVN revision: 53044
2010-10-05 06:32:59 +00:00
Mike Blumenkrantz 97f27a269c switch lots of efm vars to bool bitfields
SVN revision: 53042
2010-10-05 06:32:51 +00:00
Lucas De Marchi 25113159a5 Fix common misspellings
Some misspellings were manually reverted since in E there are tons of .po with
phrases in other languages. Other than that all the changes in the following
files were reverted:

 * src/modules/illume/dicts/English_(US).dic
 * src/modules/illume-keyboard/dicts/English_(US).dic


Following misspellings were fixed:

acquited->acquitted
adres->address
adress->address
alreayd->already
aquire->acquire
arbitarily->arbitrarily
cant->can't
Capetown->Cape
carefull->careful
causalities->casualties
Celcius->Celsius
certian->certain
commandoes->commandos
considerd->considered
conveyer->conveyor
dependant->dependent
didnt->didn't
discontentment->discontent
doesnt->doesn't
everytime->every
exemple->example
existance->existence
existant->existent
existince->existence
Farenheit->Fahrenheit
forbad->forbade
funguses->fungi
guage->gauge
guerilla->guerrilla
guerillas->guerrillas
happend->happened
hasnt->hasn't
heros->heroes
inbetween->between
independant->independent
inital->initial
intrusted->entrusted
irregardless->regardless
isnt->isn't
knifes->knives
layed->laid
loosing->losing
marrage->marriage
midwifes->midwives
miniscule->minuscule
monickers->monikers
mroe->more
noone->no one
occured->occurred
omre->more
paralell->parallel
payed->paid
planed->planned
quitted->quit
quizes->quizzes
seperated->separated
seperate->separate
shoudl->should
similiar->similar
simplier->simpler
specifiying->specifying
teh->the
toke->took
torpedos->torpedoes
Tuscon->Tucson
unecessary->unnecessary
useage->usage
usefull->useful
useing->using
waht->what
wanna->want
whith->with
wich->which
withing->within




SVN revision: 52006
2010-09-08 23:59:07 +00:00
Miculcy Brian 586632efd1 allow to directly edit .desktop files
SVN revision: 51761
2010-08-30 17:54:18 +00:00
Lucas De Marchi 63f07459a0 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Christopher Michael 4804fe3eb3 Add UNUSED.
SVN revision: 51346
2010-08-18 20:59:17 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Lucas De Marchi d8dc2a9511 Remove unneeded code with notnull.cocci script
This continues previous commit with more complex places, where it required
more than just removing some "ifs".



SVN revision: 50242
2010-07-14 02:20:30 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Mike Blumenkrantz 492178f1b2 add header, fix compile warning when printing int64 (use PRIi64)
SVN revision: 49388
2010-06-02 03:23:49 +00:00
Hannes Janetzek 702218034b check strings not null
SVN revision: 49230
2010-05-27 12:45:41 +00:00
Carsten Haitzler 12c8a33b11 fix segv with removable devices!!!! decode forced strdup/free etc... but rest
of code assumed stringshare.



SVN revision: 48546
2010-05-02 12:05:56 +00:00
Chidambar Zinnoury 94fe8e9020 EFM: on [↑] or [↓] key, use the same distance function for "normal" view modes as for "custom" view modes so that selection doesn't get jumpy.
SVN revision: 48542
2010-05-02 07:03:32 +00:00
Gustavo Sverzut Barbieri 4cd34cc5e8 NEVER, EVER should modify the stringshared pointer.
That is why stringshare returns "const char*".

ZMike, pay attention to these cases. I know this one was particularly
nasty to spot since you receive the "const char *path", but later on
you request strrchr(path..) and receive "char *p", the cast is done
implicitly by libC to make all the case works (C++ version fixed this
recently, but in C there is no way).

The crash that lead me to investigate it was spot by Lucas De Marchi
at advanced wallpaper dialog, but actually other places that uses efm
should be equaly broken.



SVN revision: 48508
2010-05-01 16:02:03 +00:00
Mike Blumenkrantz 9d40d66091 step 3: migrate all function and variable names to generic dbus naming
SVN revision: 48488
2010-04-30 19:14:20 +00:00
Mike Blumenkrantz 5c598d1a78 beginnings of the ukit migration. this time, in many many many small commits along the way to avoid breaking things! :)
step 1: migrate *hal* files to *dbus* files


SVN revision: 48463
2010-04-30 08:38:08 +00:00
Mike Blumenkrantz a6c5618f69 finish char* to const char* conversion
SVN revision: 48461
2010-04-30 08:17:53 +00:00
Mike Blumenkrantz 5aa48ed402 fix more broken stringshare stuff from ehal memory migration, including incredible lines such as
char *udi = eina_stringshare_del(udi);
my bad, I really fudged the bucket on this one guys.


SVN revision: 48416
2010-04-29 10:17:41 +00:00
Mike Blumenkrantz 97da075d67 ukit integration taking way longer than expected, so I'm fixing all the stringshares now. should be safe to use. hooray.
SVN revision: 48414
2010-04-29 08:58:38 +00:00
Carsten Haitzler aadcae0b20 be lenient on uri';s allow boring full paths.
SVN revision: 48380
2010-04-28 03:30:48 +00:00
Sebastian Dransfeld 02b6e4db39 Ecore_Str.h -> Eina
SVN revision: 45740
2010-01-30 22:11:11 +00:00
Sebastian Dransfeld c197d0c8a0 Only do "selected" cb when single_click_delay is 0
If single_click_delay is activated, _e_fm2_mouse_1_handler will handle
"selected" cb

SVN revision: 45631
2010-01-27 19:33:53 +00:00
Cedric BAIL 2fab25c3bb * ecore: Move ecore_job inside ecore.
Patch from Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>.


SVN revision: 45570
2010-01-25 21:59:21 +00:00
Sebastian Dransfeld 1715880d6a inplace open should not care whether we use single click or not, this is handeled by click handler
SVN revision: 45434
2010-01-22 07:21:03 +00:00
Sebastian Dransfeld 5109c0f8ea oops
SVN revision: 45365
2010-01-20 21:15:07 +00:00
Sebastian Dransfeld db6819ae2a Results from gettext aren't static
SVN revision: 45362
2010-01-20 19:49:39 +00:00
Sebastian Dransfeld 1526c18cd5 Desktop is localized
SVN revision: 45345
2010-01-19 21:19:38 +00:00
Sebastian Dransfeld 1271fb625d Desktop is localized
SVN revision: 45343
2010-01-19 21:11:36 +00:00
Sebastian Dransfeld b7f399d159 make clang happy
SVN revision: 45153
2010-01-14 23:48:59 +00:00
Sebastian Dransfeld 44b1509345 Fix "selected" emit
Only emit "selected" on mouse up if we are in single click mode and no
modifiers is set.
Need to check for single_click first, so that inplace_open isn't called
on doubleclick.

Fixes ticket 375

SVN revision: 45130
2010-01-14 20:55:04 +00:00
Christopher Michael a245fb11cf e_utils - Use PATH_MAX, not 4096.
e_fm.c - An idler is not a timer. Use proper variable type. Formatting.



SVN revision: 44700
2009-12-23 21:29:36 +00:00
Carsten Haitzler 672d1de1e3 fix more void * arith!
SVN revision: 44560
2009-12-19 00:15:16 +00:00
Christopher Michael d246d2e257 Fix some formatting problems.
SVN revision: 43320
2009-10-27 21:50:21 +00:00