You need to sign in or sign up before continuing.
Commit 8442c52a authored by Victor Ananjevsky's avatar Victor Ananjevsky

removed unneeded code for size settings. fixed issue with unshrinked windows when width specified

parent 1b486716
......@@ -532,15 +532,6 @@ create_dialog (void)
/* show widgets */
gtk_widget_show_all (vbox);
if (options.data.width > 0)
gtk_widget_set_size_request (vbox, options.data.width, options.data.height);
else
{
gint mw, nw;
gtk_widget_get_preferred_width (vbox, &mw, &nw);
gtk_widget_set_size_request (vbox, nw, -1);
}
/* parse geometry or move window, if given. must be after showing widget */
if (!options.data.maximized && !options.data.fullscreen)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment