[gnome-commander/remove-search] Remove the internal file search dialog
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/remove-search] Remove the internal file search dialog
- Date: Thu, 13 Jan 2022 22:51:01 +0000 (UTC)
commit 15d33b116b527b7373f5e7c8d0ecb358430f1a50
Author: Uwe Scholz <u scholz83 gmx de>
Date: Thu Jan 13 23:48:16 2022 +0100
Remove the internal file search dialog
src/dialogs/Makefile.am | 1 -
src/dialogs/gnome-cmd-search-dialog.cc | 966 ---------------------------------
src/dialogs/gnome-cmd-search-dialog.h | 61 ---
src/gnome-cmd-main-win.cc | 4 -
src/gnome-cmd-main-win.h | 2 -
src/gnome-cmd-user-actions.cc | 1 -
6 files changed, 1035 deletions(-)
---
diff --git a/src/dialogs/Makefile.am b/src/dialogs/Makefile.am
index 32cf6bfa..05937ddb 100644
--- a/src/dialogs/Makefile.am
+++ b/src/dialogs/Makefile.am
@@ -41,7 +41,6 @@ libgcmd_dialogs_a_SOURCES = \
gnome-cmd-prepare-copy-dialog.h gnome-cmd-prepare-copy-dialog.cc \
gnome-cmd-prepare-move-dialog.h gnome-cmd-prepare-move-dialog.cc \
gnome-cmd-prepare-xfer-dialog.h gnome-cmd-prepare-xfer-dialog.cc \
- gnome-cmd-search-dialog.h gnome-cmd-search-dialog.cc \
gnome-cmd-remote-dialog.h gnome-cmd-remote-dialog.cc \
gnome-cmd-rename-dialog.h gnome-cmd-rename-dialog.cc
diff --git a/src/gnome-cmd-main-win.cc b/src/gnome-cmd-main-win.cc
index 5c48ff05..a7dda1a6 100644
--- a/src/gnome-cmd-main-win.cc
+++ b/src/gnome-cmd-main-win.cc
@@ -793,9 +793,6 @@ static void destroy (GtkObject *object)
if (main_win && main_win->advrename_dlg)
gtk_widget_destroy (*main_win->advrename_dlg);
- if (main_win && main_win->file_search_dlg)
- gtk_widget_destroy (*main_win->file_search_dlg);
-
gtk_main_quit ();
}
@@ -838,7 +835,6 @@ static void init (GnomeCmdMainWin *mw)
main_win = GNOME_CMD_MAIN_WIN (mw);
mw->advrename_dlg = NULL;
- mw->file_search_dlg = NULL;
mw->priv = g_new0 (GnomeCmdMainWin::Private, 1);
mw->priv->current_fs = LEFT;
mw->priv->accel_group = gtk_accel_group_new ();
diff --git a/src/gnome-cmd-main-win.h b/src/gnome-cmd-main-win.h
index b8129f2e..3238884b 100644
--- a/src/gnome-cmd-main-win.h
+++ b/src/gnome-cmd-main-win.h
@@ -25,7 +25,6 @@
#include "gnome-cmd-cmdline.h"
#include "plugin_manager.h"
#include "dialogs/gnome-cmd-advrename-dialog.h"
-#include "dialogs/gnome-cmd-search-dialog.h"
#define GNOME_CMD_TYPE_MAIN_WIN (gnome_cmd_main_win_get_type ())
#define GNOME_CMD_MAIN_WIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNOME_CMD_TYPE_MAIN_WIN,
GnomeCmdMainWin))
@@ -62,7 +61,6 @@ struct GnomeCmdMainWin
operator GtkWindow * () const { return GTK_WINDOW (this); }
GnomeCmdAdvrenameDialog *advrename_dlg;
- GnomeCmdSearchDialog *file_search_dlg;
FileSelectorID fs() const;
FileSelectorID fs(GnomeCmdFileSelector *fs) const;
diff --git a/src/gnome-cmd-user-actions.cc b/src/gnome-cmd-user-actions.cc
index 321501ad..0ccb5d51 100644
--- a/src/gnome-cmd-user-actions.cc
+++ b/src/gnome-cmd-user-actions.cc
@@ -46,7 +46,6 @@
#include "dialogs/gnome-cmd-make-copy-dialog.h"
#include "dialogs/gnome-cmd-manage-bookmarks-dialog.h"
#include "dialogs/gnome-cmd-mkdir-dialog.h"
-#include "dialogs/gnome-cmd-search-dialog.h"
#include "dialogs/gnome-cmd-options-dialog.h"
#include "dialogs/gnome-cmd-prepare-copy-dialog.h"
#include "dialogs/gnome-cmd-prepare-move-dialog.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]