* all:
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Tue, 9 Jan 2007 16:01:20 +0000 (16:01 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Tue, 9 Jan 2007 16:01:20 +0000 (16:01 +0000)
  - small stuff

pmo-trunk-r595

src/gtk/Makefile.am
src/gtk/modest-main-window.c

index 5f56d63..7603a06 100644 (file)
@@ -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@\" \
index 9fe8cc1..f993244 100644 (file)
@@ -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));