[geany/geany] 77a900: Revert "Use a sane default window size if config is missing"
Matthew Brush
git-noreply at xxxxx
Thu Jul 26 00:02:12 UTC 2012
Branch: refs/heads/document-messages
Author: Matthew Brush <matt at geany.org>
Committer: Matthew Brush <matt at geany.org>
Date: Sun, 11 Dec 2011 21:01:19
Commit: 77a900b976642a96a2521426790a70117fbbd129
https://github.com/geany/geany/commit/77a900b976642a96a2521426790a70117fbbd129
Log Message:
-----------
Revert "Use a sane default window size if config is missing"
This reverts commit 00473dff4e95c6d1b128edfc26038f4e98cbddf8.
Modified Paths:
--------------
src/main.c
Modified: src/main.c
3 files changed, 3 insertions(+), 0 deletions(-)
===================================================================
@@ -275,6 +275,9 @@ static void main_init(void)
gtk_widget_set_name(ui_lookup_widget(main_widgets.window, "menubar1"), "GeanyMenubar");
gtk_widget_set_name(main_widgets.toolbar, "GeanyToolbar");
+ /* for some reason we need to set the initial size request,
+ * otherwise the main window gets crazy dimensions */
+ gtk_widget_set_size_request(main_widgets.window, 10, 10);
gtk_window_set_default_size(GTK_WINDOW(main_widgets.window),
GEANY_WINDOW_DEFAULT_WIDTH, GEANY_WINDOW_DEFAULT_HEIGHT);
}
@@ Diff output truncated at 100000 characters. @@
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
More information about the Commits
mailing list