← Back to team overview

ayatana-commits team mailing list archive

[Merge] lp:~3v1n0/indicator-applet/scroll-api-merge into lp:indicator-applet

 

Treviño (Marco Trevisan) has proposed merging lp:~3v1n0/indicator-applet/scroll-api-merge into lp:indicator-applet.

Requested reviews:
  Indicator Applet Developers (indicator-applet-developers)
Related bugs:
  Bug #804618 in Indicator Applet: "Merge libindicator scroll signals"
  https://bugs.launchpad.net/indicator-applet/+bug/804618

For more details, see:
https://code.launchpad.net/~3v1n0/indicator-applet/scroll-api-merge/+merge/66681

Send the "entry-scrolled" signal instead of the old (duplicated) ones.
It follows the API change of libindicator. See related bug #804618 for more informations.

It needs the merge of lp:~3v1n0/libindicator/scroll-api-merge
-- 
https://code.launchpad.net/~3v1n0/indicator-applet/scroll-api-merge/+merge/66681
Your team ayatana-commits is subscribed to branch lp:indicator-applet.
=== modified file 'src/applet-main.c'
--- src/applet-main.c	2011-04-13 16:22:14 +0000
+++ src/applet-main.c	2011-07-02 03:58:23 +0000
@@ -259,8 +259,7 @@
 
 	g_return_val_if_fail(INDICATOR_IS_OBJECT(io), FALSE);
 
-	g_signal_emit_by_name (io, "scroll", 1, event->direction);
-	g_signal_emit_by_name (io, "scroll-entry", entry, 1, event->direction);
+	g_signal_emit_by_name (io, INDICATOR_OBJECT_SIGNAL_ENTRY_SCROLLED, entry, 1, event->direction);
 
 	return FALSE;
 }