[glom] Don't show error icon for empty recent documents.
- From: Daniel Borgmann <dborg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Don't show error icon for empty recent documents.
- Date: Wed, 31 Mar 2010 12:52:42 +0000 (UTC)
commit 58b5ecc122a678327893cb539adeb19e05857aeb
Author: Daniel Borgmann <danielb openismus com>
Date: Wed Mar 31 13:52:12 2010 +0100
Don't show error icon for empty recent documents.
* glom/dialog_existing_or_new.cc: Also don't show error icon for
empty recent documents.
ChangeLog | 7 +++++++
glom/dialog_existing_or_new.cc | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 1e93c4b..df1878e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2010-03-31 Daniel Borgmann <danielb openismus com>
+ Don't show error icon for empty recent documents.
+
+ * glom/dialog_existing_or_new.cc: Also don't show error icon for
+ empty recent documents.
+
+2010-03-31 Daniel Borgmann <danielb openismus com>
+
Welcome Screen adjustments.
* glom/dialog_existing_or_new.cc: Fix typo and use of properties, don't
diff --git a/glom/dialog_existing_or_new.cc b/glom/dialog_existing_or_new.cc
index c23e63c..44bd102 100644
--- a/glom/dialog_existing_or_new.cc
+++ b/glom/dialog_existing_or_new.cc
@@ -480,7 +480,7 @@ void Dialog_ExistingOrNew::existing_icon_data_func(Gtk::CellRenderer* renderer,
else if(iter == m_iter_existing_other)
pixbuf_renderer->property_stock_id() = Gtk::Stock::OPEN.id;
else if(m_iter_existing_recent_dummy.get() && iter == *m_iter_existing_recent_dummy)
- pixbuf_renderer->property_stock_id() = Gtk::Stock::DIALOG_ERROR.id; // TODO: Use Stock::STOP instead?
+ pixbuf_renderer->property_stock_id() = ""; // TODO: Use Stock::STOP instead?
#ifndef G_OS_WIN32
else if(m_iter_existing_network_dummy.get() && iter == *m_iter_existing_network_dummy)
pixbuf_renderer->property_stock_id() = ""; // TODO: Use Stock::STOP instead?
@@ -501,7 +501,7 @@ void Dialog_ExistingOrNew::existing_icon_data_func(Gtk::CellRenderer* renderer,
else if(iter == m_iter_existing_other)
pixbuf_renderer->set_property("stock-id", Gtk::StockID(Gtk::Stock::OPEN));
else if(m_iter_existing_recent_dummy.get() && iter == *m_iter_existing_recent_dummy)
- pixbuf_renderer->set_property("stock-id", Gtk::StockID(Gtk::Stock::DIALOG_ERROR)); // TODO: Use Stock::STOP instead?
+ pixbuf_renderer->set_property("stock-id", std::string()); // TODO: Use Stock::STOP instead?
#ifndef G_OS_WIN32
else if(m_iter_existing_network_dummy.get() && iter == *m_iter_existing_network_dummy)
pixbuf_renderer->set_property("stock-id", std::string()); // TODO: Use Stock::STOP instead?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]