aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-25 22:19:05 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-25 22:19:05 +0800
commit6a09345e6cc8002dcb2da52da273c949107b9de3 (patch)
treee38784ff991283c58bbcd84561c7725a7302e4ac /src
parent906f3a0b0c501c9878c7ad1f77d6d3b9a36361dc (diff)
parent5c94274e5bd070ea580716fe8dbaad32b901654e (diff)
downloadgsoc2013-empathy-6a09345e6cc8002dcb2da52da273c949107b9de3.tar
gsoc2013-empathy-6a09345e6cc8002dcb2da52da273c949107b9de3.tar.gz
gsoc2013-empathy-6a09345e6cc8002dcb2da52da273c949107b9de3.tar.bz2
gsoc2013-empathy-6a09345e6cc8002dcb2da52da273c949107b9de3.tar.lz
gsoc2013-empathy-6a09345e6cc8002dcb2da52da273c949107b9de3.tar.xz
gsoc2013-empathy-6a09345e6cc8002dcb2da52da273c949107b9de3.tar.zst
gsoc2013-empathy-6a09345e6cc8002dcb2da52da273c949107b9de3.zip
Merge commit 'kaserf/buttons-infobar-606329'
Diffstat (limited to 'src')
-rw-r--r--src/empathy-main-window.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 2f1e077f4..e62b4ad0a 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -385,7 +385,6 @@ main_window_error_display (EmpathyMainWindow *window,
GtkWidget *close_button;
GtkWidget *action_area;
GtkWidget *action_table;
- GtkRcStyle *rc_style;
gchar *str;
const gchar *icon_name;
@@ -424,28 +423,21 @@ main_window_error_display (EmpathyMainWindow *window,
gtk_box_pack_start (GTK_BOX (content_area), image, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (content_area), label, FALSE, FALSE, 0);
- /* make small style for the buttons */
- rc_style = gtk_rc_style_new ();
- rc_style->xthickness = rc_style->ythickness = 4;
-
image = gtk_image_new_from_stock (GTK_STOCK_REFRESH, GTK_ICON_SIZE_BUTTON);
retry_button = gtk_button_new ();
gtk_button_set_image (GTK_BUTTON (retry_button), image);
- gtk_widget_modify_style (retry_button, rc_style);
gtk_widget_set_tooltip_text (retry_button, _("Reconnect"));
gtk_widget_show (retry_button);
image = gtk_image_new_from_stock (GTK_STOCK_EDIT, GTK_ICON_SIZE_BUTTON);
edit_button = gtk_button_new ();
gtk_button_set_image (GTK_BUTTON (edit_button), image);
- gtk_widget_modify_style (edit_button, rc_style);
gtk_widget_set_tooltip_text (edit_button, _("Edit Account"));
gtk_widget_show (edit_button);
image = gtk_image_new_from_stock (GTK_STOCK_CLOSE, GTK_ICON_SIZE_BUTTON);
close_button = gtk_button_new ();
gtk_button_set_image (GTK_BUTTON (close_button), image);
- gtk_widget_modify_style (close_button, rc_style);
gtk_widget_set_tooltip_text (close_button, _("Close"));
gtk_widget_show (close_button);
@@ -492,7 +484,6 @@ main_window_error_display (EmpathyMainWindow *window,
gtk_widget_show (window->errors_vbox);
- g_object_unref (rc_style);
g_hash_table_insert (window->errors, g_object_ref (account), info_bar);
}