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

pull/1/head
Timothy Pearson 10 years ago
parent b4de4028d6
commit a2541c112a

@ -52,10 +52,10 @@ AreaListView::AreaListView(TQWidget *parent, const char *name)
TQHBox *hbox= new TQHBox(this);
upBtn= new TQPushButton("",hbox);
upBtn->setIconSet(SmallIconSet("up"));
upBtn->setIconSet(SmallIconSet("go-up"));
downBtn= new TQPushButton("",hbox);
downBtn->setIconSet(SmallIconSet("down"));
downBtn->setIconSet(SmallIconSet("go-down"));
}

@ -147,10 +147,10 @@ void ActionManager::initTabWidget(TabWidgetSession* tabWidgetSession)
toggle_action->setChecked(KLSConfig::followLastLinkChecked());
// this action must be in the tabwidget because the slot can't be connected to a particular sessionWidget
toggle_action = new TDEToggleAction(i18n("&Hide Search Panel"), "bottom", "Ctrl+h",
toggle_action = new TDEToggleAction(i18n("&Hide Search Panel"), "go-bottom", "Ctrl+h",
TQT_TQOBJECT(d->tabWidgetSession), TQT_SLOT(slotHideSearchPanel()),
TQT_TQOBJECT(d->actionCollection), "hide_search_bar");
KGuiItem item(i18n("&Show Search Panel"), "top", "Show Search Panel");
KGuiItem item(i18n("&Show Search Panel"), "go-top", "Show Search Panel");
toggle_action->setCheckedState(item);
new TDEAction(i18n("&Reset Search Options"), "reload", "F5",

@ -61,11 +61,11 @@ fontFamilyChooser::fontFamilyChooser(TQWidget* parent, const char *name) : fontF
pbRemove->setIconSet(iconSet);
pbRemove->setFixedSize( pixMap.width()+8, pixMap.height()+8 );
iconSet = SmallIconSet(TQString::fromLatin1("up"));
iconSet = SmallIconSet(TQString::fromLatin1("go-up"));
pbMoveUp->setIconSet(iconSet);
pbMoveUp->setFixedSize( pixMap.width()+8, pixMap.height()+8 );
iconSet = SmallIconSet(TQString::fromLatin1("down"));
iconSet = SmallIconSet(TQString::fromLatin1("go-down"));
pbMoveDown->setIconSet(iconSet);
pbMoveDown->setFixedSize( pixMap.width()+8, pixMap.height()+8 );

@ -134,7 +134,7 @@ void ProjectPrivate::initActions(TDEActionCollection *ac)
parent, TQT_SLOT( slotRescanPrjDir() ),
ac, "project_rescan" );
uploadProjectAction = new TDEAction( i18n( "&Upload Project..." ), "up", Key_F8,
uploadProjectAction = new TDEAction( i18n( "&Upload Project..." ), "go-up", Key_F8,
parent, TQT_SLOT( slotUpload() ),
ac, "project_upload" );

@ -86,7 +86,7 @@ TQWidget * UploadProfiles::createTreeview(const UploadProfile &profile)
if (kurl.isValid() && ! kurl.isEmpty())
{
widget = new ServerTreeView(quantaApp->config(), quantaApp, kurl, TQString("ServerTreeView" + profile.name).ascii());
widget->setIcon(SmallIcon("up"));
widget->setIcon(SmallIcon("go-up"));
widget->setCaption( i18n("Upload Profile") + ": " + profile.name );
quantaApp->addToolWindow(widget, quantaApp->prevDockPosition(widget, KDockWidget::DockRight), quantaApp->getMainDockWidget());
}

@ -71,7 +71,7 @@ ViewManager::ViewManager(TQObject *parent, const char *name) : TQObject(parent,
m_tabPopup->insertItem(i18n("Close &Other Tabs"), this, TQT_SLOT(slotCloseOtherTabs()));
m_tabPopup->insertItem(i18n("Close &All"), this, TQT_SLOT(closeAll()));
m_tabPopup->insertItem(SmallIcon("revert"), i18n("&Reload"), this, TQT_SLOT(slotReloadFile()), 0, RELOAD_ID);
m_tabPopup->insertItem(SmallIcon("up"), i18n("&Upload File"), this, TQT_SLOT(slotUploadFile()), 0, UPLOAD_ID);
m_tabPopup->insertItem(SmallIcon("go-up"), i18n("&Upload File"), this, TQT_SLOT(slotUploadFile()), 0, UPLOAD_ID);
m_tabPopup->insertItem(SmallIcon("editdelete"), i18n("&Delete File"), this, TQT_SLOT(slotDeleteFile()), 0, DELETE_ID);
m_tabPopup->insertSeparator();
m_fileListPopup = new TDEPopupMenu(quantaApp);

@ -130,8 +130,8 @@ ProjectTreeView::ProjectTreeView(TQWidget *parent, const char *name )
m_fileMenu->insertItem(i18n("Insert &Tag"), this, TQT_SLOT(slotInsertTag()));
m_menuClose = m_fileMenu->insertItem(SmallIcon("fileclose"), i18n("Clos&e"), this, TQT_SLOT(slotClose()));
m_fileMenu->insertSeparator();
m_fileMenu->insertItem(SmallIcon("up"), i18n("&Upload File..."), this, TQT_SLOT(slotUploadSingleURL()));
m_fileMenu->insertItem(SmallIcon("up"), i18n("&Quick File Upload"), this, TQT_SLOT(slotQuickUploadURL()));
m_fileMenu->insertItem(SmallIcon("go-up"), i18n("&Upload File..."), this, TQT_SLOT(slotUploadSingleURL()));
m_fileMenu->insertItem(SmallIcon("go-up"), i18n("&Quick File Upload"), this, TQT_SLOT(slotQuickUploadURL()));
m_fileMenu->insertItem(i18n("Re&name"), this, TQT_SLOT(slotStartRename()));
m_fileMenu->insertItem( i18n("&Remove From Project"), this, TQT_SLOT(slotRemoveFromProject(int)));
m_fileMenu->insertItem(SmallIcon("editdelete"), i18n("&Delete"), this, TQT_SLOT(slotDelete()));
@ -147,8 +147,8 @@ ProjectTreeView::ProjectTreeView(TQWidget *parent, const char *name )
m_folderMenu->insertItem(SmallIconSet("filenew"), i18n("&Create New"), createNewMenu);
m_folderMenu->insertSeparator();
m_folderMenu->insertItem(SmallIcon("up"), i18n("&Upload Folder..."), this, TQT_SLOT(slotUploadSingleURL()));
m_folderMenu->insertItem(SmallIcon("up"), i18n("&Quick Folder Upload"), this, TQT_SLOT(slotQuickUploadURL()));
m_folderMenu->insertItem(SmallIcon("go-up"), i18n("&Upload Folder..."), this, TQT_SLOT(slotUploadSingleURL()));
m_folderMenu->insertItem(SmallIcon("go-up"), i18n("&Quick Folder Upload"), this, TQT_SLOT(slotQuickUploadURL()));
m_folderMenu->insertItem(i18n("Create Site &Template..."), this, TQT_SLOT(slotCreateSiteTemplate()));
m_folderMenu->insertItem(i18n("Re&name"), this, TQT_SLOT(slotStartRename()));
m_folderMenu->insertItem(i18n("&Remove From Project"), this, TQT_SLOT(slotRemoveFromProject(int)));
@ -161,7 +161,7 @@ ProjectTreeView::ProjectTreeView(TQWidget *parent, const char *name )
m_projectMenu = new TDEPopupMenu(this);
m_projectMenu->insertItem(SmallIconSet("filenew"), i18n("&Create New"), createNewMenu);
m_projectMenu->insertSeparator();
m_projectMenu->insertItem(SmallIcon("up"), i18n("&Upload Project..."), this, TQT_SLOT(slotUploadProject()));
m_projectMenu->insertItem(SmallIcon("go-up"), i18n("&Upload Project..."), this, TQT_SLOT(slotUploadProject()));
m_projectMenu->insertItem(SmallIcon("reload"), i18n("Re&scan Project Folder..."), this, TQT_SLOT(slotRescan()));
m_projectMenu->insertItem(SmallIcon("configure"), i18n("Project &Properties"), this, TQT_SLOT(slotOptions()));
m_projectMenu->insertItem(SmallIcon("revert"), i18n("&Reload"), this, TQT_SLOT(slotReload()));

@ -148,7 +148,7 @@ KFileTreeBranch* ServerTreeView::newBranch(const KURL& url)
KURL branchURL = url;
branchURL.adjustPath(+1);
BaseTreeBranch* newBrnch = 0;
newBrnch = new ServerTreeBranch(this, branchURL, branchURL.prettyURL(), SmallIcon("up"), true);
newBrnch = new ServerTreeBranch(this, branchURL, branchURL.prettyURL(), SmallIcon("go-up"), true);
newBrnch->setShowingDotFiles(qConfig.showHiddenFiles);
addBranch(newBrnch);
return newBrnch;

@ -517,7 +517,7 @@ void TDEFileReplaceView::initGUI()
TQT_SLOT(slotResultEdit()));
}
m_menuResult->insertItem(SmallIconSet(TQString::fromLatin1("up")),
m_menuResult->insertItem(SmallIconSet(TQString::fromLatin1("go-up")),
i18n("Open Parent &Folder"),
this,
TQT_SLOT(slotResultDirOpen()));

Loading…
Cancel
Save