Commit Graph

527 Commits

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