[glom] Adjust file chooser dialogs.



commit 92020560a0361a6029855a9dca131dcca5d1f5cf
Author: Daniel Borgmann <danielb openismus com>
Date:   Fri Mar 26 15:09:36 2010 +0000

    	Adjust file chooser dialogs.
    
    	* glom/dialog_existing_or_new.cc: Adjust title of file open dialog,
    	set glom icon.
    	* glom/utility_widgets/filechooserdialog_saveextras.cc: Set glom icon.

 ChangeLog                                          |    8 ++++++++
 glom/dialog_existing_or_new.cc                     |    3 ++-
 .../filechooserdialog_saveextras.cc                |    2 ++
 3 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 1e2e8f8..939567f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2010-03-26  Daniel Borgmann  <danielb openismus com>
 
+	Adjust file chooser dialogs.
+
+	* glom/dialog_existing_or_new.cc: Adjust title of file open dialog,
+	set glom icon.
+	* glom/utility_widgets/filechooserdialog_saveextras.cc: Set glom icon.
+
+2010-03-26  Daniel Borgmann  <danielb openismus com>
+
 	Fix filechooser title label.
 
 	* glom/utility_widgets/filechooserdialog_saveextras.cc: Add colon and
diff --git a/glom/dialog_existing_or_new.cc b/glom/dialog_existing_or_new.cc
index a48e7a5..9d9a1fa 100644
--- a/glom/dialog_existing_or_new.cc
+++ b/glom/dialog_existing_or_new.cc
@@ -955,7 +955,8 @@ void Dialog_ExistingOrNew::on_select_clicked()
     #ifdef GLOM_ENABLE_MAEMO
     Hildon::FileChooserDialog dialog(Gtk::FILE_CHOOSER_ACTION_OPEN);
     #else
-    Gtk::FileChooserDialog dialog(*this, "Choose a glom file to open");
+    Gtk::FileChooserDialog dialog(*this, "Open Glom File");
+    dialog.set_icon_name("glom");
     dialog.add_button(Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
     dialog.add_button(Gtk::Stock::OPEN, Gtk::RESPONSE_OK);
     dialog.set_default_response(Gtk::RESPONSE_OK);
diff --git a/glom/utility_widgets/filechooserdialog_saveextras.cc b/glom/utility_widgets/filechooserdialog_saveextras.cc
index c2606a9..9e88fde 100644
--- a/glom/utility_widgets/filechooserdialog_saveextras.cc
+++ b/glom/utility_widgets/filechooserdialog_saveextras.cc
@@ -64,6 +64,8 @@ void FileChooserDialog_SaveExtras::set_extra_message(const Glib::ustring& messag
 
 void FileChooserDialog_SaveExtras::create_child_widgets()
 {
+  set_icon_name("glom");
+
   //m_extra_widget.pack_start(m_label_extra_message);
   m_label_extra_message.set_alignment(0.0f, 0.5f);
   m_label_extra_message.show();



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