From 2acdaae6b329031ce520561d52809fbf7486beeb Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Tue, 9 Jan 2007 16:01:20 +0000 Subject: [PATCH] * all: - small stuff pmo-trunk-r595 --- src/gtk/Makefile.am | 3 ++- src/gtk/modest-main-window.c | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/gtk/Makefile.am b/src/gtk/Makefile.am index 5f56d63..7603a06 100644 --- a/src/gtk/Makefile.am +++ b/src/gtk/Makefile.am @@ -1,6 +1,6 @@ # # Makefile.am -# Time-stamp: <2006-07-29 20:47:31 (djcb)> +# Time-stamp: <2007-01-09 17:04:51 (djcb)> # # # use Automake 'trick' ==> convenience static libraries, which @@ -9,6 +9,7 @@ INCLUDES=\ $(MODEST_GSTUFF_CFLAGS) \ $(MODEST_LIBTINYMAIL_GNOME_DESKTOP_CFLAGS) \ + -DMODEST_PLATFORM_ID=$(MODEST_PLATFORM_ID) \ -I ${top_srcdir}/src/widgets \ -I ${top_srcdir}/src \ -DPREFIX=\"@prefix@\" \ diff --git a/src/gtk/modest-main-window.c b/src/gtk/modest-main-window.c index 9fe8cc1..f993244 100644 --- a/src/gtk/modest-main-window.c +++ b/src/gtk/modest-main-window.c @@ -203,8 +203,6 @@ restore_sizes (ModestMainWindow *self) priv = MODEST_MAIN_WINDOW_GET_PRIVATE(self); conf = modest_tny_platform_factory_get_modest_conf_instance (priv->factory); - modest_widget_memory_restore (conf,G_OBJECT(self), - "modest-main-window"); modest_widget_memory_restore (conf, G_OBJECT(priv->folder_paned), "modest-folder-paned"); modest_widget_memory_restore (conf, G_OBJECT(priv->msg_paned), @@ -213,6 +211,8 @@ restore_sizes (ModestMainWindow *self) "modest-main-paned"); modest_widget_memory_restore (conf, G_OBJECT(priv->header_view), "header-view"); + modest_widget_memory_restore (conf,G_OBJECT(self), + "modest-main-window"); } @@ -341,7 +341,7 @@ modest_main_window_new (ModestWidgetFactory *widget_factory, gtk_container_add (GTK_CONTAINER(obj), main_vbox); restore_sizes (MODEST_MAIN_WINDOW(obj)); - gtk_window_set_title (GTK_WINDOW(obj), "Modest"); + gtk_window_set_title (GTK_WINDOW(obj), _("Modest")); gtk_window_set_icon (GTK_WINDOW(obj), modest_icon_factory_get_icon (MODEST_APP_ICON)); -- 1.7.9.5