[empathy/gnome-2-28: 8/18] Hide the action area if we're on moblin.
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/gnome-2-28: 8/18] Hide the action area if we're on moblin.
- Date: Fri, 2 Oct 2009 16:37:14 +0000 (UTC)
commit 08b9757d2f2a4b21744a7fae4b6260d023dc0e9a
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 8bf28e1..6a11c01 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -1611,6 +1611,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");
@@ -1644,6 +1647,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]