- disable resize grip of status bars in gtk2

git-svn-id: http://svn.code.sf.net/p/xqf/code/trunk@569 d2ac09be-c843-0410-8b1f-f8a84130e0ec
This commit is contained in:
Ludwig Nussel 2003-11-30 11:39:38 +00:00 committed by l-n
parent 5d0bae6b07
commit 90935b2f32
2 changed files with 7 additions and 0 deletions

View File

@ -2,6 +2,7 @@ Nov 30, 2003: Ludwig Nussel <l-n@users.sourceforge.net>
- new function create_server_type_menu creates a GtkOptionMenu with all games - new function create_server_type_menu creates a GtkOptionMenu with all games
- modify statistics dialog to make it smaller, scollbars - modify statistics dialog to make it smaller, scollbars
- remember size of statistics window - remember size of statistics window
- disable resize grip of status bars in gtk2
Nov 29, 2003: Ludwig Nussel <l-n@users.sourceforge.net> Nov 29, 2003: Ludwig Nussel <l-n@users.sourceforge.net>
- move help menu item to the left - move help menu item to the left

View File

@ -3553,9 +3553,15 @@ void create_main_window (void) {
main_status_bar = gtk_statusbar_new (); main_status_bar = gtk_statusbar_new ();
gtk_box_pack_start (GTK_BOX (hbox), main_status_bar, TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX (hbox), main_status_bar, TRUE, TRUE, 0);
#ifdef USE_GTK2
gtk_statusbar_set_has_resize_grip(GTK_STATUSBAR(main_status_bar), FALSE);
#endif
gtk_widget_show (main_status_bar); gtk_widget_show (main_status_bar);
main_filter_status_bar = gtk_statusbar_new (); main_filter_status_bar = gtk_statusbar_new ();
#ifdef USE_GTK2
gtk_statusbar_set_has_resize_grip(GTK_STATUSBAR(main_filter_status_bar), FALSE);
#endif
gtk_widget_set_usize (main_filter_status_bar, 100, -1); gtk_widget_set_usize (main_filter_status_bar, 100, -1);
gtk_box_pack_start (GTK_BOX (hbox), main_filter_status_bar, TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX (hbox), main_filter_status_bar, TRUE, TRUE, 0);
gtk_widget_show (main_filter_status_bar); gtk_widget_show (main_filter_status_bar);