aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-09-30 17:07:46 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-09-30 20:26:28 +0800
commit20c14adfb956e9354ce7757fdd7647de8e7641a0 (patch)
treed5e7434c99485f81b3851934066f13c88b523630
parent78a64f4405ed0a6e690d5d165f4e3e13618c3db6 (diff)
downloadgsoc2013-empathy-20c14adfb956e9354ce7757fdd7647de8e7641a0.tar
gsoc2013-empathy-20c14adfb956e9354ce7757fdd7647de8e7641a0.tar.gz
gsoc2013-empathy-20c14adfb956e9354ce7757fdd7647de8e7641a0.tar.bz2
gsoc2013-empathy-20c14adfb956e9354ce7757fdd7647de8e7641a0.tar.lz
gsoc2013-empathy-20c14adfb956e9354ce7757fdd7647de8e7641a0.tar.xz
gsoc2013-empathy-20c14adfb956e9354ce7757fdd7647de8e7641a0.tar.zst
gsoc2013-empathy-20c14adfb956e9354ce7757fdd7647de8e7641a0.zip
Hide the action area if we're on moblin.
-rw-r--r--src/empathy-accounts-dialog.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index f14ffd3ca..b2107554a 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -1571,6 +1571,9 @@ accounts_dialog_build_ui (EmpathyAccountsDialog *dialog)
GtkBuilder *gui;
gchar *filename;
EmpathyAccountsDialogPriv *priv = GET_PRIV (dialog);
+#ifdef HAVE_NBTK
+ GtkWidget *action_area;
+#endif
filename = empathy_file_lookup ("empathy-accounts-dialog.ui", "src");
@@ -1606,6 +1609,11 @@ accounts_dialog_build_ui (EmpathyAccountsDialog *dialog)
g_object_unref (gui);
+#ifdef HAVE_NBTK
+ action_area = gtk_dialog_get_action_area (GTK_DIALOG (priv->window));
+ gtk_widget_hide (action_area);
+#endif
+
priv->combobox_protocol = empathy_protocol_chooser_new ();
gtk_box_pack_start (GTK_BOX (priv->hbox_type),
priv->combobox_protocol,