Commit Graph

6035 Commits

Author SHA1 Message Date
Carsten Haitzler b592a9176f 1. fix thumb to not use preload thread - i spotted bugs. concurrency ones.
2. also write a sort id (harmless - doesnt affect anything). useful for...
sorting.




SVN revision: 40166
2009-04-18 13:52:24 +00:00
Gustavo Sverzut Barbieri ce2009b32b list of autohide-dependent widgets should not be global.
SVN revision: 40165
2009-04-18 13:47:29 +00:00
Gustavo Sverzut Barbieri c0365b4b2d shelf "shrink to contents" is not related to its size.
SVN revision: 40164
2009-04-18 13:43:05 +00:00
Gustavo Sverzut Barbieri c57f789948 also disable slider if label is disabled.
this is actually weird, maybe we should disable the whole
configuration dialog if there is no screensaver? I just noticed these
problems since I missed to install libxss-dev :-(



SVN revision: 40154
2009-04-17 22:59:13 +00:00
Davide Andreoli e812630caa * Funky EINA_LIST_FOREACH usage :)
SVN revision: 40152
2009-04-17 21:41:09 +00:00
Andreas Volz 0d4b7fd890 usability improvement - disable widgets if check disabled
SVN revision: 40151
2009-04-17 20:46:30 +00:00
Andreas Volz 71173bb012 reformated with "astyle -s3" because of inconsistent formating
-> NO CODE CHANGES!


SVN revision: 40150
2009-04-17 20:35:04 +00:00
Andreas Volz ea29023652 currently for e.g. ubuntu the mixer module won't work as it uses pulseaudio as mixer
-> this needs to be implemented
-> as short "solution" I changed the default text from "dummy" to "No ALSA mixer found!"
  -> this gives the user at least a useful error message


SVN revision: 40149
2009-04-17 20:16:56 +00:00
Andreas Volz c88ec0590b the mixer module was completly inconsistent formated!
-> used "astyle -s3" to format it
-> NO CODE CHANGES!


SVN revision: 40148
2009-04-17 20:13:17 +00:00
Gustavo Sverzut Barbieri 6c7e4540e2 shelf ignore mouse_out when going to children windows.
this solves an annoyance with systray: the bounce-on-mouse-over (mouse
over systray would make shelf hide, but after the animation starts the
shelf get mouse-in again and abort the hide, then starts again). But
it will introduce another annoyance: if systray open a menu and you
navigate to it, shelf will not get mouse-out event and thus will not
autohide.

I'm leaving this behavior as it is less annoying. I discussed a bit
with rasterman and solving this is not easy, we'd need to poll for
mouse position and query window tree, this would waste cpu and keep
timeout rate high, draining battery.



SVN revision: 40128
2009-04-17 04:56:54 +00:00
Gustavo Sverzut Barbieri 3aae39faec fix shelf autohide after changing its settings in advanced mode.
shelf should be hidden if it was recreated (restart == 1) and autohide
is set.



SVN revision: 40127
2009-04-17 03:15:27 +00:00
Gustavo Sverzut Barbieri b94960c645 fix shelf autohide on zone geometry changes.
when xrandr/xinerama changes zone (screen/output) geometry, the shelf
needs to update its hide_origin and also do hide animation if it was
hidden already.



SVN revision: 40126
2009-04-17 02:54:56 +00:00
Gustavo Sverzut Barbieri 9cc29ad360 fix bug when there is no file extension.
This was spotted by a segmentation faults on systems where sprintf()
don't handle NULL as "%s" (Solaris, BSDs), but it makes no sense to
lookup "*(null)" as extension on Linux either.

Reported by: mcalamell



SVN revision: 40120
2009-04-16 22:17:50 +00:00
Andreas Volz cf1e0172cf usability improvement
-> shrink and autohide widgets are only enabled if checks are set


SVN revision: 40117
2009-04-16 21:03:43 +00:00
Andreas Volz df07dc5807 the ilist was to small
SVN revision: 40116
2009-04-16 20:03:32 +00:00
Andreas Volz 4240bde378 usabilty improvement - disable widgets if not checked
SVN revision: 40115
2009-04-16 19:59:11 +00:00
Iván Briano e5478eb0e3 Don't leak.
SVN revision: 40100
2009-04-16 04:48:46 +00:00
Carsten Haitzler c5680c811c and handle premapped windows
SVN revision: 40075
2009-04-15 04:52:40 +00:00
Andreas Volz 909e3aa378 usability improvement - autoraise slider only if check active
SVN revision: 40063
2009-04-14 21:53:06 +00:00
Andreas Volz 73ad8e4462 usability improvement - geometry slider only available if check active
SVN revision: 40062
2009-04-14 21:46:12 +00:00
Massimiliano Calamelli 829d452e55 Fix missing MAX for OpenSolaris
SVN revision: 40061
2009-04-14 21:41:59 +00:00
Andreas Volz 543f71218f usability improvement
-> warp mouse setting in advanced dialog is not complete consistent, but better as before...


SVN revision: 40060
2009-04-14 21:31:49 +00:00
Andreas Volz c72e584ebf theme enabled/disabled support for label widget
SVN revision: 40058
2009-04-14 21:18:16 +00:00
Andreas Volz 6ec9f6475c only E_FREE - no need to check anything
SVN revision: 40056
2009-04-14 20:53:27 +00:00
Andreas Volz 560362354d usability improvement - disable if not usable
SVN revision: 40053
2009-04-14 19:54:21 +00:00
Andreas Volz 53fbe500b9 use eina list foreach macro
SVN revision: 40051
2009-04-14 19:14:30 +00:00
Andreas Volz 245f911e8c use eina list macro
SVN revision: 40049
2009-04-14 19:13:36 +00:00
Andreas Volz 74e57059c1 use eina macro
SVN revision: 40048
2009-04-14 19:12:40 +00:00
Andreas Volz 21339b9ed3 no problem to free a NULL pointer, so no check needed
SVN revision: 40047
2009-04-14 18:57:38 +00:00
Andreas Volz cba66580ca - correct free
- 'if' arround free cfdata - it's better like this


SVN revision: 40046
2009-04-14 18:54:29 +00:00
Andreas Volz 9247b2712b correct free
SVN revision: 40045
2009-04-14 18:49:58 +00:00
Andreas Volz bcb5cbd97c thanks for the hint Gustavo :-)
SVN revision: 40044
2009-04-14 18:47:33 +00:00
Christopher Michael 8509b408b2 Fix formatting. Add EAPI import_del/fsel_del functions to the import
header to remove compile warning


SVN revision: 40023
2009-04-13 16:56:37 +00:00
Gustavo Sverzut Barbieri e0040cefb9 major cleanup of path creation to $DATADIR and $HOME/.e/e
This cleanup replaces snprintf() usage with specific calls, they have
the benefit of being cleaner (so easier to grep), typing less and also
marginal speed up compared to the other (specially concat_static),
although those are rarely used in critical paths.

I'm testing it for some time and seems to not break anything, but let
me know of any problem. If you can review the patch and try to spot
incorrect names, please do.




SVN revision: 40014
2009-04-13 14:56:38 +00:00
Vincent Torri 64f80081aa define MAX for all OS, instead of plenty #include
SVN revision: 40012
2009-04-13 10:25:11 +00:00
Carsten Haitzler 098cd6dbcd shoudl just use regular win.
SVN revision: 39976
2009-04-11 08:42:24 +00:00
Vincent Torri 0e6ad24c60 remove useless subwindow code
SVN revision: 39975
2009-04-11 08:33:44 +00:00
Andreas Volz 3ef3df1e5d free EinaList at exit
SVN revision: 39971
2009-04-11 07:22:33 +00:00
Andreas Volz 9731c6abf6 unused variable
SVN revision: 39970
2009-04-11 07:22:05 +00:00
Andreas Volz 1231a05e4a change to Eina_List
SVN revision: 39969
2009-04-11 07:20:54 +00:00
Gustavo Sverzut Barbieri 886a0bca01 move batch directory creation to ecore_file.
as suggested by raster, this could be abstracted into ecore-file and
other applications could use it as well.



SVN revision: 39965
2009-04-11 07:10:12 +00:00
Carsten Haitzler 51eff88b13 allow for system startup .orders... not great - but simple.
SVN revision: 39963
2009-04-11 06:20:11 +00:00
Carsten Haitzler dae9cf2027 cedrice pathc to stop seg of eillume on unload,
SVN revision: 39962
2009-04-11 06:13:34 +00:00
Gustavo Sverzut Barbieri 689146ef39 Alternative version for those legacy systems without atfile-source
atfile source is posix 2008, but some legacy systems seems to not ship
with those, in that case use slower version.



SVN revision: 39958
2009-04-11 05:40:18 +00:00
Gustavo Sverzut Barbieri 44a5dff5f9 improve string copying.
SVN revision: 39956
2009-04-11 04:40:01 +00:00
Andreas Volz 04e9e183bd change only dpms options if enabled
-> for the first step this is ok, but needs more work. The enabling logic in this dialog is two levels depth.


SVN revision: 39954
2009-04-10 22:50:11 +00:00
Andreas Volz 095dcb2614 NULL
SVN revision: 39953
2009-04-10 22:37:36 +00:00
Andreas Volz dd2e62448b - possible configure the xscreensaver options only if activated
- now used Eina_List for storage (I hope I used it correct...)


SVN revision: 39952
2009-04-10 22:34:15 +00:00
Davide Andreoli 9b12de4e79 Patch by semernin to fix bug#272
thanks



SVN revision: 39951
2009-04-10 22:28:58 +00:00
Davide Andreoli d115dd1b4e * e_fwin.c : Make some cleaning here. Whitespaces + functions grouped better.
No changes to code made.  Still need to rename some functions in a more
standard way.



SVN revision: 39950
2009-04-10 22:02:32 +00:00
Andreas Volz 48c93ccbae allow editing of Custom Screenlock only if activated check
SVN revision: 39949
2009-04-10 21:17:58 +00:00
Andreas Volz 4f039155d0 GUI improvement by enable/disable radio group chained to checkbox state
SVN revision: 39946
2009-04-10 18:52:18 +00:00
Sergey Semernin 5c62d98898 From: Sergey Semernin <sergey.semernin@gmail.com>
In E_Dialog space key grabbed before than keydown event reach to entry widget
in E_Entry_Dialog.
Thus, I forced ungrab space key in e_entry_dialog_show constructor.
Moreover, I added escape key handling in _e_entry_cb_key_down callback.

I do not delete space key grub in E_Dialog, because, I think, it may be
usefull here, 
when we need selecting controls with space. Or not?




SVN revision: 39936
2009-04-10 14:21:36 +00:00
Vincent Torri 992597240a allow compilation of battery module on mac os x
SVN revision: 39935
2009-04-10 14:05:50 +00:00
Vincent Torri de2e6e5be1 ecore_x_window_del -> ecore_x_window_free
SVN revision: 39931
2009-04-10 12:18:36 +00:00
Andreas Volz dc515d9973 set minimum size for cards list
SVN revision: 39928
2009-04-10 11:11:49 +00:00
Vincent Torri 7506655ca9 ecore_x_window_del -> ecore_x_window_free
SVN revision: 39924
2009-04-10 09:57:57 +00:00
Gustavo Sverzut Barbieri 619ed37fed eina_stringshare_replace() gets in!
I was replicating this code in many places, it should go into eina itself.

It's the right way to change strings that you don't know are
stringshared before, since it will first add a reference and then
remove, making it impossible to have references to go 0 and string
being released before adding new references, fixing the following
possible problem:

   x = eina_stringshare_add("x");
   replace(x, x);

   then:
   incorrect_replace(const char **b, const char *a) {
      eina_stringshare_del(*b); /* reference gets to 0 */
      eina_stringshare_add(a); /* BUG!!! */
      *b = a;
   }




SVN revision: 39903
2009-04-08 18:25:02 +00:00
Christopher Michael 3836c7ba2b Remove erroneous widget_data_get call
SVN revision: 39902
2009-04-08 18:02:27 +00:00
Carsten Haitzler 9b244804e9 add a cmd-line opt to skip format test...
SVN revision: 39891
2009-04-08 08:30:13 +00:00
Daniel Kolesa d2975ac947 Make profiles working again. Thanks to Sachiel for the fix :)
SVN revision: 39889
2009-04-07 18:29:13 +00:00
Viktor Kojouharov 9a303630ae shorten some strings
SVN revision: 39886
2009-04-06 21:22:12 +00:00
Viktor Kojouharov 170993d5bd convert the fm config dialog into a toolbook.
gui for 2 new options -> windows_modifiers (this should really be the default) and case insensitivity


SVN revision: 39883
2009-04-06 20:39:09 +00:00
Gustavo Sverzut Barbieri d68e3158cf minor speedups.
the e_main.c change might prove useful as it will minimize path
resolution a lot, something that is not that cheap, even more durin e
startup where disc is still spinning due other tasks
starting. HOWEVER, it might bring problems to those using pre
GLibC-2.4 (we're at 2.9 these days) and maybe people using Solaris or
BSD, let's see if they have any trouble.



SVN revision: 39880
2009-04-06 12:59:58 +00:00
Christopher Michael 9533dd4543 Formatting, Whitespace Removal, Remove useless return in one function,
Initialize variables to NULL.


SVN revision: 39872
2009-04-05 17:07:18 +00:00
Christopher Michael 794ef7748f Formatting
SVN revision: 39870
2009-04-05 16:58:49 +00:00
Carsten Haitzler b443014888 default theme is now the grey wp at the start... should have a better frame
for it - need to improve the thum frames anyway. also the all desktops/this
desk/this screen now works. need to next add add pic/add exhcange/add
gradient buttons



SVN revision: 39867
2009-04-05 16:10:50 +00:00
Carsten Haitzler cbe9342be3 for e_thumb.. use preload!
SVN revision: 39866
2009-04-05 03:49:16 +00:00
Davide Andreoli ffd353ac39 * E_Fwin:
Ctrl+w -> close the window
Ctrl+a -> select all



SVN revision: 39865
2009-04-05 00:26:31 +00:00
Davide Andreoli 431f044b2e Fix 'Open' command of EFM. was broken since last commit...
Done a quick fix, that code need a refactor


SVN revision: 39864
2009-04-04 23:28:37 +00:00
Christopher Michael 6d1cdc0e47 Remove silly return at end of function.
SVN revision: 39861
2009-04-04 19:40:00 +00:00
Carsten Haitzler f913e6a018 comments for todo...
SVN revision: 39856
2009-04-04 14:37:07 +00:00
Carsten Haitzler debd837c0b add a slide out panel/tab to put options and stuff in.
SVN revision: 39855
2009-04-04 14:15:08 +00:00
Carsten Haitzler 634485d2bc and properly hide windows that ask to be iconified on start!
SVN revision: 39853
2009-04-04 07:18:55 +00:00
Davide Andreoli 7d4e6b8413 * Add a submenu to the efm open-with menu, to show suggested applications.
So you don't have to load the whole applications list to choose between 2 or 3 options :)

Hope you like it
Dave
 

SVN revision: 39852
2009-04-04 04:14:01 +00:00
Davide Andreoli 9a4621d5f5 * Patch from Sergey to merge the 2 list in the open with dialog.
With a very little fix in table colspans.

Thanks
Dave


SVN revision: 39849
2009-04-04 01:20:32 +00:00
Davide Andreoli 101b2f7cf3 * Fix wallpaper import on language with floating point separator different that ','
The edc was generated as 

   align: 1,3333 1,333;

and thus edje_cc refused to build.

I have done a quick HACK. simply set locale to "C" and the reset to previous locale.
If someone know a cleaner way to solve this issue please let me know.

POSSIBLE ALTERNATIVE SOLUTION:
Why we don't make E able to directly load image files?
I think it's just a matter of 2 lines of code...or am I wrong?
Doing this we can remove all this hackish code to generate edc.

Thanks
Dave



SVN revision: 39848
2009-04-04 00:37:57 +00:00
Davide Andreoli 7beda31923 Patch by Sergey to apply efm window geometry if found in the custom file.
Thanks :)

SVN revision: 39847
2009-04-03 22:41:31 +00:00
Davide Andreoli 3553055573 Scale dialogs icons with e_scale
SVN revision: 39846
2009-04-03 22:05:18 +00:00
Gustavo Sverzut Barbieri 1532f064cb use scaled icon size.
SVN revision: 39843
2009-04-03 21:45:33 +00:00
Rafael Antognolli b7234a0020 Changing e_conf_wallpaper_import dialog.
It has been split into two other dialogs, one for wallpaper file selection
and another one for import settings.
Also the "Set As Background" efm action just calls the latter because the file
was already selected.



SVN revision: 39831
2009-04-02 03:46:22 +00:00
Viktor Kojouharov 3805af7fcc files can now be dragged over destination files (not just subdirs). In that case, the source file will be sent to the directory that houses the dest file. No more seggies
SVN revision: 39829
2009-04-01 17:03:09 +00:00
Cedric BAIL 782923ada6 * illumine: Cleanup handler destruction.
SVN revision: 39828
2009-04-01 16:57:29 +00:00
Viktor Kojouharov e33ba2d5f0 ctrl+n duplicates the current fwin
SVN revision: 39826
2009-04-01 08:28:21 +00:00
Cedric BAIL c1363b97e3 * e_box: Prevent the reuse of a free memory adress.
SVN revision: 39821
2009-03-31 16:05:05 +00:00
Carsten Haitzler 21aec52b31 oops. timer works now always
SVN revision: 39817
2009-03-31 12:47:10 +00:00
Carsten Haitzler d1869f6bdc leak--
SVN revision: 39816
2009-03-31 12:20:35 +00:00
Carsten Haitzler 6ed65911db matching theme changes too...
SVN revision: 39812
2009-03-31 07:42:25 +00:00
Carsten Haitzler e2cf497e84 now dialog doesnt require globals.
SVN revision: 39811
2009-03-31 06:51:12 +00:00
Carsten Haitzler 3df9e955f5 and fix unsel...
SVN revision: 39810
2009-03-31 06:24:54 +00:00
Carsten Haitzler 5f9f0c17c5 stay open until click on bg to close.
SVN revision: 39809
2009-03-31 06:22:55 +00:00
Davide Andreoli 0f1775c8e8 Attach the fm object pointer to the menu generated from the efm.
So you can read the fm object if you hook into the menu.



SVN revision: 39803
2009-03-30 14:31:54 +00:00
Davide Andreoli f71eea73b2 * Add a new menu api call :
EAPI void
e_menu_item_disabled_set(E_Menu_Item *mi, int disable)

Setting the menu item 'disabled' will gray it out and will make it unselectable.



SVN revision: 39802
2009-03-30 13:59:56 +00:00
Carsten Haitzler c6b5f985fe a new wallpaper config dialog. only partly done. try it anyway. it's fun.
SVN revision: 39801
2009-03-30 13:34:32 +00:00
Massimo Maiurana 8dae85bc0e updating french translations
SVN revision: 39800
2009-03-30 12:31:17 +00:00
Massimo Maiurana c681fcd228 updating it and fr po's and adding fileman_opinfo in potfiles
SVN revision: 39796
2009-03-29 18:33:55 +00:00
Gustavo Sverzut Barbieri 6f73572985 add davemds module as requested.
SVN revision: 39795
2009-03-29 15:51:12 +00:00
Davide Andreoli 95de5b13a2 * e_fm_operation_registry : Add a new api call: EAPI int e_fm2_op_registry_count(void)
* Add the new simple module fileman_opinfo

The module provide a gadget that show the efm operations in progress. It is just a button
with a dynamic label atm, a better interface to come...

To compile the module you need to add it to configure.ac and src/modules/Makefile.am ... I have those
files too much hacked atm to commit :P

k-s: can you commit the 2 files for me please? just add the new module.

Hope you like it
Dave



SVN revision: 39794
2009-03-29 15:33:26 +00:00
Davide Andreoli 1bfc6fd633 * Better dialogs (rename, overwrite etc) for efm
SVN revision: 39788
2009-03-29 01:24:11 +00:00
Davide Andreoli 44883d6cf0 * e_fm_op_registry : rename duration to eta
* e_fm_op : report sizes (done and total) now refer to the whole task, not the single file
 * e_fwin : better operation monitor label (and add a delay on delete)



SVN revision: 39787
2009-03-29 00:26:43 +00:00