From d6ed5ee9f9682d7de5012fac6528f46675cfb43c Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Mon, 6 Nov 2006 07:42:50 +0000 Subject: gtk+: remove a couple of obsolete versions, major stable versions remain gtk+-2.6.10: add menu styling patch based on gtk+ 2.7 --- .../gtk+/gtk+-2.6.4-1.osso7/gtktoolbutton.c.diff | 65 ---------------------- 1 file changed, 65 deletions(-) delete mode 100644 packages/gtk+/gtk+-2.6.4-1.osso7/gtktoolbutton.c.diff (limited to 'packages/gtk+/gtk+-2.6.4-1.osso7/gtktoolbutton.c.diff') diff --git a/packages/gtk+/gtk+-2.6.4-1.osso7/gtktoolbutton.c.diff b/packages/gtk+/gtk+-2.6.4-1.osso7/gtktoolbutton.c.diff deleted file mode 100644 index 15e15fe796..0000000000 --- a/packages/gtk+/gtk+-2.6.4-1.osso7/gtktoolbutton.c.diff +++ /dev/null @@ -1,65 +0,0 @@ ---- gtk+-2.6.4/gtk/gtktoolbutton.c 2004-11-20 01:18:38.000000000 +0200 -+++ gtk+-2.6.4/gtk/gtktoolbutton.c 2005-04-06 16:19:38.167735984 +0300 -@@ -41,6 +41,7 @@ - - enum { - CLICKED, -+ INSENSITIVE_PRESS, - LAST_SIGNAL - }; - -@@ -74,7 +75,10 @@ - GtkToolButton *button); - - static void gtk_tool_button_construct_contents (GtkToolItem *tool_item); -- -+ -+ static void insensitive_press (GtkWidget *widget, -+ GtkToolButton *button); -+ - static GObjectClass *parent_class = NULL; - static guint toolbutton_signals[LAST_SIGNAL] = { 0 }; - -@@ -226,7 +230,7 @@ - NULL, NULL, - g_cclosure_marshal_VOID__VOID, - G_TYPE_NONE, 0); -- -+ - g_type_class_add_private (object_class, sizeof (GtkToolButtonPrivate)); - } - -@@ -246,6 +250,10 @@ - g_signal_connect_object (button->priv->button, "clicked", - G_CALLBACK (button_clicked), button, 0); - -+ /* Hildon: connect "insensitive_press" signal for private button */ -+ g_signal_connect_object (button->priv->button, "insensitive_press", -+ G_CALLBACK (insensitive_press), button, 0); -+ - gtk_container_add (GTK_CONTAINER (button), button->priv->button); - gtk_widget_show (button->priv->button); - } -@@ -519,7 +527,7 @@ - - src_pixbuf = gtk_image_get_pixbuf (image); - dest_pixbuf = gdk_pixbuf_scale_simple (src_pixbuf, width, height, -- GDK_INTERP_BILINEAR); -+ GDK_INTERP_NEAREST); - - return gtk_image_new_from_pixbuf (dest_pixbuf); - } -@@ -594,6 +602,13 @@ - } - - static void -+insensitive_press (GtkWidget *widget, -+ GtkToolButton *button) -+{ -+ g_signal_emit_by_name (button, "insensitive_press"); -+} -+ -+static void - gtk_tool_button_toolbar_reconfigured (GtkToolItem *tool_item) - { - gtk_tool_button_construct_contents (tool_item); -- cgit 1.2.3-korg