Commit fb48409c authored by Stephen Browne's avatar Stephen Browne

Fixed global config for drawer-autoclose and confirm-panel-removal

parent 8bf05fb8
2001-12-11 Stephen Browne <stephen.browne@sun.com>
* gnome-properties.c gnome-properties.glade
menu.c
Fixed confirm-panel-removal and drawer-autoclose config
Gave the global props dialog a proper name
2001-12-11 Anders Carlsson <andersca@gnu.org>
* main.c (main): Always restart here.
......
......@@ -47,7 +47,7 @@
this array.*/
gchar* checkboxes[] = {
"drawer-auto-close",
"drawer-autoclose",
"auto-raise-panel",
"confirm-panel-remove",
"avoid-panel-overlap",
......@@ -388,6 +388,8 @@ main (int argc, char **argv)
setup_the_ui(main_window, gconf_client);
}
gtk_window_set_title(main_window, _("Panel Global Properties"));
gtk_widget_show_all(main_window);
gtk_main();
......
......@@ -47,7 +47,7 @@
this array.*/
gchar* checkboxes[] = {
"drawer-auto-close",
"drawer-autoclose",
"auto-raise-panel",
"confirm-panel-remove",
"avoid-panel-overlap",
......@@ -388,6 +388,8 @@ main (int argc, char **argv)
setup_the_ui(main_window, gconf_client);
}
gtk_window_set_title(main_window, _("Panel Global Properties"));
gtk_widget_show_all(main_window);
gtk_main();
......
......@@ -71,7 +71,7 @@
<widget>
<class>GtkCheckButton</class>
<name>drawer-auto-close</name>
<name>drawer-autoclose</name>
<can_focus>True</can_focus>
<label>_Close drawer if a launcher inside it is pressed</label>
<active>False</active>
......
......@@ -3341,8 +3341,7 @@ remove_panel_query (GtkWidget *w, gpointer data)
return;
}
/* if there are no applets just remove the panel */
if(!global_config.confirm_panel_remove || !panel->applet_list) {
if(!global_config.confirm_panel_remove) {
remove_panel (panelw);
return;
}
......
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