gnome-commander r1977 - branches/gcmd-1-3/src



Author: epiotr
Date: Thu Aug 14 15:55:45 2008
New Revision: 1977
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=1977&view=rev

Log:
Code cleanup

Modified:
   branches/gcmd-1-3/src/Makefile.am
   branches/gcmd-1-3/src/gnome-cmd-file-list.h
   branches/gcmd-1-3/src/gnome-cmd-file-selector.cc
   branches/gcmd-1-3/src/gnome-cmd-file-selector.h
   branches/gcmd-1-3/src/gnome-cmd-options-dialog.cc
   branches/gcmd-1-3/src/gnome-cmd-user-actions.cc

Modified: branches/gcmd-1-3/src/Makefile.am
==============================================================================
--- branches/gcmd-1-3/src/Makefile.am	(original)
+++ branches/gcmd-1-3/src/Makefile.am	Thu Aug 14 15:55:45 2008
@@ -56,6 +56,7 @@
 	gnome-cmd-main-win.h gnome-cmd-main-win.cc \
 	gnome-cmd-make-copy-dialog.h gnome-cmd-make-copy-dialog.cc \
 	gnome-cmd-mkdir-dialog.h gnome-cmd-mkdir-dialog.cc \
+	gnome-cmd-notebook.h gnome-cmd-notebook.cc \
 	gnome-cmd-options-dialog.h gnome-cmd-options-dialog.cc \
 	gnome-cmd-path.h gnome-cmd-path.cc \
 	gnome-cmd-patternsel-dialog.h gnome-cmd-patternsel-dialog.cc \
@@ -72,7 +73,6 @@
 	gnome-cmd-smb-net.h gnome-cmd-smb-net.cc \
 	gnome-cmd-smb-path.h gnome-cmd-smb-path.cc \
 	gnome-cmd-style.h gnome-cmd-style.cc \
-	gnome-cmd-notebook.h gnome-cmd-notebook.cc \
 	gnome-cmd-types.h \
 	gnome-cmd-user-actions.h gnome-cmd-user-actions.cc \
 	gnome-cmd-xfer-progress-win.h gnome-cmd-xfer-progress-win.cc \

Modified: branches/gcmd-1-3/src/gnome-cmd-file-list.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-file-list.h	(original)
+++ branches/gcmd-1-3/src/gnome-cmd-file-list.h	Thu Aug 14 15:55:45 2008
@@ -52,11 +52,11 @@
 /* Standard DnD types */
 enum TargetType
 {
-        TARGET_MC_DESKTOP_ICON,
-        TARGET_URI_LIST,
-        TARGET_TEXT_PLAIN,
-        TARGET_URL,
-        TARGET_NTARGETS
+    TARGET_MC_DESKTOP_ICON,
+    TARGET_URI_LIST,
+    TARGET_TEXT_PLAIN,
+    TARGET_URL,
+    TARGET_NTARGETS
 };
 
 

Modified: branches/gcmd-1-3/src/gnome-cmd-file-selector.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-file-selector.cc	(original)
+++ branches/gcmd-1-3/src/gnome-cmd-file-selector.cc	Thu Aug 14 15:55:45 2008
@@ -2199,7 +2199,7 @@
 }
 
 
-void gnome_cmd_file_selector_show_filter (GnomeCmdFileSelector *fs, gchar c)
+void gnome_cmd_file_selector_show_filter (GnomeCmdFileSelector *fs)
 {
     g_return_if_fail (GNOME_CMD_IS_FILE_SELECTOR (fs));
 

Modified: branches/gcmd-1-3/src/gnome-cmd-file-selector.h
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-file-selector.h	(original)
+++ branches/gcmd-1-3/src/gnome-cmd-file-selector.h	Thu Aug 14 15:55:45 2008
@@ -127,7 +127,7 @@
 
 void gnome_cmd_file_selector_update_conbuttons_visibility (GnomeCmdFileSelector *fs);
 
-void gnome_cmd_file_selector_show_filter (GnomeCmdFileSelector *fs, gchar c);
+void gnome_cmd_file_selector_show_filter (GnomeCmdFileSelector *fs);
 
 inline FileSelectorID operator ! (FileSelectorID id)
 {

Modified: branches/gcmd-1-3/src/gnome-cmd-options-dialog.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-options-dialog.cc	(original)
+++ branches/gcmd-1-3/src/gnome-cmd-options-dialog.cc	Thu Aug 14 15:55:45 2008
@@ -473,7 +473,6 @@
     fpicker = create_font_picker (parent, "list_font_picker");
     table_add (table, fpicker, 1, 0, GTK_FILL);
     gtk_font_button_set_font_name (GTK_FONT_BUTTON (fpicker), gnome_cmd_data_get_list_font ());
-    gtk_font_button_set_use_font (GTK_FONT_BUTTON (fpicker), TRUE);
 
     spin = create_spin (parent, "row_height_spin", 8, 64, gnome_cmd_data_get_list_row_height());
     table_add (table, spin, 1, 1, GTK_FILL);

Modified: branches/gcmd-1-3/src/gnome-cmd-user-actions.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-user-actions.cc	(original)
+++ branches/gcmd-1-3/src/gnome-cmd-user-actions.cc	Thu Aug 14 15:55:45 2008
@@ -892,7 +892,7 @@
 
 void edit_filter (GtkMenuItem *menuitem, gpointer not_used)
 {
-    gnome_cmd_file_selector_show_filter (get_fs (ACTIVE), 0);
+    gnome_cmd_file_selector_show_filter (get_fs (ACTIVE));
 }
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]