[empathy] Hide the action area if we're on moblin.



commit 20c14adfb956e9354ce7757fdd7647de8e7641a0
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Sep 30 11:07:46 2009 +0200

    Hide the action area if we're on moblin.

 src/empathy-accounts-dialog.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index f14ffd3..b210755 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]