packages: xfce4-playercontrol-plugin/xfce4-playercontrol-plugin.spec, xfce4...
baggins
baggins at pld-linux.org
Thu May 17 23:25:20 CEST 2012
Author: baggins Date: Thu May 17 21:25:20 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- update to current gtk api
---- Files affected:
packages/xfce4-playercontrol-plugin:
xfce4-playercontrol-plugin.spec (1.9 -> 1.10) , xfce4-playercontrol-plugin-GtkTooltips.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/xfce4-playercontrol-plugin/xfce4-playercontrol-plugin.spec
diff -u packages/xfce4-playercontrol-plugin/xfce4-playercontrol-plugin.spec:1.9 packages/xfce4-playercontrol-plugin/xfce4-playercontrol-plugin.spec:1.10
--- packages/xfce4-playercontrol-plugin/xfce4-playercontrol-plugin.spec:1.9 Thu May 17 22:04:35 2012
+++ packages/xfce4-playercontrol-plugin/xfce4-playercontrol-plugin.spec Thu May 17 23:25:15 2012
@@ -12,6 +12,7 @@
Patch1: %{name}-ui.patch
Patch2: %{name}-panel48.patch
Patch3: %{name}-desktop.patch
+Patch4: %{name}-GtkTooltips.patch
URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-xmms-plugin
BuildRequires: audacious-devel >= 2.5.0
BuildRequires: autoconf >= 2.63
@@ -68,6 +69,7 @@
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
%{__intltoolize}
@@ -120,6 +122,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.10 2012/05/17 21:25:15 baggins
+- update to current gtk api
+
Revision 1.9 2012/05/17 20:04:35 baggins
- release 8
================================================================
Index: packages/xfce4-playercontrol-plugin/xfce4-playercontrol-plugin-GtkTooltips.patch
diff -u /dev/null packages/xfce4-playercontrol-plugin/xfce4-playercontrol-plugin-GtkTooltips.patch:1.1
--- /dev/null Thu May 17 23:25:20 2012
+++ packages/xfce4-playercontrol-plugin/xfce4-playercontrol-plugin-GtkTooltips.patch Thu May 17 23:25:15 2012
@@ -0,0 +1,30 @@
+--- xfce4-playercontrol-plugin-0.3.0/panel-plugin/playercontrol_plugin.h.orig 2012-05-17 23:20:37.436946417 +0200
++++ xfce4-playercontrol-plugin-0.3.0/panel-plugin/playercontrol_plugin.h 2012-05-17 23:22:09.970276485 +0200
+@@ -73,7 +73,6 @@
+ typedef struct {
+ GtkWidget *boxMain, *boxV, *pbar, *vol_pbar, *viewport, *label, *menu_btn, *spec_opts;
+ XfcePanelPlugin *base;
+- GtkTooltips *tooltip;
+ PangoAttribute *labelattr;
+ PangoAttrList *labelattrlist;
+ gint titletextsize, title_scroll_position, playlist_position;
+--- xfce4-playercontrol-plugin-0.3.0/panel-plugin/playercontrol_plugin.c.orig 2012-05-17 23:22:20.653609441 +0200
++++ xfce4-playercontrol-plugin-0.3.0/panel-plugin/playercontrol_plugin.c 2012-05-17 23:23:48.656939670 +0200
+@@ -318,7 +318,7 @@
+ else
+ tooltip = g_strdup_printf(TITLE_STRING);
+
+- gtk_tooltips_set_tip (pd->tooltip, GTK_WIDGET(pd->base), tooltip, NULL);
++ gtk_widget_set_tooltip_text(GTK_WIDGET(pd->base), tooltip);
+
+ if (pd->simple_title) label = g_strdup_printf("%s %s ", tooltip, tooltip);
+ else label = g_strdup_printf("%s +++ %s +++", tooltip, tooltip);
+@@ -659,7 +659,7 @@
+ pd->base = plugin;
+ gtk_widget_add_events(GTK_WIDGET(plugin), GDK_SCROLL_MASK);
+ g_signal_connect(G_OBJECT(plugin),"scroll_event",G_CALLBACK(box_scroll), pd);
+- gtk_tooltips_set_tip (pd->tooltip, GTK_WIDGET(plugin), TITLE_STRING, NULL);
++ gtk_widget_set_tooltip_text(GTK_WIDGET(plugin), TITLE_STRING);
+
+ /* main container for the plugin widgets */
+ boxMain = gtk_hbox_new(FALSE, 0);
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/xfce4-playercontrol-plugin/xfce4-playercontrol-plugin.spec?r1=1.9&r2=1.10
More information about the pld-cvs-commit
mailing list