[Kst] kdeextragear-2/kst/kst/extensions/elog

George Staikos staikos at kde.org
Wed Sep 29 14:09:12 CEST 2004


CVS commit by staikos: 

I dare to make another icon.  Someone please replace it. :)
Meanwhile, this adds the "Add ELOG Entry" action to the toolbar


  A            addelogentry.png   1.1
  M +4 -0      Makefile.am   1.8
  M +1 -1      elog.cpp   1.13
  M +4 -1      kstextension_elog.rc   1.2


--- kdeextragear-2/kst/kst/extensions/elog/Makefile.am  #1.7:1.8
@@ -14,2 +14,6 @@
 rcdir=$(kde_datadir)/kst
 rc_DATA=kstextension_elog.rc
+
+iconsdir = $(kde_icondir)/hicolor/22x22/actions/
+icons_DATA = addelogentry.png
+

--- kdeextragear-2/kst/kst/extensions/elog/elog.cpp  #1.12:1.13
@@ -34,5 +34,5 @@ K_EXPORT_COMPONENT_FACTORY(kstextension_
 KstELOG::KstELOG(QObject *parent, const char *name, const QStringList& l) : KstExtension(parent, name, l), KXMLGUIClient() {
   new KAction(i18n("&ELOG..."), 0, 0, this, SLOT(doShow()), actionCollection(), "elog_settings_show");
-  new KAction(i18n("Add ELOG Entry..."), 0, 0, this, SLOT(doEntry()), actionCollection(), "elog_entry_add");
+  new KAction(i18n("Add ELOG Entry..."), "addelogentry", 0, this, SLOT(doEntry()), actionCollection(), "elog_entry_add");
   setInstance(app()->instance());
   setXMLFile("kstextension_elog.rc", true);

--- kdeextragear-2/kst/kst/extensions/elog/kstextension_elog.rc  #1.1:1.2
@@ -1,4 +1,4 @@
 <!DOCTYPE kpartgui>
-<kpartgui name="Kst ELOG Extension" version="4">
+<kpartgui name="Kst ELOG Extension" version="5">
 <MenuBar>
  <Menu name="file"><Text>&amp;File</Text>
@@ -9,4 +9,7 @@
  </Menu>
 </MenuBar>
+<ToolBar name="mainToolBar">
+ <Action name="elog_entry_add"/>
+</ToolBar>
 </kpartgui>
 





More information about the Kst mailing list