[gnote] Remove minimum size on Search All Notes Window



commit f94d3b0fd88df931b69a1345ec76dbdf4ae60e2c
Author: Aurimas Äernius <aurisc4 gmail com>
Date:   Sat Sep 3 13:16:52 2011 +0300

    Remove minimum size on Search All Notes Window
    
    As in Tomboy bug 582558.

 src/recentchanges.cpp |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/recentchanges.cpp b/src/recentchanges.cpp
index 1a7c1f9..4d76523 100644
--- a/src/recentchanges.cpp
+++ b/src/recentchanges.cpp
@@ -177,13 +177,6 @@ namespace gnote {
 
     m_matches_window.set_shadow_type(Gtk::SHADOW_IN);
 
-    // Reign in the window size if there are notes with long
-    // names, or a lot of notes...
-
-    int h, w;
-    m_tree->get_size_request (h,w);
-    m_matches_window.set_size_request(std::min(h, 420), std::min(w, 480));
-                        
     m_matches_window.property_hscrollbar_policy() = Gtk::POLICY_AUTOMATIC;
     m_matches_window.property_vscrollbar_policy() = Gtk::POLICY_AUTOMATIC;
     m_matches_window.add (*m_tree);



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