Bring up, down, top, and bottom icons into XDG compliance

pull/1/head
Timothy Pearson 10 years ago
parent 32313c053e
commit 81ee2aba1f

@ -209,7 +209,7 @@ module MyGui
self, SLOT("goto_prev_match()"), @main.actionCollection, "prev_match"
KDE::Action.new "&Next Match", "go-next", KDE::Shortcut.new(TQt::CTRL + TQt::Key_N),
self, SLOT("goto_next_match()"), @main.actionCollection, "next_match"
KDE::Action.new "&Follow Match","down", KDE::Shortcut.new(TQt::Key_Return),
KDE::Action.new "&Follow Match","go-down", KDE::Shortcut.new(TQt::Key_Return),
self, SLOT("goto_current_match_link()"), @main.actionCollection, "open_match"
KDE::Action.new "Search", "find", KDE::Shortcut.new(TQt::Key_F6),
@ -663,7 +663,7 @@ class ProjectEditDialog < TQt::Object
@url = KDE::LineEdit.new lochbox
urllabel.setBuddy @url
locselc = TQt::PushButton.new lochbox
locselc.setIconSet SmallIconSet["up"]
locselc.setIconSet SmallIconSet["go-up"]
blub = TQt::HBox.new vbox
TQt::Label.new "Is main one?:", blub
@ -773,7 +773,7 @@ class ProjectSelectDialog < TQt::Object
@parent.projects_data.project_list.keys.each {
|name|
enabled = (name == @parent.projects_data.enabled_name)
icon = enabled ? "forward" : "down"
icon = enabled ? "forward" : "go-down"
pm = SmallIconSet[icon].pixmap(TQt::IconSet::Automatic, TQt::IconSet::Normal)
it = TQt::ListBoxPixmap.new pm, name
@listbox.insertItem it

Loading…
Cancel
Save