aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-25 20:17:50 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-25 20:17:50 +0800
commit75f7bc8ce00e28a84d19bf036382e2566b60f9e8 (patch)
tree47d5fdf8275fd421dde42decdcb10c2dae2bb7c1 /libempathy-gtk
parentcc260a6fe68be18a935dbc81caf25107325b5563 (diff)
downloadgsoc2013-empathy-75f7bc8ce00e28a84d19bf036382e2566b60f9e8.tar
gsoc2013-empathy-75f7bc8ce00e28a84d19bf036382e2566b60f9e8.tar.gz
gsoc2013-empathy-75f7bc8ce00e28a84d19bf036382e2566b60f9e8.tar.bz2
gsoc2013-empathy-75f7bc8ce00e28a84d19bf036382e2566b60f9e8.tar.lz
gsoc2013-empathy-75f7bc8ce00e28a84d19bf036382e2566b60f9e8.tar.xz
gsoc2013-empathy-75f7bc8ce00e28a84d19bf036382e2566b60f9e8.tar.zst
gsoc2013-empathy-75f7bc8ce00e28a84d19bf036382e2566b60f9e8.zip
replace the close button by 'Select'
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-irc-network-chooser-dialog.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-irc-network-chooser-dialog.c b/libempathy-gtk/empathy-irc-network-chooser-dialog.c
index 8fadaf3d6..c7bf3c078 100644
--- a/libempathy-gtk/empathy-irc-network-chooser-dialog.c
+++ b/libempathy-gtk/empathy-irc-network-chooser-dialog.c
@@ -58,6 +58,7 @@ typedef struct {
GtkListStore *store;
GtkTreeModelFilter *filter;
GtkWidget *search;
+ GtkWidget *select_button;
gulong search_sig;
} EmpathyIrcNetworkChooserDialogPriv;
@@ -469,9 +470,11 @@ empathy_irc_network_chooser_dialog_constructed (GObject *object)
GTK_STOCK_ADD, GTK_RESPONSE_OK,
GTK_STOCK_EDIT, GTK_RESPONSE_APPLY,
GTK_STOCK_REMOVE, GTK_RESPONSE_REJECT,
- GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
NULL);
+ priv->select_button = gtk_dialog_add_button (dialog, _("Select"),
+ GTK_RESPONSE_CLOSE);
+
fill_store (self);
g_signal_connect (priv->treeview, "cursor-changed",