Bring camera icons into XDG compliance

pull/1/head
Timothy Pearson 10 years ago
parent 9545faf0fc
commit 8413cb70b5

@ -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());

Before

Width:  |  Height:  |  Size: 747 B

After

Width:  |  Height:  |  Size: 747 B

Before

Width:  |  Height:  |  Size: 747 B

After

Width:  |  Height:  |  Size: 747 B

Before

Width:  |  Height:  |  Size: 953 B

After

Width:  |  Height:  |  Size: 953 B

Before

Width:  |  Height:  |  Size: 953 B

After

Width:  |  Height:  |  Size: 953 B

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Loading…
Cancel
Save