Commit Graph

332 Commits

Author SHA1 Message Date
Cedric BAIL 9617253990 * edje: fix count that lead to memleak.
SVN revision: 51047
2010-08-12 15:07:26 +00:00
Cedric BAIL 288403f62b * edje: fix for updated edje file format.
SVN revision: 51037
2010-08-12 13:26:09 +00:00
Cedric BAIL 068d07757f * edje: converting edje file to make them compatible with old and new
loader. I didn't expect so many of them, maybe some one can take care
	of reducing their number (0 would be a good target).


SVN revision: 50938
2010-08-09 18:05:22 +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 c426218dfe Remove unneeded code with notnull.cocci script
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:

if (!var) return;
if (var && var->fld) { ... }

It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.


SVN revision: 50241
2010-07-14 02:05:47 +00:00
Cedric BAIL 1e81ac0d3b * pager: Don't double del timer.
SVN revision: 50197
2010-07-12 14:02:15 +00:00
Chidambar Zinnoury bcf9ec9154 Pager: typo.
SVN revision: 50155
2010-07-09 11:03:26 +00:00
Christopher Michael 4798504a46 Missed one place where __UNUSED__ was not proper. Fix.
SVN revision: 49938
2010-06-29 15:22:18 +00:00
Christopher Michael 4a554402f2 Fix the mess called pager:
- Use PATH_MAX & E_FREE
 - Make use of __UNUSED__ correctly.
 - Fix formatting.
 


SVN revision: 49937
2010-06-29 15:19:48 +00:00
Cedric BAIL 2e92d43a46 * e: cleanup pager code.
SVN revision: 49855
2010-06-25 08:57:32 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Hannes Janetzek bfbd5f09d2 fix refocus window below issue with pager popup action
SVN revision: 48932
2010-05-17 00:41:28 +00:00
Hannes Janetzek 7ff829c978 config: move 'pager action popup height' slider to popup section
SVN revision: 48784
2010-05-12 18:31:27 +00:00
Hannes Janetzek 082f1dd1f7 added pager pop action for next/prev desk
SVN revision: 48514
2010-05-01 18:22:28 +00:00
Christopher Michael c50f366634 Add basic & advanced check_changed code.
SVN revision: 47258
2010-03-15 21:27:26 +00:00
Christopher Michael 08c44b3bfd Rework pager config dialog for smaller screen resolutions (using
toolbook).

NB: May need label changes. Still needs 'check_changed' code too, but
the bulk of the work is done.



SVN revision: 47252
2010-03-15 20:38:49 +00:00
Miculcy Brian b80eca5ad3 remove the now useless title
SVN revision: 47002
2010-03-08 16:09:21 +00:00
Sebastian Dransfeld f2c243f91e make clang happy
SVN revision: 45191
2010-01-15 19:36:00 +00:00
Carsten Haitzler 0ebccbedbf fix pager - how did that break? oooh i see! DEVILHORNS!
SVN revision: 45029
2010-01-11 02:58:47 +00:00
Sebastian Dransfeld 821ba7d77e Don't move windows relative to shelves on pager
Pager windows should be set on pager where they actually are on the
desktop. So if they are behind a shelf, they should be behind it in the
pager.

This fixes bug #445.

SVN revision: 45025
2010-01-10 20:46:32 +00:00
Hannes Janetzek 7935aebb1f disable move in pager for now. as it leads to lost window if one drops between the desks
SVN revision: 42380
2009-09-10 13:51:12 +00:00
Hannes Janetzek a551323a28 e/src/modules:
- cast ints to pointer correctly
- remove unused variables
- #if 0 unusued code
- fix some function declarations for callbacks 


SVN revision: 42210
2009-09-03 16:32:48 +00:00
Massimo Maiurana d96d336352 adding turkish translations for desktop files
SVN revision: 41232
2009-07-02 16:56:15 +00:00
semernin 2f76dd5d99 List of changes:
1. Gadcon sities:
      -- 'E_Gadcon_Site' enum to list all available sities,
      -- added 'is_site' callback for distinguish gadcon sities,
      -- 'e_gadcon_site_is_*' helpers written to use in gadget modules,
      -- gadcon config dialogs modified to show only gadgets that appropriate
         to selected gadcon site,
      -- all gadget modules updated for using new callback.
      
      When callback is not provided in module, then gadget can be used in 
      any gadcon site.
      
   2. Filemanager:
      -- added error icon to unexisting path dialog,
      -- added callback 'func.abort' to 'E_Fm2_Op_Registry_Entry' to specify
         abort operation sequence (if not provided, then operation is not
         cancelable),
      -- added parameter to 'e_fm2_op_registry_entry_add' to specify abort
         method on construct 'E_Fm2_Op_Registry_Entry' or make non-cancelable
         operation if this function is not provided,
      -- added 'e_fm2_operation_abort' call to cancel efm2 operation,
      -- added method '_e_fm2_operation_abort_internal' that represent efm2
         default handler of operation cancelling,
      -- 'done' and 'total' fields of 'E_Fm2_Op_Registry_Entry' changed to
         off_t type, also all message handlers modified to work with it
         (to show progress for large files correctly),
      -- improved file operation progress processing,
      -- added cancel button to operation progress gadget in filemanager window,
      -- added delete file glyph to operation progress gadget,
      -- improved status message for efm2 operation progress.

   3. Filemanager slave:
      -- fixed critical bug in message handling via stdin/stdout,
      -- fixed critical bug in removing task from list,
      -- improved 'E_FM_OP_ABORT' handling,
      -- fix rollback counting on moving files.

   4. Fileman_opinfo module:
      -- a new theme writed: status string and gadget for view operation status
         in summary and detail modes,
      -- summary mode: operation glyph, state message, progressbar, abort button,
      -- detail mode: all for summary + from filename, to filename,
      -- summary/detailed button works as trigger,
      -- added source of module theme and used images.
      
   4. Pathbar module:
      -- non-critical fix, just for safety.

   Also patch contains several minor updates to serve main task.


SVN revision: 41224
2009-06-29 14:38:03 +00:00
Gustavo Sverzut Barbieri 609964ff1a unbreak pager and mouse wheel.
pagers should not rely on events on the edje object as it might get
lots of event replicas if there is a chain of swallows/groups/smarts
and they repeat events.

the new theme exports an e.eventarea part that will get the events and
pager will try to use it, if not fallback to the old behavior.

I cannot test this now, please say if it does not work.



SVN revision: 40616
2009-05-13 11:38:12 +00:00
Christopher Michael 06692e1e18 Lots of formatting fixes. Clear the text label in the pager desks if
Show Desktop Names is not enabled. Currently, any changes made to the 
pager module config require the pager module to be restarted (or E 
restarted). This should be addressed before a 1.0 release.


SVN revision: 40443
2009-04-28 15:29:56 +00:00
Gustavo Sverzut Barbieri be6a6ba639 improvements to e_border positioning.
* e_border_center() will center window in a better way, accounting
   the shelves/panels instead of just centering on the screen. This is
   better and most noticeable if screens are small and a big shelf on
   just one edge.

 * e_border_move_without_border(), e_border_resize_without_border()
   and e_border_move_resize_without_border() will assume the given
   values do not acount border/decorations (client_inset) and will do
   automatically. As stated in documentation, this is specially useful
   when it is a new client and thus have no decorations when it is
   positioned, when decorations are added window would be placed at
   wrong position. One can try this by adding efwin window overflowing
   the bottom-right corner, closing it and when reopen fileman would
   try to make it inside the screen, this would not work well with
   part of the window still being outside.

 * e_win_move(), e_win_resize() and e_win_move_resize() will now use
   new e_border functions.



SVN revision: 40307
2009-04-23 02:24:59 +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
Vincent Torri de2e6e5be1 ecore_x_window_del -> ecore_x_window_free
SVN revision: 39931
2009-04-10 12:18:36 +00:00
Vincent Torri 7506655ca9 ecore_x_window_del -> ecore_x_window_free
SVN revision: 39924
2009-04-10 09:57:57 +00:00
Viktor Kojouharov 30b11d23c8 add a urgent show function on the gadcon level and use that
(p.s. it's a good idea to recompile any extra module that you might use)


SVN revision: 39686
2009-03-24 16:08:37 +00:00
Viktor Kojouharov 4c074624bf pop the shelf if there's no popup
SVN revision: 39680
2009-03-24 14:22:54 +00:00
Cedric BAIL 46e8efcd8c Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of
specific code per engine. This patch does just that.
	All your application should continu to work has previously, if it's not the case
please report any new behaviour regarding mouse and keyboard.


SVN revision: 39505
2009-03-16 16:24:43 +00:00
Davide Andreoli eb2d1db1dc Icon rename finished. Now we have a fully compliant icon theme :)
now I'm going to fix E-MODULE-EXTRA...


SVN revision: 39495
2009-03-15 17:41:46 +00:00
Davide Andreoli 3d41cbb20d More icon works, this commit include changes to the icons on the desktop.
You will probably loose desktop icons until you get a fresh profile. Or you can edit the
.desktop files in .e/e/fileman/favorites (new icons name are: user-desktop, user-home, computer and user-temp)

Sorry for bothering... the next commit should be the last ;)



SVN revision: 39419
2009-03-08 23:09:48 +00:00
Davide Andreoli 1101c58d9f more icons renamed
SVN revision: 39396
2009-03-06 19:17:12 +00:00
Davide Andreoli 3d669d1177 * Rename the new function:
e_util_menu_item_fdo_icon_set to e_util_menu_item_theme_icon_set
As it looks for icons in e theme AND in fdo icon themes.
* Use the new function everywere instead of e_util_menu_item_edje_icon_set,
that is now marked as DEPRECATED

You should not see any difference with this commit. With the next few commit I'm
going to rename all the icons in the theme following fdo standard. I will not change
any icons, just rename them to match fdo ones.



SVN revision: 39370
2009-03-04 20:46:05 +00:00
toma b00b69c435 Module icons... most of them. Some still need some love, but Ill get around to that. Shout out to Sachiel!
SVN revision: 38953
2009-02-05 14:34:01 +00:00
Massimo Maiurana 879511c665 french translations for desktop files
SVN revision: 38890
2009-02-01 15:24:59 +00:00
Gustavo Sverzut Barbieri 22df734bfc fix possible segv with pager, caught by clang.
If no pager exists on given zone and popup is urgent, it would segfault.



SVN revision: 38558
2009-01-12 18:51:56 +00:00
Daniel Kolesa e9fb962a08 added Czech translations to trunk/e/src/modules/*/module.desktop.in
SVN revision: 38450
2009-01-04 16:49:28 +00:00
Carsten Haitzler b273fe10db use settings insetad of configuration. shorter.
SVN revision: 37742
2008-11-22 08:42:54 +00:00
Christopher Michael a9f9017432 No need to get Width & Height, they are not used here.
SVN revision: 37544
2008-11-08 05:54:39 +00:00
Davide Andreoli 45cbf72298 * Gadcon API 3 *BREAK*
Version 3 add the *client_class param to icon(),label(),id_new(), id_del() 
 and the *orient param to orient().

All the modules (with a gadcon_client) need to be fixed...just add the new params 

to follow the EXTRA modules update.

SVN revision: 37450
2008-11-04 03:57:45 +00:00
Sebastian Dransfeld 94cbe9dcc2 No need to check for delete border, as border now cleans up drag.
SVN revision: 37246
2008-10-27 14:15:56 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Chidambar Zinnoury d3d14662d2 And finally recompile all e modules' edje files.
SVN revision: 36696
2008-10-15 19:43:58 +00:00
Cedric BAIL 9e02df4fef Correctly include eina and fix pkg-config description.
SVN revision: 36667
2008-10-15 10:03:45 +00:00
Cedric BAIL d2f7e4da0d Make e depend on eina. No change in the code yet, so just fix your build system and no bug must show up.
SVN revision: 36627
2008-10-13 16:00:58 +00:00