Branch: master

50dba11e 2014-10-12 00:37:31 Timothy Pearson
Bring first and last icons into XDG compliance
M kexi/main/printing/kexisimpleprintpreviewwindow.cpp
M kpresenter/KPrView.cpp
M kspread/kspread_view.cc
M kword/mailmerge/KWClassicSerialDataSource.cpp
diff --git a/kexi/main/printing/kexisimpleprintpreviewwindow.cpp b/kexi/main/printing/kexisimpleprintpreviewwindow.cpp
index 39cb932..0e1b774 100644
--- a/kexi/main/printing/kexisimpleprintpreviewwindow.cpp
+++ b/kexi/main/printing/kexisimpleprintpreviewwindow.cpp
@@ -213,7 +213,7 @@
 	m_navToolbar->setFrameStyle(TQFrame::NoFrame);
 	m_navToolbar->setIconText(TDEToolBar::IconTextRight);
 
-	m_idFirst = m_navToolbar->insertWidget( -1, 0, new KPushButton(BarIconSet("start"), i18n("First Page"), m_navToolbar));
+	m_idFirst = m_navToolbar->insertWidget( -1, 0, new KPushButton(BarIconSet("go-first"), i18n("First Page"), m_navToolbar));
 	m_navToolbar->addConnection(m_idFirst, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotFirstClicked()));
 	m_navToolbar->insertSeparator();
 
@@ -228,7 +228,7 @@
 	m_navToolbar->addConnection(m_idNext, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotNextClicked()));
 	m_navToolbar->insertSeparator();
 
-	m_idLast = m_navToolbar->insertWidget( -1, 0, new KPushButton(BarIconSet("finish"), i18n("Last Page"), m_navToolbar));
+	m_idLast = m_navToolbar->insertWidget( -1, 0, new KPushButton(BarIconSet("go-last"), i18n("Last Page"), m_navToolbar));
 	m_navToolbar->addConnection(m_idLast, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotLastClicked()));
 	m_navToolbar->insertSeparator();
 
diff --git a/kpresenter/KPrView.cpp b/kpresenter/KPrView.cpp
index 583b7af..0bf4785 100644
--- a/kpresenter/KPrView.cpp
+++ b/kpresenter/KPrView.cpp
@@ -2797,7 +2797,7 @@
                                               actionCollection(), "screen_startfromfirst" );
 
     actionScreenFirst = new TDEAction( i18n( "&Go to Start" ),
-                                     "start", 0,
+                                     "go-first", 0,
                                      TQT_TQOBJECT(this), TQT_SLOT( screenFirst() ),
                                      actionCollection(), "screen_first" );
 
@@ -2812,7 +2812,7 @@
                                     actionCollection(), "screen_next" );
 
     actionScreenLast = new TDEAction( i18n( "Go to &End" ),
-                                    "finish", 0,
+                                    "go-last", 0,
                                     TQT_TQOBJECT(this), TQT_SLOT( screenLast() ),
                                     actionCollection(), "screen_last" );
 
diff --git a/kspread/kspread_view.cc b/kspread/kspread_view.cc
index 253a926..ae6456a 100644
--- a/kspread/kspread_view.cc
+++ b/kspread/kspread_view.cc
@@ -1061,11 +1061,11 @@
       TQt::CTRL+TQt::Key_PageUp, TQT_TQOBJECT(view), TQT_SLOT( previousSheet() ), ac, "previousSheet");
   actions->prevSheet->setToolTip(i18n("Move to the previous sheet."));
 
-  actions->firstSheet = new TDEAction( i18n("First Sheet"), "start",
+  actions->firstSheet = new TDEAction( i18n("First Sheet"), "go-first",
       0, TQT_TQOBJECT(view), TQT_SLOT( firstSheet() ), ac, "firstSheet");
   actions->firstSheet->setToolTip(i18n("Move to the first sheet."));
 
-  actions->lastSheet = new TDEAction( i18n("Last Sheet"), "finish",
+  actions->lastSheet = new TDEAction( i18n("Last Sheet"), "go-last",
       0, TQT_TQOBJECT(view), TQT_SLOT( lastSheet() ), ac, "lastSheet");
   actions->lastSheet->setToolTip(i18n("Move to the last sheet."));
 
diff --git a/kword/mailmerge/KWClassicSerialDataSource.cpp b/kword/mailmerge/KWClassicSerialDataSource.cpp
index c8bd6f3..73eee99 100644
--- a/kword/mailmerge/KWClassicSerialDataSource.cpp
+++ b/kword/mailmerge/KWClassicSerialDataSource.cpp
@@ -341,7 +341,7 @@
     TQHBox *toolbar = new TQHBox( back );
 
     first = new TQToolButton( toolbar );
-    first->setIconSet( SmallIconSet( "start" ) );
+    first->setIconSet( SmallIconSet( "go-first" ) );
     first->setFixedSize( first->sizeHint() );
     connect(first, TQT_SIGNAL(clicked()), this, TQT_SLOT(firstRecord()));
 
@@ -361,7 +361,7 @@
     connect(forward, TQT_SIGNAL(clicked()), this, TQT_SLOT(nextRecord()));
 
     finish = new TQToolButton( toolbar );
-    finish->setIconSet( SmallIconSet( "finish" ) );
+    finish->setIconSet( SmallIconSet( "go-last" ) );
     finish->setFixedSize( finish->sizeHint() );
     connect(finish, TQT_SIGNAL(clicked()), this, TQT_SLOT(lastRecord()));