Commit Graph

284 Commits

Author SHA1 Message Date
Sebastian Dransfeld 6d1de4d853 remove weird unneeded hack
SVN revision: 54387
2010-11-09 21:32:04 +00:00
Sebastian Dransfeld 32a8f5160d Fix dnd working with reference coords.
SVN revision: 54383
2010-11-09 21:14:38 +00:00
Sebastian Dransfeld 2a048b5005 gadcon helper functions
SVN revision: 54348
2010-11-08 20:11:45 +00:00
Sebastian Dransfeld 7ec3dd0f41 Right drop target size
If we are in an autoscroll container, use it's size as drop target

SVN revision: 54328
2010-11-08 14:05:29 +00:00
Sebastian Dransfeld 1ba2fd77a0 Set fdo icon directly in e_icon
This makes it simple to find the right icon size for current view size

SVN revision: 54177
2010-11-05 13:11:31 +00:00
Sebastian Dransfeld 7edb27b105 update ibar icon to match shelf size
SVN revision: 53852
2010-10-25 10:21:14 +00:00
Christopher Michael 5e2543b7de Use PATH_MAX for variable handling a file location.
Don't declare variables in the middle of code.
Comment out unused function.
Use the Application's icon for the menu item that is displayed when
you right-click an icon in ibar.



SVN revision: 52104
2010-09-09 20:20:24 +00:00
Christopher Michael 55c0358bb2 Only declare this variable if it will be used.
SVN revision: 52077
2010-09-09 15:08:36 +00:00
Miculcy Brian b485216e82 separator fix
SVN revision: 52076
2010-09-09 15:04:36 +00:00
Miculcy Brian 2f8f31fbf5 This commit will change the shelf menu completly:
If you have a Gadget and open the menu over it, all gadget specific options are under a separate submenu. The menu items which the Gadget sets theirself can be put on the main menu tree or on the Gadget submenu.
If you don't see a reason for this, check the ibar menu _before_ and _after_. :)

This api change broke all modules but i already fixed them all. Hope everything works... I also shortend text strings, etc, etc.
Hope you like it! :)


SVN revision: 52041
2010-09-09 14:44:21 +00:00
Miculcy Brian a324194bdf remove duplicated entry
SVN revision: 51756
2010-08-30 16:04:02 +00:00
Christopher Michael d7b096fb53 Fix compiler warning about signed & unsigned comparison.
SVN revision: 51446
2010-08-19 20:17:01 +00:00
Christopher Michael 68c0bf230c Add UNUSED where needed.
SVN revision: 51375
2010-08-19 00:00:56 +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
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Sebastian Dransfeld 02b6e4db39 Ecore_Str.h -> Eina
SVN revision: 45740
2010-01-30 22:11:11 +00:00
Sebastian Dransfeld f2c243f91e make clang happy
SVN revision: 45191
2010-01-15 19:36:00 +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
Christopher Michael 56c5dda8e5 Lots of formatting, & Whitespace Removal
SVN revision: 40752
2009-05-19 22:50:35 +00:00
Massimiliano Calamelli 829d452e55 Fix missing MAX for OpenSolaris
SVN revision: 40061
2009-04-14 21:41:59 +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
Christopher Michael bade03f209 no reason to set text of o_holder as it contains no text part.
SVN revision: 39453
2009-03-12 20:54: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 49fecd25b7 More icons renamed
SVN revision: 39400
2009-03-06 22:18:15 +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
Gustavo Sverzut Barbieri 19de236fd0 cleanup list usage and move to eina macros.
SVN revision: 39229
2009-02-26 03:57:10 +00:00
Carsten Haitzler b273fe10db use settings insetad of configuration. shorter.
SVN revision: 37742
2008-11-22 08:42:54 +00:00
Christopher Michael 0e658f33a2 More Width/Height removal.
SVN revision: 37542
2008-11-08 05:51:27 +00:00
Davide Andreoli 742ed7ef14 A remember the orientation per instance!
SVN revision: 37465
2008-11-05 03:28:19 +00:00
Davide Andreoli 2699ee7a4c * Add in the gadman right-click menu the ability to choose the orientation of the gadget
* Fix Ibar to handle new orient param

SVN revision: 37464
2008-11-05 03:12:45 +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 832960fb61 whitespace cleanup.
SVN revision: 37240
2008-10-27 13:31:39 +00:00
Sebastian Dransfeld 10396e6085 Use strlcpy
SVN revision: 37237
2008-10-27 12:34:35 +00:00
Carsten Haitzler ac31380ee0 oops s++
SVN revision: 37236
2008-10-27 12:06:46 +00:00
Carsten Haitzler 3990fc99c9 ok go nack to snprintf - strncpy isn't save for overruns of a buffer with 0
termination of string here (need to add ectra code to terminate). in this
situation speed really isn't an issue :)



SVN revision: 37235
2008-10-27 12:01:33 +00:00
Sebastian Dransfeld a21ddfd262 * Remove unused variable.
* Change snprintf with no parameters to strncpy.

SVN revision: 37220
2008-10-27 10:46:17 +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
Carsten Haitzler b170c9ffe0 fix losing config!
SVN revision: 36899
2008-10-21 01:10:42 +00:00
Cedric BAIL 3d6749983b Switch to eina_stringshare.
This could also change the usage of string share in E17.



SVN revision: 36679
2008-10-15 15:12:56 +00:00
toma a3c3d2c23f Icon work. HUGE revision of icons and their names. This breaks the icon theme API so you might need to revise some themes. It does however, simplify a whole lot of stuff. You'll notice a lot more icons in menus. This bigger changes will come with the new theme once it is done. The missing icon names are put in b_and_w theme for now so if you need them, look them up. Also a bit of base work for EFM and the border icons in there. Commented out till the old icons are merged in. Message me if anything is screwed up.
SVN revision: 36591
2008-10-12 06:04:26 +00:00
Carsten Haitzler b3fa7a32d0 and remove more fake calls.
SVN revision: 36230
2008-09-25 01:37:38 +00:00
Sebastian Dransfeld 3199439ed8 fix against efreet API breakage
SVN revision: 35492
2008-08-14 20:49:37 +00:00
Christopher Michael d088021b5a Don't add the new Create/Add menu entries if the conf_apps module is not
loaded.


SVN revision: 33123
2007-12-13 13:25:10 +00:00
Christopher Michael 68e71129f6 Add more icon create/add options to the menu.
SVN revision: 33120
2007-12-13 00:56:31 +00:00
Carsten Haitzler 2405363f94 errrr. commit? did the last one work?
SVN revision: 32232
2007-10-31 12:23:15 +00:00
Sebastian Dransfeld b732af7203 formatting
SVN revision: 31757
2007-09-19 05:15:52 +00:00
Sebastian Dransfeld 9e24589648 app->type can't be both.
SVN revision: 31756
2007-09-19 05:14:26 +00:00
Miculcy Brian aedfe0f839 It's now possible to have efm in the ibar, using a desktop file with type=link and url=file:/path/to/enlightenment .
SVN revision: 31754
2007-09-19 01:29:04 +00:00
Sebastian Dransfeld a548d436d0 Remove unused struct members.
SVN revision: 31742
2007-09-16 14:11:38 +00:00
Sebastian Dransfeld ff2c5f7e54 simplify
SVN revision: 31738
2007-09-16 10:51:17 +00:00
Sebastian Dransfeld 205fd652a2 Remove duplicate code.
SVN revision: 31735
2007-09-16 02:23:32 +00:00
Sebastian Dransfeld b0f8888510 const
SVN revision: 31734
2007-09-16 02:08:04 +00:00
Sebastian Dransfeld ac35054634 We need id's for gadgets which are independent of shelves, so if we move
a gadget from one shelf to another it will keep the same config. Since the
id is mainly for the module to find the appropriate config for a gadget,
the module is now responsible for creating id's for gadgets config. One
problem is that we no longer can trust the id of a gadget, so we need to
store a reference between a gadget and its config after startup. No big
deal.


SVN revision: 31727
2007-09-16 00:02:53 +00:00
Christopher Michael f9065df738 Remove the Add Application menu item if the conf-apps module is not loaded.
Disable the "Configure" button in the config dialog is conf-apps module is
not loaded.


SVN revision: 31152
2007-08-04 00:20:54 +00:00
Carsten Haitzler 371504515f abstract config dialogs more - include params.
SVN revision: 30588
2007-07-04 11:11:03 +00:00
rephorm d911036e15 reenable creation of .desktop when dropping a border icon on to ibar
SVN revision: 29489
2007-04-13 01:36:05 +00:00
rephorm 8894346dc2 reenable icon properties on ibar icons
SVN revision: 29488
2007-04-13 01:05:40 +00:00
Carsten Haitzler 7eacb34996 during startup ibar keeps re-filling all icons in a tight loop (though still
looping ecore) because efreet's idler keeps scanning icons and issuing change
events for everything. this slows things down a lot and causes ibar to be
inactive for a few seconds because icons are being deleted and re-created. i
have "paused" e_order updates until the first list change - that means the
idle scan cache fetch is over and operation is "normal" again - issue a big
change then anyway and so be up to date, but only on scan completion.


SVN revision: 29455
2007-04-09 23:12:24 +00:00
Christopher Michael c1dd129650 Remove unused function.
SVN revision: 29406
2007-04-06 03:54:48 +00:00
Christopher Michael 3794b34ab8 Allow ibar editing again.
SVN revision: 29404
2007-04-06 01:01:33 +00:00
Christopher Michael c4297e12f4 Comment out config of ibar apps for now, until we can get the dialog(s) fixed.
SVN revision: 29398
2007-04-05 21:33:42 +00:00
Sebastian Dransfeld 81d276c974 Update icon on theme change.
SVN revision: 29383
2007-04-05 17:38:23 +00:00
Viktor Kojouharov e323bed654 emit "e,action,exec" once again. still needs to emit "e,action,start|stop" for apps with startup_notify
SVN revision: 29329
2007-04-03 20:26:41 +00:00
Sebastian Dransfeld 5c9c68298a Remove stale code.
SVN revision: 29160
2007-03-25 22:46:21 +00:00
Sebastian Dransfeld 47ad22217e Convert borders to efreet.
SVN revision: 29131
2007-03-25 17:23:49 +00:00
Sebastian Dransfeld ecde038c84 convert ibar to E_Order
SVN revision: 29099
2007-03-25 10:16:05 +00:00
Sebastian Dransfeld faf9f548bf Merge all app executing into one function.
SVN revision: 29026
2007-03-24 17:42:12 +00:00
Sebastian Dransfeld a5dd53e01c Remove old code.
SVN revision: 29004
2007-03-24 11:29:12 +00:00
Sebastian Dransfeld c299f6aa14 Add a convert callback so that a drag can have several types.
Make it possible to drag pager windows to the ibar.


SVN revision: 27751
2007-01-03 06:14:04 +00:00
Sebastian Dransfeld cba29bd250 Revert to old e_gadcon_client_new, some modules require id to be set on
the gadcon client after this func returns.


SVN revision: 27684
2006-12-30 23:32:25 +00:00
Sebastian Dransfeld 805315670b Clean up some gadcon config code.
Make id unique for each gadcon.


SVN revision: 27673
2006-12-30 17:54:27 +00:00
Sebastian Dransfeld 941564999b Fix border icon drag.
e_app_* functions should have E_App arg first.


SVN revision: 27593
2006-12-28 13:43:30 +00:00
Sebastian Dransfeld fa297ae0c1 Remove unused variables.
SVN revision: 27449
2006-12-14 19:31:48 +00:00
metrics a67e30a86f Allow dropping of icons from borders that don't have a corresponding
.desktop file.


SVN revision: 27326
2006-12-02 10:15:32 +00:00
metrics 0a83720d9b Allow dropping to the end location for autoscrolling ibars.
SVN revision: 27165
2006-11-18 04:56:12 +00:00
metrics 6f93ee0289 Bring back the drop box!
SVN revision: 27155
2006-11-17 07:05:45 +00:00
David Walter Seikel 50cf1ae98c *Make the apps config dialog even more generic.
*Use it from the startup config dialog.

I'm too tired for aesthetics, someone please make the startup config dialog
look pretty again.


SVN revision: 27130
2006-11-16 00:08:29 +00:00
metrics 7f9999dbf8 More fixes of the autoscroll/drag and drop behaviour for gadgets in
shelves. Added callback to allow the current drop position to be
dynamically updated as the gadget scrolling is animated.


SVN revision: 27114
2006-11-15 06:24:30 +00:00
metrics 5cc25e147a Start of fix for drag and drop to autoscrolling ibar/ibox.
SVN revision: 27068
2006-11-12 11:32:44 +00:00
Carsten Haitzler 8ca3b4ad4a delete all selected files... when u want to delete
SVN revision: 26408
2006-10-08 05:38:39 +00:00
David Walter Seikel 0075992b67 If ibar can't execute an app, no point in showing it.
SVN revision: 26358
2006-10-05 13:53:22 +00:00
Carsten Haitzler 3de858efc2 dnd to ibar from apps config and fwin/fm2 works
SVN revision: 26303
2006-10-02 14:34:19 +00:00
Massimo Maiurana 9ff6bf18d4 one string in ibar that needs to be translated, and two strings in exebuf to avoid duplicated entries in pot file
SVN revision: 26239
2006-09-30 12:02:11 +00:00
David Walter Seikel 22ea4787cd Added instrumentation so I can include it in timing tests.
SVN revision: 26227
2006-09-30 04:42:30 +00:00
David Walter Seikel 9366520fe9 No more seggie if the icons change before they are shown.
SVN revision: 26212
2006-09-29 08:48:37 +00:00
sebastid 11c9afa270 Add cast.
Remove unused variables.


SVN revision: 26102
2006-09-24 13:37:37 +00:00
sebastid 1251802479 Don't strdup homedir
SVN revision: 26026
2006-09-22 19:55:11 +00:00
Carsten Haitzler a9757fa04b i'm cleaning up dnd. fixed leaks. made dnd more convenient - less work to do
(it returns x,y coords relative to the drop target geom, not the screen,
start putting in all the necessary stuff in fm2 - can dnd 2 file now (drop
has no effect though)...


SVN revision: 25950
2006-09-18 03:49:45 +00:00
Carsten Haitzler 8497432eca fix up dnd to handle stacked windows and move the burden of window offset
handling etc. to dnd not the objects that create dnd zones. they onyl need to
now worry about the dnd zone withint heir canvas/window/whatever


SVN revision: 25903
2006-09-17 06:12:48 +00:00
David Walter Seikel 6bace96662 Tweak the E_App object reference counting. I think this is correct, but
I suspect the dir scanning in e_apps.c still needs an unref.


SVN revision: 25900
2006-09-17 00:13:52 +00:00
Carsten Haitzler 8c003ef92f patches from the world - fixes and todo's
SVN revision: 25578
2006-09-07 10:33:57 +00:00
moom ff7fff2dad * [Ibar/Ibox] Make "o_empty" object expand so we can right-click
everywhere in the ibar/ibox to add new icons when it's empty. (TODO--)


SVN revision: 25562
2006-09-06 21:40:17 +00:00
Carsten Haitzler c2a232bf45 get app from border now - no more zillions of params. also use wm command to
match


SVN revision: 25493
2006-09-05 14:44:28 +00:00
David Walter Seikel 2ee0222fac Actually add the application properly via the dialog.
SVN revision: 25408
2006-09-03 13:16:14 +00:00
David Walter Seikel 1255baa040 Converted to use .desktop file.
SVN revision: 25386
2006-09-03 07:42:06 +00:00
David Walter Seikel f5391cf9d6 *All applications dialog can now be called in a special way as an
application selector.

*IBar calls it in that special way to add applications.


SVN revision: 25205
2006-08-30 10:06:32 +00:00
rephorm e33c9a787e item -> e.swallow.content
SVN revision: 25086
2006-08-24 18:11:17 +00:00
rephorm d0a3102a4a and the modules...
SVN revision: 25060
2006-08-23 04:02:03 +00:00
rephorm a5c71890d4 ****** MAJOR THEME REWORKING -- BREAKAGE *********
Almost every signal and required part name has changed. This means that ALL themes other than the default one are now broken. Sorry, but this had to happen.

I have a list of mappings from old to new at http://rephorm.com/files/dump/e_theme_map.txt

There will probably be a little more cleanup on this in the coming days. Then I'll write it all up in a nice theme spec.


SVN revision: 25033
2006-08-22 07:39:11 +00:00