nemo r66 - in trunk: gtk gtk-gui
- From: arj svn gnome org
- To: svn-commits-list gnome org
- Subject: nemo r66 - in trunk: gtk gtk-gui
- Date: Thu, 10 Jan 2008 14:35:46 +0000 (GMT)
Author: arj
Date: Thu Jan 10 14:35:45 2008
New Revision: 66
URL: http://svn.gnome.org/viewvc/nemo?rev=66&view=rev
Log:
Fix a concurrency problem in doing multiple searches at the same time
Modified:
trunk/gtk-gui/MainWindow.cs
trunk/gtk/MainWindow.cs
Modified: trunk/gtk-gui/MainWindow.cs
==============================================================================
--- trunk/gtk-gui/MainWindow.cs (original)
+++ trunk/gtk-gui/MainWindow.cs Thu Jan 10 14:35:45 2008
@@ -237,14 +237,14 @@
this.prev_button.UseUnderline = true;
// Container child prev_button.Gtk.Container+ContainerChild
Gtk.Alignment w22 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
- // Container child GtkAlignment1.Gtk.Container+ContainerChild
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
Gtk.HBox w23 = new Gtk.HBox();
w23.Spacing = 2;
- // Container child GtkHBox1.Gtk.Container+ContainerChild
+ // Container child GtkHBox.Gtk.Container+ContainerChild
Gtk.Image w24 = new Gtk.Image();
w24.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-back", Gtk.IconSize.Menu, 16);
w23.Add(w24);
- // Container child GtkHBox1.Gtk.Container+ContainerChild
+ // Container child GtkHBox.Gtk.Container+ContainerChild
Gtk.Label w26 = new Gtk.Label();
w26.LabelProp = "";
w23.Add(w26);
@@ -262,14 +262,14 @@
this.next_button.UseUnderline = true;
// Container child next_button.Gtk.Container+ContainerChild
Gtk.Alignment w31 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
- // Container child GtkAlignment2.Gtk.Container+ContainerChild
+ // Container child GtkAlignment.Gtk.Container+ContainerChild
Gtk.HBox w32 = new Gtk.HBox();
w32.Spacing = 2;
- // Container child GtkHBox2.Gtk.Container+ContainerChild
+ // Container child GtkHBox.Gtk.Container+ContainerChild
Gtk.Image w33 = new Gtk.Image();
w33.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-go-forward", Gtk.IconSize.Menu, 16);
w32.Add(w33);
- // Container child GtkHBox2.Gtk.Container+ContainerChild
+ // Container child GtkHBox.Gtk.Container+ContainerChild
Gtk.Label w35 = new Gtk.Label();
w35.LabelProp = "";
w32.Add(w35);
Modified: trunk/gtk/MainWindow.cs
==============================================================================
--- trunk/gtk/MainWindow.cs (original)
+++ trunk/gtk/MainWindow.cs Thu Jan 10 14:35:45 2008
@@ -203,7 +203,7 @@
{
if (search_input.Text == "" || search_input.Text == null)
{
- Singleton<OverlayTracker>.Instance.hide_all_and_die();
+ Singleton<OverlayTracker>.Instance.hide_and_die("search_popup");
search_result_valid = false;
return;
}
@@ -218,7 +218,8 @@
broker.SearchForText(search_input.Text, quick_search,
Helpers.RunInMainThread<List<Tuple<string[], File>>>(delegate (List<Tuple<string[], File>> search_results) {
- on_search_text_results(search_results, search_input.Text);
+ Nemo.Singleton<Nemo.OverlayTracker>.Instance.hide_and_die("search_popup");
+ on_search_text_results(search_results, search_input.Text);
})
);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]