[gnome-commander] Fixed problem #583135 (disabled 'Go to' button in search dialog)
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-commander] Fixed problem #583135 (disabled 'Go to' button in search dialog)
- Date: Fri, 29 May 2009 17:14:08 -0400 (EDT)
commit 9515ff227ce721bfb0eba297442d806c39f228b8
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Fri May 29 23:01:19 2009 +0200
Fixed problem #583135 (disabled 'Go to' button in search dialog)
---
ChangeLog | 3 +++
NEWS | 1 +
doc/C/gnome-commander.xml | 3 +++
src/gnome-cmd-search-dialog.cc | 10 ++--------
4 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 52efc3a..ac25bac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
* src/eggcellrendererkeys.cc:
Use gtk_widget_error_bell() for GTK+ >= 2.12
+ * src/gnome-cmd-search-dialog.cc:
+ Fixed problem #583135 (disabled 'Go to' button in search dialog)
+
2009-05-26 Piotr Eljasiak <epiotr use pl>
* src/gnome-cmd-bookmark-dialog.cc:
diff --git a/NEWS b/NEWS
index ff1025a..4e8b21f 100644
--- a/NEWS
+++ b/NEWS
@@ -19,6 +19,7 @@ Bug fixes:
* Fixed problem #571558 (replacing deprecated GNOME_STOCK_* buttons with GTK_STOCK_* counterparts)
* Fixed problem #576174 (case insensitive file name sorting in non en_US.utf8 locale)
* Fixed problem #579633 (accessing administrator privileges with gksudo)
+ * Fixed problem #583135 (disabled 'Go to' button in search dialog)
* Fixed problem #583711 (crash when pressing ESC in bookmark dialog)
* Fixed problem with setting equal pane size in horizontal mode
* Fixed problem with refreshing MIME information after file renaming
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index 5801a90..83b007e 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -6019,6 +6019,9 @@
<para>Fixed problem #579633 (accessing administrator privileges with gksudo)</para>
</listitem>
<listitem>
+ <para>Fixed problem #583135 (disabled 'Go to' button in search dialog)</para>
+ </listitem>
+ <listitem>
<para>Fixed problem #583711 (crash when pressing ESC in bookmark dialog)</para>
</listitem>
<listitem>
diff --git a/src/gnome-cmd-search-dialog.cc b/src/gnome-cmd-search-dialog.cc
index 7119ffb..034ff1c 100644
--- a/src/gnome-cmd-search-dialog.cc
+++ b/src/gnome-cmd-search-dialog.cc
@@ -120,13 +120,6 @@ struct GnomeCmdSearchDialogPrivate
};
-static void on_list_file_clicked (GnomeCmdFileList *fl, GnomeCmdFile *f, GdkEventButton *button, GnomeCmdSearchDialog *dialog)
-{
- if (dialog->priv->data->search_done)
- gtk_widget_set_sensitive (dialog->priv->goto_button, TRUE);
-}
-
-
/**
* Puts a string in the statusbar.
*
@@ -376,6 +369,8 @@ static gpointer perform_search_operation (SearchData *data)
data->dir = NULL;
data->search_done = TRUE;
+ gtk_widget_set_sensitive (data->dialog->priv->goto_button, TRUE);
+
return NULL;
}
@@ -944,7 +939,6 @@ static void init (GnomeCmdSearchDialog *dialog)
g_signal_connect (G_OBJECT (dialog), "destroy", G_CALLBACK (on_dialog_destroy), NULL);
g_signal_connect (G_OBJECT (dialog), "size-allocate", G_CALLBACK (on_dialog_size_allocate), NULL);
g_signal_connect (G_OBJECT (dialog->priv->result_list), "key-press-event", G_CALLBACK (on_list_keypressed), dialog);
- g_signal_connect (G_OBJECT (dialog->priv->result_list), "file-clicked", G_CALLBACK (on_list_file_clicked), dialog);
gtk_signal_connect (GTK_OBJECT (dialog->priv->find_text_check), "toggled", GTK_SIGNAL_FUNC (find_text_toggled), dialog);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]