[vinagre] Fix an assert in atk by passing the label of a button in creation time.
- From: Jonh Wendell <jwendell src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vinagre] Fix an assert in atk by passing the label of a button in creation time.
- Date: Fri, 23 Oct 2009 17:24:20 +0000 (UTC)
commit 8fe0318c9293fc475ed680cce29937a8c6acd73f
Author: Jonh Wendell <jwendell gnome org>
Date: Fri Oct 23 14:23:30 2009 -0300
Fix an assert in atk by passing the label of a button in creation time.
plugins/vnc/vinagre-vnc-tab.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plugins/vnc/vinagre-vnc-tab.c b/plugins/vnc/vinagre-vnc-tab.c
index a60bd02..9fb72d8 100644
--- a/plugins/vnc/vinagre-vnc-tab.c
+++ b/plugins/vnc/vinagre-vnc-tab.c
@@ -790,9 +790,8 @@ setup_toolbar (VinagreVncTab *vnc_tab)
vnc_tab->priv->viewonly_button = button;
/* Send Ctrl-alt-del */
- button = GTK_WIDGET (gtk_tool_button_new (NULL, NULL));
+ button = GTK_WIDGET (gtk_tool_button_new (NULL, _("Send Ctrl-Alt-Del")));
gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (button), "preferences-desktop-keyboard-shortcuts");
- gtk_tool_button_set_label (GTK_TOOL_BUTTON (button), _("Send Ctrl-Alt-Del"));
gtk_tool_item_set_tooltip_text (GTK_TOOL_ITEM (button), _("Send Ctrl-Alt-Del"));
g_signal_connect (button, "clicked", G_CALLBACK (cad_button_clicked), vnc_tab);
gtk_widget_show (GTK_WIDGET (button));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]