nemo r54 - trunk/gtk



Author: arj
Date: Tue Jan  8 13:31:30 2008
New Revision: 54
URL: http://svn.gnome.org/viewvc/nemo?rev=54&view=rev

Log:
Flyt prev page pà den sidste side



Modified:
   trunk/gtk/SearchPopup.cs

Modified: trunk/gtk/SearchPopup.cs
==============================================================================
--- trunk/gtk/SearchPopup.cs	(original)
+++ trunk/gtk/SearchPopup.cs	Tue Jan  8 13:31:30 2008
@@ -106,7 +106,14 @@
 				add_page_link(Mono.Unix.Catalog.GetString("Prev page"), page_navigation, offset-last_page_size);
 			if (items.Count > index) // next
 				add_page_link(Mono.Unix.Catalog.GetString("Next page"), page_navigation, index);
-
+			else {
+				Gtk.Alignment empty_box = new Gtk.Alignment(1,1,1,1);
+				empty_box.LeftPadding = 27;
+				empty_box.RightPadding = 27;
+				empty_box.Add(new Gtk.Label());
+				page_navigation.PackStart(empty_box, false, false, 5);
+			}
+			
 	        Gtk.Alignment alignment = new Gtk.Alignment(1F, 0.5F, 0F, 0F);
 			alignment.Add(page_navigation);
 			elements.PackStart(alignment, true, true, 5);



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