[gnome-applets/wip/segeiger/window-picker-in-process: 9/9] windowpicker/applet.c: Fix deprecation message for close icon



commit 068fb8de68e0807c4d2e0eed425c37e05206e218
Author: Sebastian Geiger <sbastig gmx net>
Date:   Sun Jun 7 20:31:53 2015 +0200

    windowpicker/applet.c: Fix deprecation message for close icon

 windowpicker/src/applet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/windowpicker/src/applet.c b/windowpicker/src/applet.c
index 026fb55..adf3bb1 100644
--- a/windowpicker/src/applet.c
+++ b/windowpicker/src/applet.c
@@ -280,7 +280,7 @@ display_prefs_dialog (GSimpleAction *action,
     check = prepareCheckBox (windowPickerApplet, _("Automatically expand task list to use full space"), 
KEY_EXPAND_TASK_LIST);
     gtk_grid_attach (GTK_GRID (grid), check, 0, ++i, 1, 1);
 
-    button = gtk_button_new_from_stock (GTK_STOCK_CLOSE);
+    button = gtk_button_new_with_label ("_Close");
     gtk_widget_set_halign (button, GTK_ALIGN_END);
     gtk_grid_set_row_spacing (GTK_GRID (grid), 0);
     gtk_grid_attach (GTK_GRID(grid), button, 0, ++i, 1, 1);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]