nemo r32 - in trunk: gtk gtk-gui
- From: arj svn gnome org
- To: svn-commits-list gnome org
- Subject: nemo r32 - in trunk: gtk gtk-gui
- Date: Mon, 7 Jan 2008 10:46:37 +0000 (GMT)
Author: arj
Date: Mon Jan 7 10:46:37 2008
New Revision: 32
URL: http://svn.gnome.org/viewvc/nemo?rev=32&view=rev
Log:
Make All files, Starred and Today button work again
Stupid monodevelop
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 Mon Jan 7 10:46:37 2008
@@ -392,10 +392,13 @@
this.DefaultWidth = 701;
this.DefaultHeight = 512;
this.Show();
+ this.all_files_button.Pressed += new System.EventHandler(this.OnAllFilesPressed);
+ this.starred_button.Pressed += new System.EventHandler(this.OnStarredPressed);
this.search_input.KeyReleaseEvent += new Gtk.KeyReleaseEventHandler(this.on_key_release);
this.search_button.Clicked += new System.EventHandler(this.on_search_button_click);
this.prev_button.Clicked += new System.EventHandler(this.OnPrevious);
this.next_button.Clicked += new System.EventHandler(this.OnNext);
+ this.today_button.Pressed += new System.EventHandler(this.OnTodayPressed);
this.day_button.Pressed += new System.EventHandler(this.OnDayClick);
this.week_button.Pressed += new System.EventHandler(this.OnWeekClick);
this.month_button.Pressed += new System.EventHandler(this.OnMonthClick);
Modified: trunk/gtk-gui/gui.stetic
==============================================================================
--- trunk/gtk-gui/gui.stetic (original)
+++ trunk/gtk-gui/gui.stetic Mon Jan 7 10:46:37 2008
@@ -27,6 +27,7 @@
<property name="UseUnderline">True</property>
<property name="Relief">None</property>
<property name="Xalign">0</property>
+ <signal name="Pressed" handler="OnAllFilesPressed" />
</widget>
<packing>
<property name="Position">0</property>
@@ -45,6 +46,7 @@
<property name="UseUnderline">True</property>
<property name="Relief">None</property>
<property name="Xalign">0</property>
+ <signal name="Pressed" handler="OnStarredPressed" />
</widget>
<packing>
<property name="Position">1</property>
@@ -245,6 +247,7 @@
<property name="Type">TextOnly</property>
<property name="Label" translatable="yes">Today</property>
<property name="UseUnderline">True</property>
+ <signal name="Pressed" handler="OnTodayPressed" />
</widget>
<packing>
<property name="Position">2</property>
Modified: trunk/gtk/MainWindow.cs
==============================================================================
--- trunk/gtk/MainWindow.cs (original)
+++ trunk/gtk/MainWindow.cs Mon Jan 7 10:46:37 2008
@@ -375,12 +375,6 @@
type_labels.ShowAll();
}
- protected virtual void OnStarredPressed (object sender, System.EventArgs e)
- {
- starred_button_active = !starred_button_active;
- do_search();
- }
-
int move_from_x, move_from_y, width_before, height_before;
protected virtual void GotFocus (object o, Gtk.FocusInEventArgs args)
@@ -425,6 +419,12 @@
do_search();
}
+ protected virtual void OnStarredPressed (object sender, System.EventArgs e)
+ {
+ starred_button_active = !starred_button_active;
+ do_search();
+ }
+
protected virtual void MainKeyRelease (object o, Gtk.KeyReleaseEventArgs args)
{
if (args.Event.Key == Gdk.Key.Escape)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]