aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorRodney Dawes <dobey@ximian.com>2004-03-27 01:12:05 +0800
committerRodney Dawes <dobey@src.gnome.org>2004-03-27 01:12:05 +0800
commitb4dc945f6e11216c642cc714a0492b4aefd92ae1 (patch)
tree09a31ba5c2fd52554038bfa44efa76590d0ff6ea /shell
parent544e4f8061e5295005f265515a9459635e8f645b (diff)
downloadgsoc2013-evolution-b4dc945f6e11216c642cc714a0492b4aefd92ae1.tar.gz
gsoc2013-evolution-b4dc945f6e11216c642cc714a0492b4aefd92ae1.tar.zst
gsoc2013-evolution-b4dc945f6e11216c642cc714a0492b4aefd92ae1.zip
We don't need this really (class_init): We don't need to have our own
2004-03-26 Rodney Dawes <dobey@ximian.com> * e-shell-settings-dialog.c (impl_realize): We don't need this really (class_init): We don't need to have our own realize impl for setting the default window size of the dialog, especially since we are setting the size before we actually get realized, anyway (init): Set the dialog size here, and don't set the border width of the dialog 2004-03-26 Rodney Dawes <dobey@ximian.com> * e-multi-config-dialog.c (init): Remove the dialog separator Set the border widths of the dialog's vbox and action area to be more HIG-compliant Set the border width of the dialog's child to 12 for HIG-compliance svn path=/trunk/; revision=25197
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog9
-rw-r--r--shell/e-shell-settings-dialog.c21
2 files changed, 10 insertions, 20 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 86e6cca3ec..b36a4950c3 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,12 @@
+2004-03-26 Rodney Dawes <dobey@ximian.com>
+
+ * e-shell-settings-dialog.c (impl_realize): We don't need this really
+ (class_init): We don't need to have our own realize impl for setting
+ the default window size of the dialog, especially since we are setting
+ the size before we actually get realized, anyway
+ (init): Set the dialog size here, and don't set the border width of the
+ dialog
+
2004-03-18 Not Zed <NotZed@Ximian.com>
* e-shell-about-box.c: added (c) symbol and 2004 and changed to
diff --git a/shell/e-shell-settings-dialog.c b/shell/e-shell-settings-dialog.c
index f0476bf0d5..0fda959b97 100644
--- a/shell/e-shell-settings-dialog.c
+++ b/shell/e-shell-settings-dialog.c
@@ -272,21 +272,6 @@ load_pages (EShellSettingsDialog *dialog)
}
-/* GtkWidget methods. */
-
-static void
-impl_realize (GtkWidget *widget)
-{
- EShellSettingsDialog *dialog;
-
- dialog = E_SHELL_SETTINGS_DIALOG (widget);
-
- set_dialog_size (dialog);
-
- (* GTK_WIDGET_CLASS (parent_class)->realize) (widget);
-}
-
-
/* GtkObject methods. */
static gboolean
@@ -319,14 +304,10 @@ static void
class_init (EShellSettingsDialog *class)
{
GObjectClass *object_class;
- GtkWidgetClass *widget_class;
object_class = G_OBJECT_CLASS (class);
object_class->finalize = impl_finalize;
- widget_class = GTK_WIDGET_CLASS (class);
- widget_class->realize = impl_realize;
-
parent_class = g_type_class_ref(PARENT_TYPE);
}
@@ -341,8 +322,8 @@ init (EShellSettingsDialog *dialog)
dialog->priv = priv;
load_pages (dialog);
+ set_dialog_size (dialog);
- gtk_container_set_border_width (GTK_CONTAINER (dialog), 6);
gtk_window_set_title (GTK_WINDOW (dialog), _("Evolution Settings"));
}