Kaydet (Commit) cbadf177 authored tarafından Joshua Hoff's avatar Joshua Hoff Kaydeden (comit) Colomban Wendling

simplify "append toolbar to menu" packing code

üst f9265535
......@@ -480,8 +480,7 @@ void toolbar_update_ui(void)
/* we need to adjust the packing flags for the menubar to expand it if it is alone in the
* hbox and not expand it if the toolbar is appended */
gtk_box_set_child_packing(GTK_BOX(hbox_menubar), menubar,
! (toolbar_prefs.visible && toolbar_prefs.append_to_menu),
! (toolbar_prefs.visible && toolbar_prefs.append_to_menu), 0, GTK_PACK_START);
! (toolbar_prefs.visible && toolbar_prefs.append_to_menu), TRUE, 0, GTK_PACK_START);
}
......
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