[glom] Initial dialog: Expand the network item.



commit 08ad845bb5944b675106b5f2f93248caa1ec79eb
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Sep 28 12:50:41 2009 +0200

    Initial dialog: Expand the network item.
    
    * glom/dialog_existing_or_new.cc: Constructor: Expand the Network
    item, because it helps to explain what it is, particularly on Maemo
    where there are no treeview row arrows.

 ChangeLog                      |    8 ++++++++
 glom/dialog_existing_or_new.cc |    4 +++-
 glom/dialog_existing_or_new.h  |    2 +-
 3 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e591942..688641c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2009-09-28  Murray Cumming  <murrayc murrayc com>
 
+	Initial dialog: Expand the network item.
+
+	* glom/dialog_existing_or_new.cc: Constructor: Expand the Network 
+	item, because it helps to explain what it is, particularly on Maemo 
+	where there are no treeview row arrows.
+
+2009-09-28  Murray Cumming  <murrayc murrayc com>
+
 	Fix a crash.
 
 	* glom/dialog_existing_or_new.cc: Move some assertions so this works 
diff --git a/glom/dialog_existing_or_new.cc b/glom/dialog_existing_or_new.cc
index f41021a..5591856 100644
--- a/glom/dialog_existing_or_new.cc
+++ b/glom/dialog_existing_or_new.cc
@@ -201,8 +201,10 @@ Dialog_ExistingOrNew::Dialog_ExistingOrNew(BaseObjectType* cobject, const Glib::
 #endif
 
  
-  // Expand recently used files
+  // Expand recently used files and the networked files,
+  // because the contents help to explain what this is: 
   m_existing_view->expand_row(m_existing_model->get_path(m_iter_existing_recent), false);
+  m_existing_view->expand_row(m_existing_model->get_path(m_iter_existing_network), false);
 
   m_select_button->signal_clicked().connect(sigc::mem_fun(*this, &Dialog_ExistingOrNew::on_select_clicked));
   m_select_button->set_image(*Gtk::manage(new Gtk::Image(Gtk::Stock::APPLY, Gtk::ICON_SIZE_BUTTON)));
diff --git a/glom/dialog_existing_or_new.h b/glom/dialog_existing_or_new.h
index 6c2747a..8f6a2b4 100644
--- a/glom/dialog_existing_or_new.h
+++ b/glom/dialog_existing_or_new.h
@@ -179,7 +179,7 @@ private:
   Gtk::CellRendererPixbuf m_existing_icon_renderer;
   Gtk::CellRendererText m_existing_title_renderer;
 
-
+  //Iterators to the parent nodes:
   Gtk::TreeModel::iterator m_iter_existing_recent;
 #ifndef G_OS_WIN32
   Gtk::TreeModel::iterator m_iter_existing_network;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]