nemo r72 - in trunk: gtk gtk-gui



Author: arj
Date: Tue Jan 15 17:32:08 2008
New Revision: 72
URL: http://svn.gnome.org/viewvc/nemo?rev=72&view=rev

Log:
Move setting the title to GUI designer as to not show MainWindow and
then the Nemo title

Thanks Corey Burger for the tip



Modified:
   trunk/gtk-gui/MainWindow.cs
   trunk/gtk-gui/gui.stetic
   trunk/gtk/MainWindow.cs

Modified: trunk/gtk-gui/MainWindow.cs
==============================================================================
--- trunk/gtk-gui/MainWindow.cs	(original)
+++ trunk/gtk-gui/MainWindow.cs	Tue Jan 15 17:32:08 2008
@@ -74,7 +74,7 @@
         Stetic.Gui.Initialize(this);
         // Widget MainWindow
         this.Name = "MainWindow";
-        this.Title = Mono.Unix.Catalog.GetString("MainWindow");
+        this.Title = Mono.Unix.Catalog.GetString("Nemo 0.2.1-dev");
         this.Icon = Gdk.Pixbuf.LoadFromResource("blue_guy.png");
         this.WindowPosition = ((Gtk.WindowPosition)(4));
         // Container child MainWindow.Gtk.Container+ContainerChild

Modified: trunk/gtk-gui/gui.stetic
==============================================================================
--- trunk/gtk-gui/gui.stetic	(original)
+++ trunk/gtk-gui/gui.stetic	Tue Jan 15 17:32:08 2008
@@ -6,7 +6,7 @@
   </configuration>
   <widget class="Gtk.Window" id="MainWindow" design-size="701 512">
     <property name="MemberName" />
-    <property name="Title" translatable="yes">MainWindow</property>
+    <property name="Title" translatable="yes">Nemo 0.2.1-dev</property>
     <property name="Icon">resource:blue_guy.png</property>
     <property name="WindowPosition">CenterOnParent</property>
     <signal name="FocusInEvent" handler="GotFocus" />

Modified: trunk/gtk/MainWindow.cs
==============================================================================
--- trunk/gtk/MainWindow.cs	(original)
+++ trunk/gtk/MainWindow.cs	Tue Jan 15 17:32:08 2008
@@ -11,8 +11,6 @@
 
 public partial class MainWindow: Gtk.Window
 {
-	static private string version = "Nemo 0.2.0";
-
 	// helper classes
 	Tray tray;
 
@@ -51,8 +49,6 @@
 		this.Resize(Singleton<Configuration>.Instance.data.main_window_width,
 		            Singleton<Configuration>.Instance.data.main_window_height);
 
-		this.Title = version;
-
 		this.AddMnemonic('s', this.search_input);
 
 		// hide while moving



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