r20134 - gnucash/trunk/src - Add icons for Duplicate Invoice functionality

Geert Janssens gjanssens at code.gnucash.org
Fri Jan 21 06:52:10 EST 2011


Author: gjanssens
Date: 2011-01-21 06:52:09 -0500 (Fri, 21 Jan 2011)
New Revision: 20134
Trac: http://svn.gnucash.org/trac/changeset/20134

Added:
   gnucash/trunk/src/pixmaps/gnc-invoice-duplicate-16.png
   gnucash/trunk/src/pixmaps/gnc-invoice-duplicate.png
Modified:
   gnucash/trunk/src/business/business-gnome/gnc-plugin-page-invoice.c
   gnucash/trunk/src/gnome-utils/gnc-icons.c
   gnucash/trunk/src/gnome-utils/gnc-icons.h
   gnucash/trunk/src/pixmaps/Makefile.am
Log:
Add icons for Duplicate Invoice functionality

Modified: gnucash/trunk/src/business/business-gnome/gnc-plugin-page-invoice.c
===================================================================
--- gnucash/trunk/src/business/business-gnome/gnc-plugin-page-invoice.c	2011-01-21 11:51:59 UTC (rev 20133)
+++ gnucash/trunk/src/business/business-gnome/gnc-plugin-page-invoice.c	2011-01-21 11:52:09 UTC (rev 20134)
@@ -135,9 +135,8 @@
         G_CALLBACK (gnc_plugin_page_invoice_cmd_edit)
     },
     {
-        "EditDuplicateInvoiceAction", GTK_STOCK_COPY, N_("_Duplicate Invoice"),
-        "", /* empty accelerator string to avoid Ctrl+C here! */
-        N_("Create a new invoice as a duplicate of the current one"),
+        "EditDuplicateInvoiceAction", GNC_STOCK_INVOICE_DUPLICATE, N_("_Duplicate Invoice"),
+        NULL, N_("Create a new invoice as a duplicate of the current one"),
         G_CALLBACK (gnc_plugin_page_invoice_cmd_duplicateInvoice)
     },
     {

Modified: gnucash/trunk/src/gnome-utils/gnc-icons.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-icons.c	2011-01-21 11:51:59 UTC (rev 20133)
+++ gnucash/trunk/src/gnome-utils/gnc-icons.c	2011-01-21 11:52:09 UTC (rev 20134)
@@ -47,6 +47,7 @@
     { GNC_STOCK_INVOICE_POST,   "gnc-invoice-post.png",   "gnc-invoice-post-16.png"},
     { GNC_STOCK_INVOICE_UNPOST, "gnc-invoice-unpost.png", "gnc-invoice-unpost-16.png"},
     { GNC_STOCK_INVOICE_EDIT,   "gnc-invoice-edit.png",   "gnc-invoice-edit-16.png"},
+    { GNC_STOCK_INVOICE_DUPLICATE, "gnc-invoice-duplicate.png", "gnc-invoice-duplicate-16.png"},
     { 0 },
 };
 

Modified: gnucash/trunk/src/gnome-utils/gnc-icons.h
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-icons.h	2011-01-21 11:51:59 UTC (rev 20133)
+++ gnucash/trunk/src/gnome-utils/gnc-icons.h	2011-01-21 11:52:09 UTC (rev 20134)
@@ -23,6 +23,7 @@
 #define GNC_STOCK_INVOICE_UNPOST "gnc-invoice-unpost"
 #define GNC_STOCK_INVOICE_PAY "gnc-invoice-pay"
 #define GNC_STOCK_INVOICE_EDIT "gnc-invoice-edit"
+#define GNC_STOCK_INVOICE_DUPLICATE "gnc-invoice-duplicate"
 
 //FIXME: use own budget icons?
 #define GNC_STOCK_BUDGET "gnc-budget"

Modified: gnucash/trunk/src/pixmaps/Makefile.am
===================================================================
--- gnucash/trunk/src/pixmaps/Makefile.am	2011-01-21 11:51:59 UTC (rev 20133)
+++ gnucash/trunk/src/pixmaps/Makefile.am	2011-01-21 11:52:09 UTC (rev 20134)
@@ -12,6 +12,8 @@
   gnc-account-open.png \
   gnc-account.png \
   gnc-invoice-16.png \
+  gnc-invoice-duplicate-16.png \
+  gnc-invoice-duplicate.png \
   gnc-invoice-edit-16.png \
   gnc-invoice-edit.png \
   gnc-invoice-pay-16.png \

Added: gnucash/trunk/src/pixmaps/gnc-invoice-duplicate-16.png
===================================================================
--- gnucash/trunk/src/pixmaps/gnc-invoice-duplicate-16.png	                        (rev 0)
+++ gnucash/trunk/src/pixmaps/gnc-invoice-duplicate-16.png	2011-01-21 11:52:09 UTC (rev 20134)
@@ -0,0 +1,6 @@
+‰PNG
+
+\ No newline at end of file

Added: gnucash/trunk/src/pixmaps/gnc-invoice-duplicate.png
===================================================================
--- gnucash/trunk/src/pixmaps/gnc-invoice-duplicate.png	                        (rev 0)
+++ gnucash/trunk/src/pixmaps/gnc-invoice-duplicate.png	2011-01-21 11:52:09 UTC (rev 20134)
@@ -0,0 +1,15 @@
+‰PNG
+
++Á`äÀA½Ø51&x9`¢ÿ†ñÆ…^LÆÄ„›$Tüˆ	MK1&PhIùÑÂîvéûcf<lÛÙEcœ¼§wžçùÎ<óùЁ"ÿ}Pâf“æ½#GŽïÚýüGííÅEïœB	‚°ô=½²Ò$IœŸ;ûɉG›
+”˽÷:ðì䟿£u°²&ùÇòe	Ûv!È¡V1&FSS“ܪb·ì–x±†ˆz2Ò¯j uÀü½®ýqMÆÔ[
+xï• ¬/¨
+ƒC²X¥/
+¨¥ι†@ŠÔoÌó¨RS-œµAÈÍk?P»{,K@oÒŠ…Zc‘kְΡ”¦Z™ccoHëvšZ­Bÿ†lÄ9‹(EwW/ÖY*•
+‚ azz%Ð×ßO’$ˆ(””ÒLŒ_Õ@g3ºŒó~iûš$õh­p~úþGîß»O±X™³ˆ‡[×o®dû¥ÖÅqÜÿÙ©O/6£Ëxï±Î11>ÎôÌmmmìÝ»—™éiö|‘eº4º%]ùB˜ƒp¨]F+íÅ"6Ë0‹‹‹¹‰ñ«
+y³œX(¬%MSœs„aˆ1†Ñ+£ÌÎÎbƒ\f^a5raHµZåÔÉ“¼ÿÁq´R˜ù¹¹¿:ýÅÙ$Ku¼˜ä“4͏>\˜žºqx߁ý[Ó4Á;O_==ݍsÁ{(÷ôpçμ÷dYFš$„aŽwŽ¾ËÚöv2›aNŸ9s¸¼Ú;ß\¸À‡ÇŽ
+xç¶
+âE‹twu¡ô2I‚(E[a­EiMEÄIŒÑ†¡­[¨/ÔqÖ5(j5þN—Ð@”¥Ã.u–êüvé²Ì¢´"Žc6=‡ˆ´hF—ǯx!³–Ã;PJQ­VùîÜyra„a~~ŽžrùéÍèj8¹qã	BGG?_¼HWw7o¼ùº¯ÕjhePZÈå"åÁµhF×ò "(Qܝ¥2?cãÇñJŒuŽû÷îæ[>EoŒìñÞíZMW’$…ÌfùÌÚ6g]d3mmm™R*ÎÒ´†áB`L=sQ%Ö×ÿ“1A_Ñzšq\ No newline at end of file



More information about the gnucash-changes mailing list