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



commit 749ef0f00e81b2ff40b1d66b21e37fe4d20f81cc
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 3e0ea53..7e36499 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]