/pidgin/main: 225d5c9642d1: Polish back/next stock items a bit

Tomasz Wasilczyk twasilczyk at pidgin.im
Thu Sep 12 11:29:12 EDT 2013


Changeset: 225d5c9642d1bc9f4f6957dba44a859ca705749f
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2013-09-12 17:29 +0200
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/225d5c9642d1

Description:

Polish back/next stock items a bit

diffstat:

 pidgin/gtkrequest.c  |  4 +++-
 pidgin/pidginstock.c |  4 +++-
 pidgin/pidginstock.h |  1 +
 3 files changed, 7 insertions(+), 2 deletions(-)

diffs (47 lines):

diff --git a/pidgin/gtkrequest.c b/pidgin/gtkrequest.c
--- a/pidgin/gtkrequest.c
+++ b/pidgin/gtkrequest.c
@@ -323,8 +323,10 @@ text_to_stock(const char *text)
 	STOCK_ITEMIZE(N_("Add"),     GTK_STOCK_ADD);
 	STOCK_ITEMIZE(N_("Remove"),  GTK_STOCK_REMOVE);
 	STOCK_ITEMIZE(N_("Save"),    GTK_STOCK_SAVE);
-	STOCK_ITEMIZE(N_("Next"),    GTK_STOCK_GO_FORWARD);
+	STOCK_ITEMIZE(N_("Next"),    PIDGIN_STOCK_NEXT);
+	STOCK_ITEMIZE(N_("_Next"),   PIDGIN_STOCK_NEXT);
 	STOCK_ITEMIZE(N_("Back"),    GTK_STOCK_GO_BACK);
+	STOCK_ITEMIZE(N_("_Back"),   GTK_STOCK_GO_BACK);
 	STOCK_ITEMIZE(N_("Alias"),   PIDGIN_STOCK_ALIAS);
 
 	return text;
diff --git a/pidgin/pidginstock.c b/pidgin/pidginstock.c
--- a/pidgin/pidginstock.c
+++ b/pidgin/pidginstock.c
@@ -76,6 +76,7 @@ static struct StockIcon
 	{ PIDGIN_STOCK_TYPED,           "pidgin",  "typed.png"                },
 	{ PIDGIN_STOCK_UPLOAD,          NULL,      GTK_STOCK_GO_UP            },
 	{ PIDGIN_STOCK_INFO,            NULL,      GTK_STOCK_INFO             },
+	{ PIDGIN_STOCK_NEXT,            NULL,      GTK_STOCK_GO_FORWARD       },
 };
 
 static const GtkStockItem stock_items[] =
@@ -90,7 +91,8 @@ static const GtkStockItem stock_items[] 
 	{ PIDGIN_STOCK_ADD,                 N_("_Add..."),     0, 0, PACKAGE },
 	{ PIDGIN_STOCK_OPEN_MAIL,           N_("_Open Mail"),  0, 0, PACKAGE },
 	{ PIDGIN_STOCK_PAUSE,               N_("_Pause"),      0, 0, PACKAGE },
-	{ PIDGIN_STOCK_EDIT,                N_("_Edit"),       0, 0, PACKAGE }
+	{ PIDGIN_STOCK_EDIT,                N_("_Edit"),       0, 0, PACKAGE },
+	{ PIDGIN_STOCK_NEXT,                N_("_Next"),       0, 0, PACKAGE },
 };
 
 typedef struct {
diff --git a/pidgin/pidginstock.h b/pidgin/pidginstock.h
--- a/pidgin/pidginstock.h
+++ b/pidgin/pidginstock.h
@@ -59,6 +59,7 @@
 #define PIDGIN_STOCK_TEXT_NORMAL     "pidgin-text-normal"
 #define PIDGIN_STOCK_TYPED           "pidgin-typed"
 #define PIDGIN_STOCK_UPLOAD          "pidgin-upload"
+#define PIDGIN_STOCK_NEXT            "pidgin-next"
 
 /* Status icons */
 #define PIDGIN_STOCK_STATUS_AVAILABLE  "pidgin-status-available"



More information about the Commits mailing list