GNOME Bugzilla – Bug 370598
Alacarte window should have a "maximize" button
Last modified: 2006-12-07 15:02:06 UTC
Alacarte 0.10 (on Ubuntu Edgy) starts up with a window that only covers part of the screen at 1024x768. At least the pane on the left then has a scrollbar. I'd like to be able to maximize the window then with double-clicking the title bar or the like; instead, I have to manually resize the window to a bigger size. Other information: In my opinion the missing maximize button not very user-friendly - how often do you actually need to resize a window and _don't_ have a maximize button? If I find that a window doesn't show all its contents because it's too small, it has a maximize button. OTOH, windows without a maximize button usually show all their info at the initial window size - no need for resizing. I noticed that Alacarte 0.8-5 on Debian actually has a maximize button; I wonder whether the Debian people added it, or whether it was removed from the Ubuntu package, or whether it was removed upstream between 0.8 and 0.10?
Created attachment 76417 [details] [review] alacarte.glade patch: changes window type of mainwindow to GtkWindow (to add minimize/maximize buttons)
Created attachment 76418 [details] [review] adds handler for mainwindow's keypress event (goes along with alacarte.glade patch)
Created attachment 76443 [details] [review] adds minimize/maximize buttons to main window Changed mainwindow's typehint to GDK_WINDOW_TYPE_HINT_NORMAL to add minimize/maximize buttons.
I applied this to CVS.