Commit Graph

66 Commits

Author SHA1 Message Date
Marcel Hollerbach 58e610ff0c systray: use the external watcher daemon 2016-01-10 12:19:05 +01:00
Mike Blumenkrantz 432d1e3776 cache systray items for each dbus session
the current spec does not directly require any behavior from clients
when a systray host, leading to an issue where clients do not re-register
their items when a new host appears

when using an in-process systray watcher, as the current implementation does,
the best choice for maintaining consistency for systray items across restarts
is to cache them according to the current dbus session. the process of setting
up the item will validate it on subsequent restarts, and changes to the session
will clear the cache

fix T2786
2015-10-14 16:30:41 -04:00
Chris Michael 0a94e8ba71 enlightenment: Make E build again with EFL from git
sed -i 's/EAPI/E_API/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -04:00
Stefan Schmidt 566b91322f systray: Remove self assignment from e_comp
Another left over from the e_comp refactor.

CID: 1291839
2015-04-16 17:00:08 +02:00
Mike Blumenkrantz a91444a0c4 remove E_Comp from gadman and systray structs 2015-03-20 15:25:56 -04:00
Mike Blumenkrantz c727545bb2 remove E_Comp->num
num is always 0
2015-03-20 14:59:19 -04:00
Mike Blumenkrantz 58447e9508 completely remove E_Manager
the final step in flattening all the canvas/screen apis
2015-03-19 16:53:32 -04:00
Mike Blumenkrantz 471dcb24cb __UNUSED__ -> EINA_UNUSED
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
2015-03-18 18:09:09 -04:00
Mike Blumenkrantz 09ec213a31 remove e_util_zone_current_get() usage 2015-03-13 17:58:45 -04:00
Mike Blumenkrantz ed897a231e de-e_comp_get()ify e
mrw I remember how to regex http://i.giphy.com/dC9dujPVeAfIY.gif
2015-03-13 15:12:20 -04:00
Mike Blumenkrantz 5bd1587078 remove xembeds from systray module 2014-11-25 15:20:11 -05:00
Mike Blumenkrantz 99589eb5af remove E_Win+e_canvas, convert all internal wins to use elm_win
known issues:

* keybindings for efm windows (eg. ctrl+w) are broken until the rest of the conversion is completed
2014-11-20 15:26:21 -05:00
Mike Blumenkrantz 85bc707ab9 yet another systray overhaul to avoid destroying batter after nocomp ends
bottom line, this is a pile-of-shit protocol to work with if you're compositing. at present, any xembeds which were present before a nocomp event will be permanently destroyed, and they can't be recovered until the app re-creates them. afaik, no app does this unless you restart it.
2014-09-01 10:30:53 -04:00
Mike Blumenkrantz 16e7c57ba4 bugfix: prevent out of bounds access in systray theme setup
CID 1039843
2014-03-13 10:53:55 -04:00
Mike Blumenkrantz 86656e4df9 compositor rewrite / charlie-foxtrot situation
huge fustercluck commit because there wasn't really a way to separate out the changes. better to just rip it all out at once.

* compositor and window management completely rewritten. this was the goal for E19, but it pretty much required everything existing to be scrapped since it wasn't optimized, streamlined, or sensible. now instead of having the compositor strapped to the window manager like an outboard motor, it's housed more like an automobile engine.

** various comp structs have been merged into other places (eg. E_Comp_Zone is now just part of E_Zone where applicable), leading to a large deduplication of attributes

** awful E_Comp_Win is totally dead, having been replaced with e_comp_object smart objects which work just like normal canvas objects

** protocol-specific window management and compositor functionality is now kept exclusively in backend files

** e_pixmap api provides generic client finding and rendering api

** screen/xinerama screens are now provided directly by compositor on startup and re-set on change

** e_comp_render_update finally replaced with eina_tiler

** wayland compositor no longer creates X windows

** compositor e_layout removed entirely

* e_container is gone. this was made unnecessary in E18, but I kept it to avoid having too much code churn in one release. its sole purpose was to catch some events and handle window stacking, both of which are now just done by the compositor infra

* e_manager is just for screensaver and keybind stuff now, possibly remove later?

* e_border is gone along with a lot of its api. e_client has replaced it, and e_client has been rewritten completely; some parts may be similar, but the design now relies upon having a functional compositor

** window configuration/focus functions are all removed. all windows are now managed solely with evas_object_X functions on the "frame" member of a client, just as any other canvas object can be managed.

*** do NOT set interceptors on a client's comp_object. seriously.

* startup order rewritten: compositor now starts much earlier, other things just use attrs and members of the compositor

* ecore_x_pointer_xy_get usage replaced with ecore_evas_pointer_xy_get

* e_popup is totally gone, existing usage replaced by e_comp_object_util_add where applicable, otherwise just placed normally on the canvas

* deskmirror is (more) broken for now

* illume is totally fucked

* Ecore_X_Window replaced with Ecore_Window in most cases

* edge binding XWindows replaced with regular canvas objects

* some E_Win functionality has changed such that delete callbacks are now correctly called in ALL cases. various dialogs have been updated to not crash as a result

comp files and descriptions:

e_comp.c - overall compositor functions, rendering/update loop, shape cutting

e_comp_x.c - X window management and compositor functionality

e_comp_wl.c - Wayland surface management and compositor functionality

e_comp_canvas.c - general compositor canvas functions and utilities

e_comp_object.c - E_Client->frame member for managing clients as Evas_Objects, utility functions for adding objects to the compositor rendering systems

additional authors: ivan.briano@intel.com

feature: new compositor

removal: e_border, e_container, e_popup
2014-01-14 20:22:02 -05:00
José Roberto de Souza dc74938241 Refactor systray to have only one box
This is simpler and avoid some edje erros.

This patch depends on a patch on elementary to update systray edj.
2013-12-18 16:25:23 -05:00
Mike Blumenkrantz 8aa2829cdb remove another systray layer check 2013-06-12 14:56:16 +01:00
Igor Murzov d4176581fa Make systray settings dialog translatable 2013-06-09 20:12:59 +04:00
Igor Murzov 4d345be847 Don't ask questions in systray settings dialog 2013-06-09 20:12:59 +04:00
Igor Murzov aa7ebc4c73 Fix copy'n'paste issue 2013-06-09 20:12:58 +04:00
Mike Blumenkrantz 0eb88a495d make systray Instance struct public 2013-05-28 13:18:28 +01:00
Mike Blumenkrantz 4b8a73b1d9 systray is effectively the same whether it's in a shelf or on the desktop now, make it work for both 2013-05-28 13:18:28 +01:00
Mike Blumenkrantz 646f90439f increase systray min width, define systray gadget min sizes, also apply min sizes when resizing dynamically 2013-05-09 07:57:06 +01:00
Mike Blumenkrantz dbd0670bfc systray now has a min size of 8x8 so it can be clicked 2013-02-22 13:56:47 +00:00
Mike Blumenkrantz 324af69e29 ensure same name is used for config edd as type in systray
SVN revision: 83583
2013-02-04 08:26:02 +00:00
Mike Blumenkrantz 66b451229e From: zehortigoza@profusion.mobi (Jose Souza)
Subject: [PATCH] e systray: Add configuration dialog to enable/disable xembed support


SVN revision: 83580
2013-02-04 08:18:21 +00:00
José Roberto de Souza a913411beb e systray: Move dbus stuff out of gadcon instance
This fix a bug that was empty dbus notification when shelf is moved and
also allow multiple instance if some day we drop xembed support.

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82492
2013-01-09 22:38:21 +00:00
José Roberto de Souza 3014654d58 e systray: Initial commit of dbus notifier host
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82111
2013-01-03 22:07:26 +00:00
Gustavo Sverzut Barbieri 7ec37a51a9 systray: split xembed part into own file, prepare to receive d-bus
There is a new d-bus systray spec by KDE that is less retarded. It's
used by KDE and other environments such as Ubuntu's Unity. We'll
integrate code to have E17 to support this spec, then we must separate
the XEmbed part into its own file to avoid confusion.

Patch by: Gustavo Sverzut Barbieri <barbieri@profusion.mobi>



SVN revision: 82016
2013-01-02 20:38:36 +00:00
Mike Blumenkrantz 6e7b994ed4 set systray default style to plain, recreate systray when icon is deleted to prevent crazy sizing issues
SVN revision: 81554
2012-12-21 15:23:46 +00:00
Mike Blumenkrantz b577c7e900 pop an error message about systray's ugliness when shelf style is invisible
SVN revision: 80653
2012-12-11 12:47:10 +00:00
Mike Blumenkrantz 214c57e210 use correct geom for systray icon scaling, also clamp to shelf size
SVN revision: 80596
2012-12-10 11:30:33 +00:00
Mike Blumenkrantz 0dd759c208 normalize systray icon size against shelf size
ticket #1945


SVN revision: 80462
2012-12-07 14:15:23 +00:00
Mike Blumenkrantz 4c9d587ecb use e_util icon size normalizing function in systray
SVN revision: 80461
2012-12-07 14:12:29 +00:00
Mike Blumenkrantz c6a9c34e7f giant header overhaul which removes all the stupid one line function prototype headers and e_mod_main.h headers that contain nothing but unnecessary module api prototypes
SVN revision: 79908
2012-11-30 14:38:34 +00:00
Mike Blumenkrantz 2434f5adbe more PATH_MAX cleanups
SVN revision: 75520
2012-08-22 07:32:12 +00:00
Mike Blumenkrantz 94e2fc5257 clean up gadget right click menus to stop leaking
SVN revision: 75285
2012-08-15 07:22:04 +00:00
Mike Blumenkrantz 98601e4198 sed -i 's/(E_Gadcon_Client_Class/(const E_Gadcon_Client_Class/g'
SVN revision: 74474
2012-07-27 08:25:22 +00:00
Mike Blumenkrantz b3e909434b someone got a little too clever trying to disable multiple systray instances and now it doesn't even display an error dialog. well let me tell you, we like our error dialogs. we like them a lot.
SVN revision: 72562
2012-06-21 06:36:14 +00:00
Mike Blumenkrantz 7a38549bd4 formatting
SVN revision: 72541
2012-06-20 12:55:44 +00:00
Carsten Haitzler 317853d95c fix systray size creep
SVN revision: 71411
2012-05-24 11:39:20 +00:00
Cedric BAIL c2a29811d5 e: massiv warning cleanup !
SVN revision: 70756
2012-05-04 09:38:52 +00:00
Boris Faure 328496c8f4 e: oopsie. warnings--
SVN revision: 65205
2011-11-14 22:04:27 +00:00
Hannes Janetzek 63aa27757d e17/systray: whoops, revert this part
SVN revision: 64532
2011-10-30 19:48:58 +00:00
Hannes Janetzek 707aed7926 e17: add notification that systray does not work on a shelf that is 'below everything'
- native speakers are welcome to correct the message


SVN revision: 64531
2011-10-30 19:46:30 +00:00
Christopher Michael 09ec19d893 E/Systray: Add ability for systray to go into illume indicator for Rui.
Basically this checks the gadcon's 'site', if it's Desktop or any
toolbars then systray cannot go there.



SVN revision: 63069
2011-09-01 21:25:02 +00:00
Christopher Michael 165813d5de E: Fix systray module to be engine independant by using just ecore_x
library calls.



SVN revision: 61556
2011-07-21 12:10:16 +00:00
Hannes Janetzek a18b47ef6c e17/systray: dont allow to add systray to destop. seems to have issue
SVN revision: 58567
2011-04-11 20:25:31 +00:00
Hannes Janetzek 7f457f1911 e17: add option to have gadcon client settings menu in toplevel again.
added e_menu_item_new_relative(E_Menu, E_Menu_Item *rel) which appends 
 new item to rel or prepends it when rel is NULL.

changed e_gadcon_util_client_menu_append to to take only the gadget menu
 and returns the new toplevel menu that should be shown by gcc
 depending on the setting this is a new menu with gadget menu as submenu
 or the gadet_menu with gadget menu items appended

updated e-modules-extra comes in a minute


SVN revision: 57826
2011-03-17 17:08:36 +00:00
Sebastian Dransfeld 02910b4579 Right orientation for left and right side
SVN revision: 54245
2010-11-06 19:47:55 +00:00