Commit Graph

360 Commits

Author SHA1 Message Date
Mike Blumenkrantz b632afa546 more accurately determine whether a mouse grab is active in some parts of e 2015-04-27 14:32:19 -04:00
Mike Blumenkrantz 62c4384ed9 allow client icon change events in ibar client prop handler
fix T2284
2015-04-13 16:17:13 -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 9e5e2767c7 remove E_Comp from e_desktop*edit apis 2015-03-18 11:33:01 -04:00
Mike Blumenkrantz 09ec213a31 remove e_util_zone_current_get() usage 2015-03-13 17:58:45 -04:00
Mike Blumenkrantz ba7c1ac49c remove E_Zone->comp member 2015-03-13 17:44:24 -04:00
Mike Blumenkrantz bacf638d73 remove E_Drag->comp and E_Comp param from e_drag_new() 2015-03-13 16:21:15 -04:00
Mike Blumenkrantz 1fe1c94245 comp canvas functions no longer require an E_Comp param 2015-03-13 16:07:08 -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 868ebe4e31 fix ibar drop calc to not unexpectedly trigger epileptic seizures in users
when attempting to drop on an icon, the drop area geometry was never included
in the calc, resulting in the drop changing between positions on every frame
2015-03-11 16:02:57 -04:00
Mike Blumenkrantz 18c821adc3 slight ibar dnd optimization when checking taskbar apps for drop site 2015-03-11 16:02:57 -04:00
Mike Blumenkrantz 45cb2e6cf1 redo ibar icon label position signalling to emit left/center/right
also calc based on icon position, not icon orientation
2015-03-06 18:54:31 -05:00
Marcel Hollerbach 9b3bdc57c2 Ibar: Emit the given origin to the Ibar Icon.
Summary:
This fixes T1828.

The theme also would have to support this!

Reviewers: zmike

Subscribers: myoungwoon, cedric

Maniphest Tasks: T1828

Differential Revision: https://phab.enlightenment.org/D1798
2015-02-17 17:20:13 -05:00
Mike Blumenkrantz f691a8fa18 fix elm box parenting 2015-01-20 19:20:04 -05:00
Mike Blumenkrantz a11e8d5f2e e_box -> elm_box conversion
the next installment in the exciting adventure game Elementary Wars!

happy new year from #teamborker
2015-01-01 17:45:34 -05:00
Leif Middelschulte 416aaa978d ibar: Fix "additional action"s and seperator placement.
Summary: This moves the additional actions to the top of the menu and the seperator right underneath.

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1694
2014-12-03 18:14:24 +09:00
Marcel Hollerbach 029e458a9e ibar: Changed the key which is used to store IBar Icons.
Summary:
Changed the key to orig_path, cause this is used to decided if something
is a duplicated entry in e_orders or not.

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1684
2014-11-25 16:18:06 +01:00
Leif Middelschulte 6a92676cf8 Implement FreeDesktop .deskop Additional Actions menu
Summary:
This implements the additional actions as specified in
FreeDesktop.org's desktop entry specification 1.1.
This version is implemented by Efreet 1.12

The additional actions are presented as right-click
menu entries.

@feature

Reviewers: zmike

Subscribers: tasn, q66, cedric

Differential Revision: https://phab.enlightenment.org/D1657
2014-11-24 13:33:02 -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
Chris Michael 911bffd23e modules/ibar: Fix Dereference before null check. Also remove extra
call to ibar_resize_handle (is already called from ibar_fill).

Fixes CID1039813

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-09-05 11:02:16 -04:00
Chris Michael c308904e9b fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-26 10:10:36 -04:00
Mike Blumenkrantz 9a1e8df8f1 redo ibar wheel logic
this is very slightly more cpu intensive but compensates by not inexplicably crashing
2014-07-14 13:12:32 -04:00
Mike Blumenkrantz 8c65d7452e fix ibar wheel scrolling with only one exe 2014-07-14 13:12:32 -04:00
Carsten Haitzler 6a1c47a23c fix ibar focus tracking bug with deleted objects (ERR complaints) 2014-07-01 17:13:42 +09:00
Chris Michael 8c21a8a0a0 ibar: add some safeguards to make sure an icon has an exe_current
before trying to get list data from it.

NB: Safeguards added to stop crashes from happening during a
mouse_wheel (reported from Guy Martin).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-06-26 16:30:45 -04:00
Carsten Haitzler 30b5b6d70c ibar - fix segv when ibar_icon data is NULL 2014-06-20 07:32:31 +09:00
Mike Blumenkrantz 3e2c16ebfd update ibar menu theme states dynamically
fix T1300
2014-06-16 13:35:57 -04:00
Mike Blumenkrantz f4e460237b unify ibar menu hiding 2014-06-16 13:35:57 -04:00
Mike Blumenkrantz 32c1638da7 simplify ibar client desk visibility check 2014-06-16 13:35:57 -04:00
Mike Blumenkrantz ace6b24955 rename ibar focus signals 2014-06-16 13:35:57 -04:00
Cedric BAIL 3f9af38da2 edje: remove use of deprecated functions. 2014-06-07 21:10:55 +02:00
Carsten Haitzler 0128f86e1e ibar - send signals to icon menu items to indicat focus, other desk 2014-05-30 12:45:26 +09:00
Mike Blumenkrantz 76ad5a9218 don't set pass events on ibar icons 2014-05-08 17:00:15 -04:00
Mike Blumenkrantz 7b88d63e52 ibar menu no longer sometimes covers its ibar 2014-05-08 17:00:15 -04:00
Mike Blumenkrantz 392aea270a use same zone for ibar menu as gadget 2014-05-08 17:00:15 -04:00
Mike Blumenkrantz aff4f3516f clamp ibar menu location to ibar zone
fix T1170

fix T1174
2014-05-07 12:06:25 -04:00
Mike Blumenkrantz 0b6b75939e hide ibar menu if no clients exist for lone exe instance 2014-05-07 11:54:34 -04:00
Mike Blumenkrantz 789a0acbb1 remove unused ibar variable set
CID 1155291, 1058715
2014-04-04 15:04:28 -04:00
Mike Blumenkrantz 32e928b55b bugfix: ibar now scrolls correctly during drags
fix T794
2014-03-28 12:23:18 -04:00
Stefan Schmidt 4edf57320e modules/ibar: Fix condition check for edje emits
This fixes a copy and paste error which sneaked into
daa98e867d

CID 1194780
2014-03-28 10:14:37 +01:00
Mike Blumenkrantz daa98e867d fix lots of edje emits on non-edje objects 2014-03-27 16:47:18 -04:00
Mike Blumenkrantz ee1cc930c1 ibar mouseover menu no longer breaks when client menu is activated 2014-03-14 11:42:09 -04:00
Carsten Haitzler fd0048b0f4 ibar - fix separator to properly be horizontal on vertical ibars 2014-02-15 21:35:48 +09:00
Mike Blumenkrantz 6da74c5f06 bugfix: only remove an ibar no-order icon if ALL icon's clients are skip
T953
2014-02-14 15:58:49 -05:00
Mike Blumenkrantz de7d818f99 break when finding a non-skip new ibar exec 2014-02-14 15:57:33 -05:00
Mike Blumenkrantz 8d71213839 e_client_name_get() -> e_client_util_name_get()
this should be inlined
2014-02-05 10:55:50 -05:00
Carsten Haitzler 61aa61651c ibox/ibar/tasks iconify effect - don't do it if target is not on same screen 2014-01-30 07:45:02 +09:00
Mike Blumenkrantz 9b36b9b78c remove comp iconify hacks (and e_iconify api), expand comp object effect api
instead of adding specific handling which will work (sometimes) in one specific case, expand already-existing api to provide the needed functionality for iconify animations. now on emitting any signal to a comp object, optional glob-able effect providers can be hooked and prioritized to add effect animations

also use animating flags now when applying an object effect

a base effect is provided in elementary, but now each module which wants to hook iconify animations (or other events) can do so in the theme and have different animations with their module
2014-01-29 13:36:42 -05:00