From 392f412261442c0349bc231b087a5f4f90a1554a Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Tue, 16 May 2006 03:35:10 +0000 Subject: [PATCH] * src/ViewManager.py: new stock icon support * src/gramps_main.py: new stock icon support * src/PageView.py: new stock icon support * src/images/stock_new-html.png: added * src/images/stock_delete-bookmark.png: added * src/images/stock_export.png: added * src/images/stock_edit-bookmark.png: added * src/images/stock_add-bookmark.png: added * src/images/stock_undo-history.png: added * src/images/stock_bookmark.png: added svn: r6678 --- ChangeLog | 10 ++++++++++ src/PageView.py | 4 ++-- src/ViewManager.py | 4 ++-- src/gramps_main.py | 8 ++++++++ src/images/stock_add-bookmark.png | Bin 0 -> 1174 bytes src/images/stock_bookmark.png | Bin 0 -> 1146 bytes src/images/stock_delete-bookmark.png | Bin 0 -> 1248 bytes src/images/stock_edit-bookmark.png | Bin 0 -> 1352 bytes src/images/stock_export.png | Bin 0 -> 1322 bytes src/images/stock_new-html.png | Bin 0 -> 1202 bytes src/images/stock_undo-history.png | Bin 0 -> 738 bytes 11 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 src/images/stock_add-bookmark.png create mode 100644 src/images/stock_bookmark.png create mode 100644 src/images/stock_delete-bookmark.png create mode 100644 src/images/stock_edit-bookmark.png create mode 100644 src/images/stock_export.png create mode 100644 src/images/stock_new-html.png create mode 100644 src/images/stock_undo-history.png diff --git a/ChangeLog b/ChangeLog index 750b87372..11cc1d1b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,14 @@ 2006-05-15 Don Allingham + * src/ViewManager.py: new stock icon support + * src/gramps_main.py: new stock icon support + * src/PageView.py: new stock icon support + * src/images/stock_new-html.png: added + * src/images/stock_delete-bookmark.png: added + * src/images/stock_export.png: added + * src/images/stock_edit-bookmark.png: added + * src/images/stock_add-bookmark.png: added + * src/images/stock_undo-history.png: added + * src/images/stock_bookmark.png: added * src/DisplayTabs/_DataEmbedList.py: disable DND 2006-05-15 Alex Roitman diff --git a/src/PageView.py b/src/PageView.py index 9b12326c0..586e3206d 100644 --- a/src/PageView.py +++ b/src/PageView.py @@ -242,9 +242,9 @@ class BookMarkView(PageView): def define_actions(self): self.book_action = gtk.ActionGroup(self.title + '/Bookmark') self.book_action.add_actions([ - ('AddBook',gtk.STOCK_INDEX,_('_Add bookmark'),'d',None, + ('AddBook','gramps-add-bookmark', _('_Add bookmark'),'d',None, self.add_bookmark), - ('EditBook',None,_('_Edit bookmarks'),'b',None, + ('EditBook','gramps-edit-bookmark', _('_Edit bookmarks'),'b',None, self.edit_bookmarks), ]) diff --git a/src/ViewManager.py b/src/ViewManager.py index 92cf3ca5f..742df2429 100644 --- a/src/ViewManager.py +++ b/src/ViewManager.py @@ -337,7 +337,7 @@ class ViewManager: self._action_action_list = [ ('SaveAs', gtk.STOCK_SAVE_AS, _('_Save As'),"s", None, self.save_as_activate), - ('Export', gtk.STOCK_SAVE_AS, _('_Export'), "e", None, + ('Export', 'gramps-export', _('_Export'), "e", None, self.export_data), ('Abandon', gtk.STOCK_REVERT_TO_SAVED, _('_Abandon changes and quit'), None, None, self.abort), @@ -387,7 +387,7 @@ class ViewManager: ] self._undo_history_action_list = [ - ('UndoHistory', 'stock_undo-history', + ('UndoHistory', 'gramps-undo-history', _('Undo History'), None, None, self.undo_history), ] diff --git a/src/gramps_main.py b/src/gramps_main.py index d07c2f208..b3bb6ec5b 100644 --- a/src/gramps_main.py +++ b/src/gramps_main.py @@ -74,6 +74,14 @@ def register_stock_icons (): ('gramps-place',_('Places'),gtk.gdk.CONTROL_MASK,0,'')), (os.path.join(const.image_dir,'place.png'), ('gramps-map',_('Map'),gtk.gdk.CONTROL_MASK,0,'')), + (os.path.join(const.image_dir,'stock_export.png'), + ('gramps-export',_('Map'),gtk.gdk.CONTROL_MASK,0,'')), + (os.path.join(const.image_dir,'stock_undo-history.png'), + ('gramps-undo-history',_('Undo History'),gtk.gdk.CONTROL_MASK,0,'')), + (os.path.join(const.image_dir,'stock_add-bookmark.png'), + ('gramps-add-bookmark',_('Add bookmark'),gtk.gdk.CONTROL_MASK,0,'')), + (os.path.join(const.image_dir,'stock_edit-bookmark.png'), + ('gramps-edit-bookmark',_('Edit bookmarks'),gtk.gdk.CONTROL_MASK,0,'')), ] # Register our stock items diff --git a/src/images/stock_add-bookmark.png b/src/images/stock_add-bookmark.png new file mode 100644 index 0000000000000000000000000000000000000000..cf32952819c83ba98663ec73e13e1f66d134f4d8 GIT binary patch literal 1174 zcmV;H1Zn$;P)WFU8GbZ8({Xk{QrNlj4iWF>9@00a6-L_t(|+O3sMOk7nM zhMzmVGr;gSz(|o28o89T(i%Gagkd9SFq&?9)4iHSQmS`*jSxFsgGq3pUMu1!?Z z1e$^%U@^oPHZ&v5Fv9@Cz}$P!kBd7q3=B{c{gRV=&b{Y+?|r}bJ?FsL@$t3#8hr`0 z4|D)@XQiouJ7-NE85!}NlLw=y|32_IKX~!UU7TbboGb*&*%y-A-_IAXJpx2cO-*%k zb2HIsbZuf{;uc^7IzP!QTJU&fWd+N!2nK^x4c@`t{~LF27dN?qvlRzmb#)cXvH)EH zkWTL)r6iF^v`33UNaQxxuiro^iETSf zPEHaEg-)-269@rLvB+9$PaDH9&c&UY`kDMZAtdqmCQXfv{IW2Q0c^xx@a=cwG2m@r zy@Wx2v2EKW$;-;h7#J7;tucH)9NT6)okln|bq)2TQYq5gNq|b=5@3`7C?yO1SS*HR zS;XUU{C+&{MoEoQvhYLM>=BKPuTWcE4p4UifI8tSfTpG<_V)Gw7>Gs-Nedg| z=#azA0RX{cqm;VnG{DBj2F=aQ?C$Pjn%>munHfMMr2?(cfaBOmSJ2nj%d1U|CpK{@ zfIKddX`1Zp>|mN^0U#Rf2d$A(qLjjQ9b8x7^BG7XN_0DyLEhV^X8&&vVw5x@5#M{`q!@mj`Zcy5!1hI%?WI*?K#gg{E+0VstoD(|@fLJBU5#lFw=77P;_D04XKma2Q|1Wy~wD9Umh{0_HZkd9#y_j%x@ZFaW7MCV4RQ z%QTRZR4V29tg5z1a6vd6W@&kuR4VC}Bv%@xHE2ywPxrqlk#GzBWbI|T?muMt^N%o1 z@34F0RwwQ4?Ox)drjWFU8GbZ8({Xk{QrNlj4iWF>9@00Z7hL_t(|+O3sOOq*pK z$3O2&DNq=&wqwdprn)j0v$nJdCr4yncJZQN9K5MB-aL6R!`l+CL}iQNwu2)cHD1Ur zV@wJ&BVoi06BgW{@7p>pE$#b0e>}8(+d^R``Xo>KzHi>=`+0uf@9%jFt;f~Zg1x#8 zvAN`A4mc(7caj&9_z%mCYxe=s+uM6$ zaBz^Zv9ZTH?s=@sQGQ50Ta%n56jt_3^AJF5&2b|hk24gFVwfgQxlA^fLpWtlhJx6(O)hIu6>kHKLja{D;cyr; zbQ<58SL*rf3%LJ`bb1BL%All1Dd}yfRN7}?;1qo)Isr}|15ntu4S?Cx=RNoN1mSR) zcny-^N#Q4LTVR^Mr2*KhLc=O5zpRk~VStnXWPN^O*KczB_V>izd!IY+oX56pVzCQE&z?m}iBbyJb#PsQ zX&Oi&4rSJ|f*UtxIrq`WOiy3KwzJHB`wbVbe!`d2*H~S7fMr=Isj84l4oWLVlF1hX z0Ip042PRw?CKqqGLCNhXK?g+;<8l}a}4-T*Wj0|Sk&3pY%y6jBJU z!j=HXagb87v~(Y;f*7DYNTs=J_DQ9np_1X@1o}9O_V)IWQj$szgHaJOO%tV*XOCeR zmHTR5^`I*tt(!Zk=?`and%JQvwQ6ZW?bo~3^?Y>oJEoLAx`L&9cL?~6ir3XJ!9Z!% z!Xm@-yC$l%BE9;+i|=5*A5~b)eHYP)(>h+xc(91+qZ)A5*GvZQ}UH$N&HU M07*qoM6N<$g6kmx2mk;8 literal 0 HcmV?d00001 diff --git a/src/images/stock_delete-bookmark.png b/src/images/stock_delete-bookmark.png new file mode 100644 index 0000000000000000000000000000000000000000..4a8a3ccdbe15fa5cf219a88c99f01449d05141c1 GIT binary patch literal 1248 zcmV<61Rwi}P)WFU8GbZ8({Xk{QrNlj4iWF>9@00cxyL_t(|+O3t{ZxmG+ zho70Omd7Z_vWAK<-r-g!%iTo~@WFeF^q zfJPxEEkXo83ZVPrrx70Ih zlOrJ*v0)?vBir5Z2(Yo$%cG;C_Cs{AmfgPxeAyhlnd-uLRWJr@8zsVbH;T)@T>?}x znQZUs>LQoR{c-f@(Vc(?NGpI`x^#(DD#iHtIB(}N7++!h8pf+q^QxS>_7}s$!^C2- zK%-D7qP1pjZjSx?_usgF{rYo20Wbh7LQADm#N%-Q%>8@l(p|(`!ZHd`K9O(;fJh_) zK&4XQ+_|%~wYAaL*TGdV726?b(99S3sn0MOkSUJ8NXK zduVS@VvNS~Y8*RujE;_u2PO6b9YC!$;QR@0eSUh?e0SeIeoH0;s8X6x$mZLVC-~{Y zc`V@O>JQfNC zRLx_}y0zT7bBDshJPq*>V66feqwD46xY*$~Hhpy-JMI#GvI~HTi3vb3S};Zj(NwET zbat-iiS`)4nnwT(05ijBx{ps0Ue}3QxXtW=0RW!QYT-5_f^AtW`kKo{k9|9LkVquZTBDRgYgGprgEZ`Y zBtU7!^mLvrx{NN)g9su})`oncN;DcJ9*+mYS~n|67#QeBH>&WV0IfAUcWh_t)~7M| z3c=baE6v=^BALu?5{U##DJ(#ndL&I4^0*vm&D7Kso6HiXv>5D~6>a$QR*`5lLOdR; zThg$`h=2(F{h5DZk@88WQ>4==mb@CLu3qDno-G*VGoP3zli7{yx^>}YU5r616)e=2 zfLg7F)|x9|{Pj1y)S2Ys?fY03jq?DsF|aI>Or{Tcltrad39U6B zynm31$uo=`c$b9hlFbe>Ir$?8_6_4Y4vyp0{cj|=eyxKqHTN{>p~*{0000< KMNUMnLSTYmI6l7s literal 0 HcmV?d00001 diff --git a/src/images/stock_edit-bookmark.png b/src/images/stock_edit-bookmark.png new file mode 100644 index 0000000000000000000000000000000000000000..9164a206781f5d78454c404ef3a0afb8092a6297 GIT binary patch literal 1352 zcmV-O1-JT%P)WFU8GbZ8({Xk{QrNlj4iWF>9@00gW_L_t(|+O3saY*bYg zhQD(F&d6I!l3o+7iX)95w4?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6vU$M( literal 0 HcmV?d00001 diff --git a/src/images/stock_export.png b/src/images/stock_export.png new file mode 100644 index 0000000000000000000000000000000000000000..2e560a748626045e8e38af96a18c19850a2cb445 GIT binary patch literal 1322 zcmV+_1=aeAP))m0e4fA@dy<=zWiLw`F7 znoi5Prkk5{tTF8aesWne!X=TbsUR?H5@rN5;9iI~z4w3rZ|9soz`cNhSv}jco#%gE ze&>14bI$X3@&83kYr7xp)c(VQOM!cnx(cuxzP+dc_M{!}TRI)E6;O|;cXsaF8LX;$ zKM1sxmK6K?{^+5!q}T_v965X-2n+yifXg)rP**x5^y}la)SYDamSQxw8zm)D*Fkf` zq@B0vb-ugYz{toj;m|OvGV==5i3ZHM^!n&gMoIG_LfQCz#@g=!=I{z8QM*GoYG3px{0p0+-34l^A zq>%W1enJs}+fD+hz~#kdE0i~d)%%VCu%V+9pztu87n%V}-BL1{@b z^$m@+KvDwWNQv@DQi5*Q>^(T^>ADVm#;2bgCO>}};m`o4CFt({op5-Nw0UW4*tnVA zo^FgKkMZt1Z{^gUIX9fhA~zsS`H6$pv~S zL_tBpoVzb9EF>C@ChV%JDmrfdf)Il2yeE0}?H!!|q6VOM2EY;u!*cMgT1$0xHKu9) zZE?d%!LRc5W+?Z zi4+bBg>9IG4S^gTV(r!np2%4M(wf5qFGwLk3A&mt@aD!MN;hrB;z|a1Ddl(uF1914r zF-As)Fk?DKOy}9>U!v~fPb4qN#&!$>9)&Pw0uoP!RG<_jP1YoTAeq4A&f^lfe-GQ5 z2tmezEP|s{9D$SqDI`WrM+$*$I}C9X6Fwc9QfSQ`rj3_+kqMG;6$h(4f@ z5|q$j6nKCD4-zB3`Q(E>h>;i*d=X;9J9B(+ zyM*3==t;iJOfvKTo$oT=ci?|mm6et1)4aDEkk4Q-VBBuE%kuJaSyffl30MJTE`V%p zZI!WDOg?EP5($||#APB8m%(6AYMLe+8X9D2X{iPj0<(JbRN{{yaXB(FEH7L*FGHb_ zlv2u?ni^SAQ6T{P6y!0I&1Rc3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