]> git.pld-linux.org Git - packages/xfce4-panel.git/blob - xfce4-panel-no-empty-panel.patch
- up to 4.12.0
[packages/xfce4-panel.git] / xfce4-panel-no-empty-panel.patch
1 --- xfce4-panel-4.8.6/migrate/main.c~   2011-09-21 20:59:09.000000000 +0200
2 +++ xfce4-panel-4.8.6/migrate/main.c    2011-10-24 12:09:17.247228900 +0200
3 @@ -50,7 +50,6 @@
4    GtkWidget     *button;
5    gint           result;
6    gint           retval = EXIT_SUCCESS;
7 -  gint           default_response = GTK_RESPONSE_CANCEL;
8    XfconfChannel *channel;
9    gint           configver;
10    gchar         *filename_46;
11 @@ -128,7 +128,6 @@
12  
13            button = gtk_dialog_add_button (GTK_DIALOG (dialog), _("Migrate old config"), GTK_RESPONSE_OK);
14            gtk_widget_set_tooltip_text (button, _("Migrate the old 4.6 configuration to Xfconf"));
15 -          default_response = GTK_RESPONSE_OK;
16          }
17        else
18          {
19 @@ -140,15 +140,9 @@
20          {
21            button = gtk_dialog_add_button (GTK_DIALOG (dialog), _("Use default config"), GTK_RESPONSE_YES);
22            gtk_widget_set_tooltip_text (button, _("Load the default configuration"));
23 -
24 -          if (default_response == GTK_RESPONSE_CANCEL)
25 -            default_response = GTK_RESPONSE_YES;
26          }
27  
28 -      button = gtk_dialog_add_button (GTK_DIALOG (dialog), _("One empty panel"), GTK_RESPONSE_CANCEL);
29 -      gtk_widget_set_tooltip_text (button, _("Start with one empty panel"));
30 -
31 -      gtk_dialog_set_default_response (GTK_DIALOG (dialog), default_response);
32 +      gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_YES);
33        result = gtk_dialog_run (GTK_DIALOG (dialog));
34        gtk_widget_destroy (dialog);
35  
This page took 0.093091 seconds and 3 git commands to generate.