diff options
author | Timothy Pearson <[email protected]> | 2014-10-11 18:45:49 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2014-10-11 18:45:49 -0500 |
commit | 8413cb70b5e8d0690c94795388301cbd37e4b1ac (patch) | |
tree | 14d8c8ecfc7cb439042af619ad756edef2207ba8 /kamera/kcontrol/kamera.cpp | |
parent | 9545faf0fc330f3e26179997ababa3bfa26eaa8f (diff) | |
download | tdegraphics-8413cb70b5e8d0690c94795388301cbd37e4b1ac.tar.gz tdegraphics-8413cb70b5e8d0690c94795388301cbd37e4b1ac.zip |
Bring camera icons into XDG compliance
Diffstat (limited to 'kamera/kcontrol/kamera.cpp')
-rw-r--r-- | kamera/kcontrol/kamera.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kamera/kcontrol/kamera.cpp b/kamera/kcontrol/kamera.cpp index 53b17545..8a127b8c 100644 --- a/kamera/kcontrol/kamera.cpp +++ b/kamera/kcontrol/kamera.cpp @@ -54,7 +54,7 @@ KKameraConfig::KKameraConfig(TQWidget *parent, const char *name, const TQStringL m_devicePopup = new TDEPopupMenu(this); m_actions = new TDEActionCollection(this); m_config = new KSimpleConfig(KProtocolInfo::config("camera")); - + m_context = gp_context_new(); if (m_context) { @@ -118,7 +118,7 @@ void KKameraConfig::displayGPSuccessDialogue(void) // create actions TDEAction *act; - act = new TDEAction(i18n("Add"), "camera", 0, TQT_TQOBJECT(this), TQT_SLOT(slot_addCamera()), m_actions, "camera_add"); + act = new TDEAction(i18n("Add"), "camera-photo", 0, TQT_TQOBJECT(this), TQT_SLOT(slot_addCamera()), m_actions, "camera_add"); act->setWhatsThis(i18n("Click this button to add a new camera.")); act->plug(m_toolbar); m_toolbar->insertLineSeparator(); @@ -147,7 +147,7 @@ void KKameraConfig::populateDeviceListView(void) CameraDevicesMap::Iterator it; for (it = m_devices.begin(); it != m_devices.end(); it++) { if (it.data()) { - new TQIconViewItem(m_deviceSel, it.key(), DesktopIcon("camera")); + new TQIconViewItem(m_deviceSel, it.key(), DesktopIcon("camera-photo")); } } slot_deviceSelected(m_deviceSel->currentItem()); |