[Github-comments] [geany] Set correct sidebar/message window positions before showing the… (#576)
Jiří Techet
notifications at xxxxx
Mon Feb 29 19:28:48 UTC 2016
> @@ -1287,13 +1285,6 @@ void configuration_apply_settings(void)
> }
> g_free(scribble_text);
>
> - /* set the position of the hpaned and vpaned */
> - if (prefs.save_winpos)
> - {
> - gtk_paned_set_position(GTK_PANED(ui_lookup_widget(main_widgets.window, "hpaned1")), hpan_position);
> - gtk_paned_set_position(GTK_PANED(ui_lookup_widget(main_widgets.window, "vpaned1")), vpan_position);
> - }
> -
> /* set fullscreen after initial draw so that returning to normal view is the right size.
> * fullscreen mode is disabled by default, so act only if it is true */
> if (ui_prefs.fullscreen)
This is the only part of the function that really needs to be applied after window realisation otherwise we get incorrect sizes after un-fullscreening the window.
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/576/files#r54463203
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160229/7ebac14a/attachment.html>
More information about the Github-comments
mailing list