summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib
diff options
context:
space:
mode:
Diffstat (limited to 'korundum/rubylib')
-rw-r--r--korundum/rubylib/examples/kludgeror.rb2
-rw-r--r--korundum/rubylib/examples/systray.rb2
-rw-r--r--korundum/rubylib/templates/annotated/systray1.rb2
-rw-r--r--korundum/rubylib/templates/basic/systray1.rb2
-rw-r--r--korundum/rubylib/tutorials/p7/p7.rb2
5 files changed, 5 insertions, 5 deletions
diff --git a/korundum/rubylib/examples/kludgeror.rb b/korundum/rubylib/examples/kludgeror.rb
index 5bf2b4a4..156b2c53 100644
--- a/korundum/rubylib/examples/kludgeror.rb
+++ b/korundum/rubylib/examples/kludgeror.rb
@@ -104,7 +104,7 @@ begin
end
a1 = KDE::Action.new( "Reload", "reload", KDE::Shortcut.new(TQt::Key_F5), ph, SLOT("reload()"), doc.actionCollection, "reload" )
-a2 = KDE::Action.new( "Exit", "exit", KDE::Shortcut.new(0), a, SLOT("quit()"), doc.actionCollection, "exit" )
+a2 = KDE::Action.new( "Exit", "system-log-out", KDE::Shortcut.new(0), a, SLOT("quit()"), doc.actionCollection, "exit" )
toplevel.guiFactory.addClient doc
diff --git a/korundum/rubylib/examples/systray.rb b/korundum/rubylib/examples/systray.rb
index b1517a25..f952bb5b 100644
--- a/korundum/rubylib/examples/systray.rb
+++ b/korundum/rubylib/examples/systray.rb
@@ -57,7 +57,7 @@ mainWindow = MainWin.new(nil, "main window")
icons = KDE::IconLoader.new()
systray = KDE::SystemTray.new(mainWindow)
-systray.setPixmap(icons.loadIcon("stop", 0))
+systray.setPixmap(icons.loadIcon("process-stop", 0))
systray.show()
#mainWindow.show()
diff --git a/korundum/rubylib/templates/annotated/systray1.rb b/korundum/rubylib/templates/annotated/systray1.rb
index 15ab2328..10bdb5c8 100644
--- a/korundum/rubylib/templates/annotated/systray1.rb
+++ b/korundum/rubylib/templates/annotated/systray1.rb
@@ -59,7 +59,7 @@ class MainWin < KDE::MainWindow
# KDE::SystemTray hides or shows its parent when the system tray icon is clicked
systray = KDE::SystemTray.new(self)
- systray.setPixmap(icons.loadIcon("stop", 0))
+ systray.setPixmap(icons.loadIcon("process-stop", 0))
connect(systray, SIGNAL("quitSelected()"), self, SLOT('slotQuitSelected()'))
systray.show()
end
diff --git a/korundum/rubylib/templates/basic/systray1.rb b/korundum/rubylib/templates/basic/systray1.rb
index b1e5e09b..b3a91155 100644
--- a/korundum/rubylib/templates/basic/systray1.rb
+++ b/korundum/rubylib/templates/basic/systray1.rb
@@ -44,7 +44,7 @@ class MainWin < KDE::MainWindow
icons = KDE::IconLoader.new()
systray = KDE::SystemTray.new(self)
- systray.setPixmap(icons.loadIcon("stop", 0))
+ systray.setPixmap(icons.loadIcon("process-stop", 0))
connect(systray, SIGNAL("quitSelected()"), self, SLOT('slotQuitSelected()'))
systray.show()
end
diff --git a/korundum/rubylib/tutorials/p7/p7.rb b/korundum/rubylib/tutorials/p7/p7.rb
index 6c73c9c9..d567c22a 100644
--- a/korundum/rubylib/tutorials/p7/p7.rb
+++ b/korundum/rubylib/tutorials/p7/p7.rb
@@ -47,7 +47,7 @@ class Browser < KDE::MainWindow
toolbar.insertButton(icons.loadIcon("back", KDE::Icon::Toolbar), TOOLBAR_ID_BACK,
SIGNAL('clicked(int)'),self,SLOT('gotoPreviousPage()'),
false, i18n("Back to previous page"))
- toolbar.insertButton(icons.loadIcon("exit", KDE::Icon::Toolbar), TOOLBAR_ID_QUIT,
+ toolbar.insertButton(icons.loadIcon("system-log-out", KDE::Icon::Toolbar), TOOLBAR_ID_QUIT,
SIGNAL('clicked(int)'),$kapp,SLOT('quit()'),true,
i18n("Quit the application"))
addToolBar(toolbar)