[gnome-commander] noop: code cleanup
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] noop: code cleanup
- Date: Sun, 6 Nov 2011 13:15:21 +0000 (UTC)
commit a5fba1394acbc1471524422a8d2ec462e3ea5964
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sun Nov 6 13:56:18 2011 +0100
noop: code cleanup
src/gnome-cmd-options-dialog.cc | 34 +++++++++++-----------------------
1 files changed, 11 insertions(+), 23 deletions(-)
---
diff --git a/src/gnome-cmd-options-dialog.cc b/src/gnome-cmd-options-dialog.cc
index d08b60b..8df92f0 100644
--- a/src/gnome-cmd-options-dialog.cc
+++ b/src/gnome-cmd-options-dialog.cc
@@ -1094,29 +1094,17 @@ static GtkWidget *create_filter_tab (GtkWidget *parent, GnomeCmdData &cfg)
inline void store_filter_options (GtkWidget *dialog)
{
- GtkWidget *hide_unknown_check;
- GtkWidget *hide_directory_check;
- GtkWidget *hide_regular_check;
- GtkWidget *hide_socket_check;
- GtkWidget *hide_fifo_check;
- GtkWidget *hide_block_check;
- GtkWidget *hide_char_check;
- GtkWidget *hide_hidden_check;
- GtkWidget *hide_backup_check;
- GtkWidget *hide_symlink_check;
- GtkWidget *backup_pattern_entry;
-
- hide_unknown_check = lookup_widget (dialog, "hide_unknown_check");
- hide_regular_check = lookup_widget (dialog, "hide_regular_check");
- hide_directory_check = lookup_widget (dialog, "hide_directory_check");
- hide_fifo_check = lookup_widget (dialog, "hide_fifo_check");
- hide_socket_check = lookup_widget (dialog, "hide_socket_check");
- hide_char_check = lookup_widget (dialog, "hide_char_check");
- hide_block_check = lookup_widget (dialog, "hide_block_check");
- hide_symlink_check = lookup_widget (dialog, "hide_symlink_check");
- hide_hidden_check = lookup_widget (dialog, "hide_hidden_check");
- hide_backup_check = lookup_widget (dialog, "hide_backup_check");
- backup_pattern_entry = lookup_widget (dialog, "backup_pattern_entry");
+ GtkWidget *hide_unknown_check = lookup_widget (dialog, "hide_unknown_check");
+ GtkWidget *hide_regular_check = lookup_widget (dialog, "hide_regular_check");
+ GtkWidget *hide_directory_check = lookup_widget (dialog, "hide_directory_check");
+ GtkWidget *hide_fifo_check = lookup_widget (dialog, "hide_fifo_check");
+ GtkWidget *hide_socket_check = lookup_widget (dialog, "hide_socket_check");
+ GtkWidget *hide_char_check = lookup_widget (dialog, "hide_char_check");
+ GtkWidget *hide_block_check = lookup_widget (dialog, "hide_block_check");
+ GtkWidget *hide_symlink_check = lookup_widget (dialog, "hide_symlink_check");
+ GtkWidget *hide_hidden_check = lookup_widget (dialog, "hide_hidden_check");
+ GtkWidget *hide_backup_check = lookup_widget (dialog, "hide_backup_check");
+ GtkWidget *backup_pattern_entry = lookup_widget (dialog, "backup_pattern_entry");
gnome_cmd_data.filter_settings.file_types[GNOME_VFS_FILE_TYPE_UNKNOWN] =
gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (hide_unknown_check));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]