2007-05-17 Murray Cumming <murrayc@murrayc.com>
authorMurray Cumming <murrayc@murrayc.com>
Thu, 17 May 2007 09:06:59 +0000 (09:06 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Thu, 17 May 2007 09:06:59 +0000 (09:06 +0000)
* src/maemo/modest-connection-specific-smtp-window.c:
        (modest_connection_specific_smtp_window_init):
        Use gtk_window_set_default_size() to make this window big enough, so
        we see more of the GtkTreeView. This fixes projects.maemo.org bug NB#55497 .

pmo-trunk-r1895

ChangeLog2
src/dbus_api/modest-dbus-callbacks.c
src/maemo/modest-connection-specific-smtp-window.c

index c736c39..d44cc84 100644 (file)
@@ -1,5 +1,12 @@
 2007-05-17  Murray Cumming  <murrayc@murrayc.com>
 
+       * src/maemo/modest-connection-specific-smtp-window.c:
+       (modest_connection_specific_smtp_window_init):
+       Use gtk_window_set_default_size() to make this window big enough, so 
+       we see more of the GtkTreeView. This fixes projects.maemo.org bug NB#55497 .
+
+2007-05-17  Murray Cumming  <murrayc@murrayc.com>
+
        * src/maemo/modest-connection-specific-smtp-edit-window.h:
        * src/maemo/modest-connection-specific-smtp-edit-window.c:
        (modest_connection_specific_smtp_edit_window_init),
index aa3d541..e4bd774 100644 (file)
@@ -519,7 +519,8 @@ gint modest_dbus_req_handler(const gchar * interface, const gchar * method,
 void
 modest_osso_cb_hw_state_handler(osso_hw_state_t *state, gpointer data)
 {
-    printf("%s()\n", __PRETTY_FUNCTION__);
+       /* TODO? */
+    /* printf("%s()\n", __PRETTY_FUNCTION__); */
 
     if(state->system_inactivity_ind)
     {
@@ -532,5 +533,5 @@ modest_osso_cb_hw_state_handler(osso_hw_state_t *state, gpointer data)
     
     }
 
-    printf("debug: %s(): return\n", __PRETTY_FUNCTION__);
+    /* printf("debug: %s(): return\n", __PRETTY_FUNCTION__); */
 }
index 20e73f8..91767b4 100644 (file)
@@ -142,7 +142,7 @@ modest_connection_specific_smtp_window_fill_with_connections (ModestConnectionSp
        GSList *list_iaps = tny_maemo_conic_device_get_iap_list (maemo_device);
        #endif
        
-       printf("debug: list_iaps=%p, list_iaps size = %d\n", list_iaps, g_slist_length(list_iaps));
+       /* printf("debug: list_iaps=%p, list_iaps size = %d\n", list_iaps, g_slist_length(list_iaps)); */
        
        GSList* iter = list_iaps;
        while (iter) {
@@ -285,6 +285,10 @@ on_selection_changed (GtkTreeSelection *sel, ModestConnectionSpecificSmtpWindow
 static void
 modest_connection_specific_smtp_window_init (ModestConnectionSpecificSmtpWindow *self)
 {
+       /* Specify a default size, because the GtkTreeView's default requested size  
+        * is not big enough: */
+       gtk_window_set_default_size (GTK_WINDOW (self), 500, 200);
+       
        /* This seems to be necessary to make the window show at the front with decoration.
         * If we use property type=GTK_WINDOW_TOPLEVEL instead of the default GTK_WINDOW_POPUP+decoration, 
         * then the window will be below the others. */