Set a reasonable default height for the window.
Thu Nov 1 19:18:34 2001 Owen Taylor <otaylor@redhat.com> * demos/gtk-demo/stock_browser.c (do_stock_browser): Set a reasonable default height for the window. * demos/gtk-demo/stock_browser.c (id_to_macro): Fix bug where subsequent '-' weren't converted to '_'. (#59550, Matthias Clasen) * demos/gtk-demo/appwindow.c (menu_items): Don't right justify the Help menu - just include a comment on how to do it. (#63539, Marius Andreiana) * gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): Don't list GTK_ICON_SIZE_INVALID. * demos/gtk-demo/stock_browser.c: Show the biggest available size, not a fixed size. (Often reported, including #63539, Marius Andreiana)
This commit is contained in:
@ -52,7 +52,10 @@ static GtkItemFactoryEntry menu_items[] =
|
||||
{ "/_Preferences/Shape/_Rectangle", NULL, menuitem_cb, 0, "/Preferences/Shape/Square" },
|
||||
{ "/_Preferences/Shape/_Oval", NULL, menuitem_cb, 0, "/Preferences/Shape/Rectangle" },
|
||||
|
||||
{ "/_Help", NULL, 0, 0, "<LastBranch>" },
|
||||
/* If you wanted this to be right justified you would use "<LastBranch>", not "<Branch>".
|
||||
* Right justified help menu items are generally considered a bad idea now days.
|
||||
*/
|
||||
{ "/_Help", NULL, 0, 0, "<Branch>" },
|
||||
{ "/Help/_About", NULL, menuitem_cb, 0 },
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user