[gnome-applets] windowpicker/applet.c: Fix deprecation message for close icon



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

    windowpicker/applet.c: Fix deprecation message for close icon
    
    Add gettext macro to make the icon name translatable.

 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 983318d..bf1f3f0 100644
--- a/windowpicker/src/applet.c
+++ b/windowpicker/src/applet.c
@@ -276,7 +276,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]