Commit Graph

256 Commits

Author SHA1 Message Date
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
David Walter Seikel e2d14dc0a0 Now uses e_app_icon_add() to add the icon, thus it will keep up in the
future with any changes in the way icons are added.


SVN revision: 24888
2006-08-18 23:45:06 +00:00
Carsten Haitzler a9e7340190 you're all goign to kill me :) but here goes - i broke the dialog and config
dialog api's - added name and class params so u can set the name and class -
so users can later use things like rememebr to rememebr where a dialog will
go for usability and convenience.


SVN revision: 24691
2006-08-14 15:22:46 +00:00
essiene e4b80ce483 Update core modules to use new default view settings
SVN revision: 24493
2006-08-09 06:38:35 +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 da2730a5aa Revert back to void for e_modapi_init, Andy is correct.
SVN revision: 23220
2006-06-06 15:21:48 +00:00
Christopher Michael 9caf447a33 Make e_modapi_init return int, not void *.
SVN revision: 23206
2006-06-06 09:54:14 +00:00
Christopher Michael 5ba5902c22 Added ability to create/delete bar sources in config dialog now.
Uses new e_entry_dialog code.
Added ability to select which eap field is shown in the label.

This removes TODO items for ibar :)


SVN revision: 23095
2006-06-02 19:09:08 +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 9ce88beab7 Add const modifiers
SVN revision: 23022
2006-05-31 16:12:16 +00:00
sebastid 0c0c0bbed5 Clean compiler warnings
SVN revision: 23019
2006-05-31 15:46:44 +00:00
Carsten Haitzler 0f5945349d gadcon config generates new id's for new gadcon clients... properly.
SVN revision: 22736
2006-05-19 12:56:47 +00:00
Christopher Michael 6f29d4ab5f Remove unused variable.
SVN revision: 22713
2006-05-18 20:06:49 +00:00
Christopher Michael b8a3ef44ee Removed unused variable 'found' in config_item_get function.
Cleaned up compiler warnings from evas_stringshare_add by making char *
into const char *.
Fixed _ibar_new function to use const char *.


SVN revision: 22696
2006-05-18 12:24:35 +00:00
Carsten Haitzler 19fd612b97 ibox makes it first gadcon moves.
SVN revision: 22689
2006-05-18 06:30:33 +00:00
Carsten Haitzler b0f31255e9 ibar picks up name changes now
SVN revision: 22599
2006-05-14 01:30:10 +00:00
Carsten Haitzler f0dae8e901 eap icons update realtime in borders based off on-disk changes etc. etc.
(editing icons seems to work like a charm for me so far).


SVN revision: 22598
2006-05-14 01:13:42 +00:00
Carsten Haitzler b3ca940aa8 empty ibar now lets u click on it for config...
SVN revision: 22509
2006-05-10 11:58:20 +00:00
Carsten Haitzler f4ea103ba8 flip bar dirs correctly :)
SVN revision: 22507
2006-05-10 09:18:27 +00:00
Carsten Haitzler 53f3e5dcd0 move bar directory down 1 level so all "bar" dirs are in their own domain -
makes listing available bar dirs, managing them and so on much simpler and
cleaner. also add label popups to ibar (finally).


SVN revision: 22502
2006-05-10 07:42:39 +00:00
Carsten Haitzler 7dc5dc0753 add icon provision for gadcon classes and label provider functions. also add
all the data, update and add new icons etc. etc.


SVN revision: 22495
2006-05-09 13:02:48 +00:00
Carsten Haitzler ea0876f7c8 start of some shelf config - START only... deal with it. debugging printfs
galore.


SVN revision: 22308
2006-04-23 06:56:22 +00:00
Carsten Haitzler 811083bcba more paranoid cleanup of menus
SVN revision: 22283
2006-04-21 15:54:11 +00:00
Carsten Haitzler fbd972cdb9 e packages build again - also not much point having an enlightenment-data as
it's built as an arch specific package and it is intrinsically required by e
and cannot work without it nor is the data shared betwene e and other apps
unless e itself is installed too


SVN revision: 22260
2006-04-20 11:30:25 +00:00
Carsten Haitzler 1a1d352ed3 fix dnd to ibar.
SVN revision: 21508
2006-03-25 05:28:57 +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 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