Mailinglist Archive: zypp-commit (149 mails)

< Previous Next >
[zypp-svn] r5323 - in /branches/SuSE-Linux-10_2-Branch/updater-kde/updater: Constants.h MainWindow.cpp TrayIcon.cpp
  • From: tgoettlicher@xxxxxxxxxxxxxxxx
  • Date: Tue, 10 Apr 2007 11:18:30 -0000
  • Message-id: <20070410111830.834BE6B264@xxxxxxxxxxxxxxxx>
Author: tgoettlicher
Date: Tue Apr 10 13:18:30 2007
New Revision: 5323

URL: http://svn.opensuse.org/viewcvs/zypp?rev=5323&view=rev
Log:
Fixed Software strings / Window names (#221236)


Modified:
    branches/SuSE-Linux-10_2-Branch/updater-kde/updater/Constants.h
    branches/SuSE-Linux-10_2-Branch/updater-kde/updater/MainWindow.cpp
    branches/SuSE-Linux-10_2-Branch/updater-kde/updater/TrayIcon.cpp

Modified: branches/SuSE-Linux-10_2-Branch/updater-kde/updater/Constants.h
URL: http://svn.opensuse.org/viewcvs/zypp/branches/SuSE-Linux-10_2-Branch/updater-kde/updater/Constants.h?rev=5323&r1=5322&r2=5323&view=diff
==============================================================================
--- branches/SuSE-Linux-10_2-Branch/updater-kde/updater/Constants.h (original)
+++ branches/SuSE-Linux-10_2-Branch/updater-kde/updater/Constants.h Tue Apr 10 13:18:30 2007
@@ -20,7 +20,8 @@
 #ifndef _CONSTANTS_H_
 #define _CONSTANTS_H_
 
-#define PROGRAM_NAME "opensuseupdater"
+#define ICON_NAME "opensuseupdater"
+#define PROGRAM_NAME "openSUSE Updater"
 #define VERSION "0.4"
 
 #define TRAY_ICON_GREEN "opensuseupdater_green"

Modified: branches/SuSE-Linux-10_2-Branch/updater-kde/updater/MainWindow.cpp
URL: http://svn.opensuse.org/viewcvs/zypp/branches/SuSE-Linux-10_2-Branch/updater-kde/updater/MainWindow.cpp?rev=5323&r1=5322&r2=5323&view=diff
==============================================================================
--- branches/SuSE-Linux-10_2-Branch/updater-kde/updater/MainWindow.cpp (original)
+++ branches/SuSE-Linux-10_2-Branch/updater-kde/updater/MainWindow.cpp Tue Apr 10 13:18:30 2007
@@ -55,7 +55,7 @@
     , _caps(caps)
 {
 
-       KIconLoader iconLoader(PROGRAM_NAME);
+       KIconLoader iconLoader(ICON_NAME);
 
        applet = new TrayIcon(this);
        applet->show();
@@ -108,7 +108,7 @@
 void MainWindow::initGUI()
 {
        KIconLoader *loader = KGlobal::iconLoader();
-       setIcon(loader->loadIcon(PROGRAM_NAME, KIcon::Small));
+       setIcon(loader->loadIcon(ICON_NAME, KIcon::Small));
   
        mainBox = new QVBoxLayout(this);
        header = new HeaderWidget(this);

Modified: branches/SuSE-Linux-10_2-Branch/updater-kde/updater/TrayIcon.cpp
URL: http://svn.opensuse.org/viewcvs/zypp/branches/SuSE-Linux-10_2-Branch/updater-kde/updater/TrayIcon.cpp?rev=5323&r1=5322&r2=5323&view=diff
==============================================================================
--- branches/SuSE-Linux-10_2-Branch/updater-kde/updater/TrayIcon.cpp (original)
+++ branches/SuSE-Linux-10_2-Branch/updater-kde/updater/TrayIcon.cpp Tue Apr 10 13:18:30 2007
@@ -29,7 +29,7 @@
 TrayIcon::TrayIcon(QWidget *parent) : KSystemTray(parent), 
                                                                                                                                                        updateCount(0),
                                                                                                                                                        appletState(APPLET_NO_UPDATES) {
-       KIconLoader iconLoader(PROGRAM_NAME);
+       KIconLoader iconLoader(ICON_NAME);
 
        setPixmap(loadIcon(TRAY_ICON_GREEN));
        setScaledContents(true);

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages