summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-09-05 09:21:43 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-05 09:21:43 +0000
commit40123756761862456146f1113b2eea50940140d3 (patch)
treed5e04dd7e256f890676b0fc775c5d4a7c7d69d3c
parent2e2c9b6ccfa2502b3f4a4071d659d673bafb8ead (diff)
gaim cvs-mco1: refresh patches, courtesy Patrick Steiner
-rw-r--r--packages/gaim/files/05-statusbox-icon-size.patch20
-rw-r--r--packages/gaim/files/08-prefs-dialog.patch23
2 files changed, 20 insertions, 23 deletions
diff --git a/packages/gaim/files/05-statusbox-icon-size.patch b/packages/gaim/files/05-statusbox-icon-size.patch
index 88379da435..e18f3b2bcb 100644
--- a/packages/gaim/files/05-statusbox-icon-size.patch
+++ b/packages/gaim/files/05-statusbox-icon-size.patch
@@ -1,15 +1,11 @@
-Identiske underkataloger: src2/CVS og src/CVS
-Identiske underkataloger: src2/.deps og src/.deps
-Index: gaim/src/gtkstatusbox.c
-===================================================================
---- gaim.orig/src/gtkstatusbox.c 2005-04-24 21:52:29.000000000 +0200
-+++ gaim/src/gtkstatusbox.c 2005-08-19 21:22:49.719366944 +0200
-@@ -169,7 +169,7 @@
- GtkCellRenderer *icon_rend = gtk_cell_renderer_pixbuf_new();
- GtkTextBuffer *buffer;
- GdkPixbuf *pixbuf, *pixbuf2, *pixbuf3, *pixbuf4;
-- GtkIconSize icon_size = gtk_icon_size_from_name(GAIM_ICON_SIZE_STATUS);
-+ GtkIconSize icon_size = GTK_ICON_SIZE_SMALL_TOOLBAR;
+--- gaim.ori/src/gtkstatusbox.c 2005-09-04 20:42:29.000000000 +0200
++++ gaim/src/gtkstatusbox.c 2005-09-05 08:44:13.000000000 +0200
+@@ -173,7 +173,7 @@
+
+ text_rend = gtk_cell_renderer_text_new();
+ icon_rend = gtk_cell_renderer_pixbuf_new();
+- icon_size = gtk_icon_size_from_name(GAIM_ICON_SIZE_STATUS);
++ icon_size = GTK_ICON_SIZE_SMALL_TOOLBAR;
status_box->imhtml_visible = FALSE;
status_box->error_pixbuf = gtk_widget_render_icon (GTK_WIDGET(status_box), GAIM_STOCK_STATUS_OFFLINE,
diff --git a/packages/gaim/files/08-prefs-dialog.patch b/packages/gaim/files/08-prefs-dialog.patch
index 15c66b583a..a8fcb89311 100644
--- a/packages/gaim/files/08-prefs-dialog.patch
+++ b/packages/gaim/files/08-prefs-dialog.patch
@@ -1,14 +1,15 @@
-Index: gaim/src/gtkprefs.c
-===================================================================
---- gaim.orig/src/gtkprefs.c 2005-08-21 01:59:55.000000000 +0200
-+++ gaim/src/gtkprefs.c 2005-08-21 02:49:51.635872168 +0200
-@@ -2106,8 +2106,19 @@
- g_object_unref(pixbuf);
+--- gaim.ori/src/gtkprefs.c 2005-09-05 08:28:17.000000000 +0200
++++ gaim/src/gtkprefs.c 2005-09-05 09:06:27.000000000 +0200
+@@ -2108,12 +2108,18 @@
if (icon)
g_object_unref(icon);
--
+
+-#if GTK_CHECK_VERSION(2,4,0)
- return gtk_notebook_append_page(GTK_NOTEBOOK(prefsnotebook), page, gtk_label_new(text));
-+
+-#else
+- gtk_notebook_append_page(GTK_NOTEBOOK(prefsnotebook), page, gtk_label_new(text));
+- return gtk_notebook_page_num(GTK_NOTEBOOK(prefsnotebook), page);
+-#endif
+ //Add a scrolled window around the page contents
+ GtkWidget *sw;
+ sw = gtk_scrolled_window_new(NULL, NULL);
@@ -24,7 +25,7 @@ Index: gaim/src/gtkprefs.c
}
static void prefs_notebook_init() {
-@@ -2140,9 +2151,9 @@
+@@ -2146,9 +2152,9 @@
void gaim_gtk_prefs_show(void)
{
GtkWidget *vbox;
@@ -36,7 +37,7 @@ Index: gaim/src/gtkprefs.c
if (prefs) {
gtk_window_present(GTK_WINDOW(prefs));
-@@ -2170,11 +2181,13 @@
+@@ -2176,11 +2182,13 @@
/* The notebook */
prefsnotebook = notebook = gtk_notebook_new ();
@@ -52,7 +53,7 @@ Index: gaim/src/gtkprefs.c
gtk_box_set_spacing(GTK_BOX(bbox), GAIM_HIG_BOX_SPACE);
gtk_button_box_set_layout(GTK_BUTTON_BOX(bbox), GTK_BUTTONBOX_END);
gtk_box_pack_start(GTK_BOX(vbox), bbox, FALSE, FALSE, 0);
-@@ -2184,7 +2197,7 @@
+@@ -2190,7 +2198,7 @@
g_signal_connect_swapped(G_OBJECT(button), "clicked",
G_CALLBACK(gtk_widget_destroy), prefs);
gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 0);