[gtk+] gtkstock: Adding a File label stock item.



commit 6330ea9e43edd3025d3281f5779e6352eb7f2308
Author: Ted Gould <ted gould cx>
Date:   Thu Jun 24 14:51:38 2010 -0500

    gtkstock: Adding a File label stock item.
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622658

 gtk/gtkstock.c |    1 +
 gtk/gtkstock.h |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstock.c b/gtk/gtkstock.c
index 29a5789..64cb72d 100644
--- a/gtk/gtkstock.c
+++ b/gtk/gtkstock.c
@@ -335,6 +335,7 @@ static const GtkStockItem builtin_items [] =
   { GTK_STOCK_DISCONNECT, NC_("Stock label", "_Disconnect"), 0, 0, GETTEXT_PACKAGE },
   { GTK_STOCK_EXECUTE, NC_("Stock label", "_Execute"), 0, 0, GETTEXT_PACKAGE },
   { GTK_STOCK_EDIT, NC_("Stock label", "_Edit"), 0, 0, GETTEXT_PACKAGE },
+  { GTK_STOCK_FILE, NC_("Stock label", "_File"), 0, 0, GETTEXT_PACKAGE },
   { GTK_STOCK_FIND, NC_("Stock label", "_Find"), GDK_CONTROL_MASK, 'f', GETTEXT_PACKAGE },
   { GTK_STOCK_FIND_AND_REPLACE, NC_("Stock label", "Find and _Replace"), GDK_CONTROL_MASK, 'r', GETTEXT_PACKAGE },
   { GTK_STOCK_FLOPPY, NC_("Stock label", "_Floppy"), 0, 0, GETTEXT_PACKAGE },
diff --git a/gtk/gtkstock.h b/gtk/gtkstock.h
index 0d3d2c0..a8a7701 100644
--- a/gtk/gtkstock.h
+++ b/gtk/gtkstock.h
@@ -305,7 +305,7 @@ void          gtk_stock_set_translate_func (const gchar      *domain,
 /**
  * GTK_STOCK_FILE:
  *
- * The "File" icon.
+ * The "File" item.
  * <inlinegraphic fileref="gtk-file.png" format="PNG"></inlinegraphic>
  *
  * Since: 2.6



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