summaryrefslogtreecommitdiff
path: root/libappindicator-gtk2/improved-plasma-support.patch
blob: f41a18652c84a0ff214dc0b64325c54e0e3ee580 (plain)
    1 diff -Naur a/src/app-indicator.c b/src/app-indicator.c
    2 --- a/src/app-indicator.c	2017-10-23 07:03:29.000000000 +0000
    3 +++ b/src/app-indicator.c	2017-10-23 13:25:03.332259298 +0000
    4 @@ -1178,7 +1178,8 @@
    5  		delta = ABS(delta);
    6  		g_signal_emit(app, signals[SCROLL_EVENT], 0, delta, direction);
    7  
    8 -	} else if (g_strcmp0(method, "SecondaryActivate") == 0 ||
    9 +	} else if (g_strcmp0(method, "Activate") == 0 ||
   10 +	           g_strcmp0(method, "SecondaryActivate") == 0 ||
   11  	           g_strcmp0(method, "XAyatanaSecondaryActivate") == 0) {
   12  		GtkWidget *menuitem = priv->sec_activate_target;
   13  		
   14 diff -Naur a/src/notification-item.xml b/src/notification-item.xml
   15 --- a/src/notification-item.xml	2017-10-23 07:03:29.000000000 +0000
   16 +++ b/src/notification-item.xml	2017-10-23 13:24:48.252258271 +0000
   17 @@ -20,6 +20,10 @@
   18  		<property name="XAyatanaOrderingIndex" type="u" access="read" />
   19  
   20  <!-- Methods -->
   21 +		<method name="Activate">
   22 +			<arg type="i" name="x" direction="in" />
   23 +			<arg type="i" name="y" direction="in" />
   24 +		</method>
   25  		<method name="Scroll">
   26  			<arg type="i" name="delta" direction="in" />
   27  			<arg type="s" name="orientation" direction="in" />

Generated by cgit