[gnome-calendar/calendar-editor] source-dialog: don't resize to hardcoded values



commit 735f7c730ee2a5557eb660497b57f00804196783
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Feb 23 17:21:15 2015 -0300

    source-dialog: don't resize to hardcoded values

 src/gcal-source-dialog.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/gcal-source-dialog.c b/src/gcal-source-dialog.c
index 2eb5e2b..e20f3f3 100644
--- a/src/gcal-source-dialog.c
+++ b/src/gcal-source-dialog.c
@@ -640,7 +640,6 @@ gcal_source_dialog_set_mode (GcalSourceDialog    *dialog,
           priv->title_bind = NULL;
         }
 
-      gtk_window_resize (GTK_WINDOW (dialog), 550, 500);
       gtk_header_bar_set_title (GTK_HEADER_BAR (priv->headerbar), _("Add Calendar"));
       gtk_header_bar_set_subtitle (GTK_HEADER_BAR (priv->headerbar), NULL);
 
@@ -654,7 +653,6 @@ gcal_source_dialog_set_mode (GcalSourceDialog    *dialog,
           priv->title_bind = g_object_bind_property (priv->name_entry, "text", priv->headerbar, "title",
                                                      G_BINDING_DEFAULT);
         }
-      gtk_window_resize (GTK_WINDOW (dialog), 550, 200);
     }
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]