paperbox r122 - in trunk: . src



Author: markoa
Date: Sat Mar 15 18:03:35 2008
New Revision: 122
URL: http://svn.gnome.org/viewvc/paperbox?rev=122&view=rev

Log:
Rm everything related to the Index button

Modified:
   trunk/ChangeLog
   trunk/src/main-window.cc
   trunk/src/main-window.hh

Modified: trunk/src/main-window.cc
==============================================================================
--- trunk/src/main-window.cc	(original)
+++ trunk/src/main-window.cc	Sat Mar 15 18:03:35 2008
@@ -108,8 +108,7 @@
         category_vbox_(0),
         button_edit_category_(Gtk::Stock::EDIT),
         tag_cloud_vbox_(0),
-        tag_box_(false, 4),
-        button_view_all_(Gtk::Stock::INDEX)
+        tag_box_(false, 4)
     {
         init_gui();
         set_default_size(800, 670);
@@ -151,14 +150,11 @@
         tag_cloud_.set_model(model_);
         tag_cloud_vbox_->pack_start(tag_box_);
 
-        tag_box_.pack_start(button_view_all_, false, false);
         tag_box_.pack_start(tag_cloud_, true, true);
 
         setup_categories();
 
         show_all_children();
-
-        button_view_all_.set_sensitive(false);
     }
 
     void
@@ -356,7 +352,6 @@
         tile_view_->reset_selection();
 
         render_new_tile_set(docs);
-        button_view_all_.set_sensitive(true);
 
         // "manually" put a marker on the tag in the cloud
         tag_cloud_.select_tag(tag);
@@ -377,7 +372,6 @@
     MainWindow::render_documents(const vector<shared_ptr<Document> > docs)
     {
         render_new_tile_set(docs);
-        button_view_all_.set_sensitive(false);
         tag_cloud_.reset_selection();
     }
 

Modified: trunk/src/main-window.hh
==============================================================================
--- trunk/src/main-window.hh	(original)
+++ trunk/src/main-window.hh	Sat Mar 15 18:03:35 2008
@@ -76,7 +76,6 @@
         void on_tag_clicked(const Glib::ustring& tag);
 
         void on_edit_category();
-        void on_view_all();
 
         bool on_category_selected(const Glib::RefPtr<Gtk::TreeModel>& ,
                                   const Gtk::TreeModel::Path& path,
@@ -118,7 +117,6 @@
         boost::shared_ptr<TagCloudModel> model_;
         TagCloud    tag_cloud_;
         Gtk::VBox   tag_box_;
-        Gtk::Button button_view_all_;
 
         Thumbnailer thumbnailer_;
 



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