Commit Graph

167 Commits

Author SHA1 Message Date
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
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
Christopher Michael 5919e72ad2 Add UNUSED where needed.
SVN revision: 51407
2010-08-19 15:49:25 +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 f2c243f91e make clang happy
SVN revision: 45191
2010-01-15 19:36:00 +00:00
Christopher Michael e300511319 Fix the last of the config dialog problems
SVN revision: 44164
2009-12-03 04:46:49 +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
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 fb323cef74 temporarily show the shelf on urgent windows (ibox)
SVN revision: 39649
2009-03-23 12:14:31 +00:00
Christopher Michael f7ad8fce82 no reason to set the text of o_holder as it contains no text part.
SVN revision: 39454
2009-03-12 20:55:10 +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 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 610f3a36da fix segfault, caught by clang -- easy fix.
SVN revision: 38554
2009-01-12 17:11:34 +00:00
Carsten Haitzler b273fe10db use settings insetad of configuration. shorter.
SVN revision: 37742
2008-11-22 08:42:54 +00:00
Christopher Michael c3434ee35a No need to fetch width & height.
SVN revision: 37543
2008-11-08 05:53:02 +00:00
Davide Andreoli 0a4e971359 * Make ibox use the new orient param
SVN revision: 37478
2008-11-05 19:43:26 +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
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
Carsten Haitzler db4a8f8ba4 patch from petet can de werken with sticky signals and maximize
SVN revision: 33925
2008-03-05 02:54:30 +00:00
Sebastian Dransfeld 7cfefaf692 Add const modifier.
SVN revision: 33638
2008-01-27 19:33:27 +00:00
Eric Schuele 103936c011 Allow ibox to show the border caption. This was not garunteed with the previously available options.
SVN revision: 33546
2008-01-21 06:11:56 +00:00
Carsten Haitzler 2405363f94 errrr. commit? did the last one work?
SVN revision: 32232
2007-10-31 12:23:15 +00:00
Eric Schuele 7721df0f40 Pass in the actual config item.
SVN revision: 32043
2007-10-12 06:45:31 +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
Carsten Haitzler 06bee9effc fix fill call - that was just unsafe
SVN revision: 30255
2007-06-05 15:13:08 +00:00
Sebastian Dransfeld 5c9c68298a Remove stale code.
SVN revision: 29160
2007-03-25 22:46:21 +00:00
Sebastian Dransfeld c129c20ab6 Update icon name.
SVN revision: 29059
2007-03-24 23:12:23 +00:00
Christopher Michael d8bff402b4 Ravenlock's ibox patch for icons always showing all icons when restart.
SVN revision: 28796
2007-03-18 17:15:59 +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
Viktor Kojouharov 74f9fa0bf6 fill the icon name on mouse-in, to catch changed icons
SVN revision: 27740
2007-01-02 20:55:12 +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 a87dfea106 Remove unused variables.
SVN revision: 27451
2006-12-14 19:37:51 +00:00
Christopher Michael ea399a4f67 If we don't have a match for netwm.name, use icccm.name for label display.
SVN revision: 27297
2006-11-30 18:07:50 +00:00
metrics 6f93ee0289 Bring back the drop box!
SVN revision: 27155
2006-11-17 07:05:45 +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
Viktor Kojouharov 5590223ae0 urgent signals to the icon itself, not only to the overlay
SVN revision: 26781
2006-10-24 18:32:58 +00:00
Viktor Kojouharov d2515a119e the pager and iconbox now emit a signal when a border changes state from urgent
to normal and the other way around.

for the themers: the iconbox icon, the pager window and the pager desk, receive
 the signals e,state,urgent and e,state,not_urgent, so you can do something nice
 with those.


SVN revision: 26772
2006-10-24 14:32:22 +00:00
sebastid 11c9afa270 Add cast.
Remove unused variables.


SVN revision: 26102
2006-09-24 13:37:37 +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
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
David Walter Seikel 1255baa040 Converted to use .desktop file.
SVN revision: 25386
2006-09-03 07:42:06 +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
essiene e4b80ce483 Update core modules to use new default view settings
SVN revision: 24493
2006-08-09 06:38:35 +00:00
sebastid db452b14ac Fix warnings.
SVN revision: 24421
2006-08-06 02:21:07 +00:00
Carsten Haitzler b39f202fd7 several leak--
SVN revision: 24294
2006-07-29 10:05:34 +00:00
Christopher Michael 643d4da1f6 Cleanup: Fix return value of modapi_init
SVN revision: 24187
2006-07-25 04:15:11 +00:00
Christopher Michael 17475003db Module about dialogs now show the module icon in the dialog, and the border.
Note: This breaks e_modules until I get them fixed.


SVN revision: 23660
2006-07-02 18:55:33 +00:00
Christopher Michael 84a0afbc45 Fix formatting for a function. Conforms to E formats now.
SVN revision: 23397
2006-06-12 10:21:18 +00:00
Carsten Haitzler 3ed15b3abb dont uselessly repopulate
SVN revision: 23390
2006-06-12 03:50:51 +00:00
Christopher Michael 0b853ce1dc Revert back to void for e_modapi_init.
SVN revision: 23222
2006-06-06 15:33:44 +00:00
Christopher Michael ac459c4c81 Fix e_modapi_init to return int, not void.
SVN revision: 23208
2006-06-06 09:59:16 +00:00
Christopher Michael 88b38caf30 Removed the FIXME: Icon preferences comment.
SVN revision: 23105
2006-06-03 01:50:19 +00:00
Christopher Michael 738604bb20 IBox now has config options for setting what is displayed in icon label.
Note: May need to "grandma"-ize this :)


SVN revision: 23104
2006-06-03 01:49:33 +00:00
sndev d13e0da18a Improving ibox.
* New config options that allow to show iconified wins from all zones/current zone/all zone desktops/current zone desktop.
* fixing multiple config dialogs issue. Only one config dialog is allowed per module instance.


SVN revision: 23103
2006-06-03 00:03:09 +00:00
Carsten Haitzler 3a2144cad0 nice little overhaul of module related stuff. moduels now finally RELY on
module.eap files being installed - and using the e_apps api to load them and
ask for a name. Also icon is expected to be in this file too and i have
removed the info func call from modules as well as config_menu, module menus,
and other cruft in moduel structs. this also means revving the module api
version and saving users from a "if i recompile it will work" thing. :)
moduels need serious updates, not just a recompile for this. your modules
WILL break.


SVN revision: 23045
2006-06-01 06:44:37 +00:00
sebastid 9cb379777f Add const
SVN revision: 23024
2006-05-31 16:31:51 +00:00
sndev 7370ced84f * Focus window on uniconify.
SVN revision: 22939
2006-05-27 22:58:09 +00:00
Christopher Michael cc742cb5f6 IBox labels are now optional.
Config Dialog added.
Multiple IBox Instances supported.


SVN revision: 22887
2006-05-25 13:25:37 +00:00
Carsten Haitzler 3c7f797f08 dnd from border to ibox iconifies
SVN revision: 22691
2006-05-18 07:28:51 +00:00
Carsten Haitzler 19fd612b97 ibox makes it first gadcon moves.
SVN revision: 22689
2006-05-18 06:30:33 +00:00
handyande 00330faaf9 Move the manipulation of user specified policy flags (ALLOW_OVERLAP and ALWAYS_ON_TOP (not used yet)) to the gadman edit menu, saves a LOT of code inside modules
SVN revision: 21226
2006-03-12 16:12:59 +00:00
Christopher Michael 3c8fe5f76f Nicer menus...shhh ! :)
SVN revision: 20642
2006-02-20 19:11:22 +00:00
Carsten Haitzler dbe58aab6e itray fixies - gadman needfs work. might tackle that next.
SVN revision: 20192
2006-02-02 03:53:39 +00:00
Carsten Haitzler 5f71f7acf5 2 pending patches in my inbox.
1. "allow overlap" patch for modules - needs better names in the gui (Allow
windows to overlap maybe - as allow overlap is very vague)
2. itray module (buggy - buggy - beware. i know why. beware i said!)
3. TODO items


SVN revision: 19911
2006-01-20 04:04:14 +00:00
Christopher Michael 18b4588fc2 Remove unused function & proto
SVN revision: 19630
2006-01-07 23:45:40 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
Christopher Michael 6bf7badbe5 If a module has a config dialogue, destroy it on module shutdown
SVN revision: 19576
2006-01-06 21:45:57 +00:00
Christopher Michael 1cebd90d14 Fix this the right way. Better trapping
SVN revision: 19423
2005-12-30 14:07:44 +00:00
Christopher Michael 6d8c8baa0f Remove the list free. May cause segfault when unloading module
SVN revision: 19422
2005-12-30 14:00:17 +00:00
Christopher Michael 1e1eea1558 Fix IBox Configure Call to check for current container
SVN revision: 19421
2005-12-30 13:58:16 +00:00
Christopher Michael 0affc3ee5c Remove unused protos. Cleanups
SVN revision: 19287
2005-12-24 20:01:03 +00:00
Christopher Michael 517eb4c9cf Rename e_int_config calls to avoid E namespace conflicts
SVN revision: 19105
2005-12-18 06:33:14 +00:00
Christopher Michael 178e043451 Fix Autosize Bug When Ibox is at top or bottom of screen
SVN revision: 19097
2005-12-17 22:57:15 +00:00
Carsten Haitzler 71040b0586 module config dialog
SVN revision: 19089
2005-12-17 11:21:54 +00:00
Christopher Michael 36e2bbf4c6 Add Tobb's Ibox Patch: Don't move follower around when moving the ibox in edit mode
SVN revision: 19066
2005-12-16 04:34:47 +00:00
Christopher Michael 76c17f4207 Add missing include
SVN revision: 19034
2005-12-15 04:28:23 +00:00
Christopher Michael a8f6f0a453 Change Config Dialog To Configuration :)
SVN revision: 19033
2005-12-15 04:03:04 +00:00
Christopher Michael 3a99c51598 IBox Config Dialog :)
SVN revision: 18992
2005-12-13 14:32:18 +00:00
Christopher Michael 3239ca0d1d Add onefang's Ibar follower fix to IBox
SVN revision: 18988
2005-12-13 04:58:33 +00:00
Christopher Michael c69241e9e4 Fix for Ibox making E segv when window quits
SVN revision: 18984
2005-12-13 02:56:19 +00:00
Carsten Haitzler 907ad9eb4b fix ibox
SVN revision: 18256
2005-11-04 00:21:34 +00:00
Carsten Haitzler a8476f0a30 modules back to normal
SVN revision: 18253
2005-11-03 15:16:12 +00:00
sebastid f53dc6c105 Check if follower exists.
SVN revision: 17333
2005-10-08 19:44:32 +00:00
Christopher Michael 6cf1bd3732 Add an option to enable/disable the follower.
SVN revision: 17298
2005-10-08 01:30:57 +00:00
sebastid 9bc073683d i18n fix. Thanks to Massimo Maiurana
SVN revision: 16995
2005-09-27 18:46:48 +00:00
sebastid f4498d11a3 New modapi!
If a module fails to load, don't unload it. Mark it with an error flag,
and ask the user if he wants to unload it.


SVN revision: 16918
2005-09-24 13:42:05 +00:00
sebastid 74f0aa00c7 Move module api check to module loader.
SVN revision: 16873
2005-09-23 17:13:47 +00:00