pidgin: 9e21ee2e: Compile.
sadrul at pidgin.im
sadrul at pidgin.im
Fri Jul 2 23:01:32 EDT 2010
----------------------------------------------------------------------
Revision: 9e21ee2eab363a8afc2552ab67c23b90a88d7553
Parent: 3822012e5d33dcc820823916d07203f3ecccc07f
Author: sadrul at pidgin.im
Date: 07/02/10 23:01:08
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/9e21ee2eab363a8afc2552ab67c23b90a88d7553
Changelog:
Compile.
Changes against parent 3822012e5d33dcc820823916d07203f3ecccc07f
patched pidgin/gtkimhtmltoolbar.c
-------------- next part --------------
============================================================
--- pidgin/gtkimhtmltoolbar.c 3dfbd7368934b9b7e3394dfc6b3bda65e985a598
+++ pidgin/gtkimhtmltoolbar.c 57b3e49168cbf48bb5af92a9e89242d5962d00fc
@@ -1278,7 +1278,7 @@ button_visibility_changed(GtkWidget *but
static void
button_visibility_changed(GtkWidget *button, gpointer dontcare, GtkWidget *item)
{
- if (gtk_widget_is_visible(button))
+ if (GTK_WIDGET_VISIBLE(button))
gtk_widget_hide(item);
else
gtk_widget_show(item);
@@ -1489,24 +1489,24 @@ static void gtk_imhtmltoolbar_init (GtkI
gtk_button_set_relief(GTK_BUTTON(attention_button), GTK_RELIEF_NONE);
bbox = gtk_hbox_new(FALSE, 3);
gtk_container_add(GTK_CONTAINER(attention_button), bbox);
- image = gtk_image_new_from_stock(PIDGIN_STOCK_TOOLBAR_SEND_ATTENTION,
+ image = gtk_image_new_from_stock(PIDGIN_STOCK_TOOLBAR_SEND_ATTENTION,
gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_EXTRA_SMALL));
gtk_box_pack_start(GTK_BOX(bbox), image, FALSE, FALSE, 0);
label = gtk_label_new_with_mnemonic(_("_Attention!"));
gtk_box_pack_start(GTK_BOX(bbox), label, FALSE, FALSE, 0);
gtk_box_pack_start(GTK_BOX(box), attention_button, FALSE, FALSE, 0);
- g_signal_connect_swapped(G_OBJECT(attention_button), "clicked",
+ g_signal_connect_swapped(G_OBJECT(attention_button), "clicked",
G_CALLBACK(gtk_button_clicked), wide_attention_button);
gtk_widget_show_all(attention_button);
-
+
g_signal_connect(wide_attention_button, "notify::sensitive",
G_CALLBACK(button_sensitiveness_changed), attention_button);
- g_signal_connect(wide_attentino_button, "notify::visible",
+ g_signal_connect(wide_attention_button, "notify::visible",
G_CALLBACK(button_visibility_changed), attention_button);
/* set attention button to be greyed out until we get a conversation */
- gtk_widget_set_sensitive(wide_attention_button, FALSE);
-
+ gtk_widget_set_sensitive(GTK_WIDGET(wide_attention_button), FALSE);
+
gtk_box_pack_start(GTK_BOX(hbox), box, FALSE, FALSE, 0);
g_object_set_data(G_OBJECT(hbox), "lean-view", box);
gtk_widget_show(box);
More information about the Commits
mailing list