gnome-commander r1976 - trunk/src



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

Log:
Code cleanup

Modified:
   trunk/src/Makefile.am
   trunk/src/gnome-cmd-file-list.h
   trunk/src/gnome-cmd-file-selector.cc
   trunk/src/gnome-cmd-file-selector.h
   trunk/src/gnome-cmd-options-dialog.cc
   trunk/src/gnome-cmd-user-actions.cc

Modified: trunk/src/Makefile.am
==============================================================================
--- trunk/src/Makefile.am	(original)
+++ trunk/src/Makefile.am	Thu Aug 14 15:55:16 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: trunk/src/gnome-cmd-file-list.h
==============================================================================
--- trunk/src/gnome-cmd-file-list.h	(original)
+++ trunk/src/gnome-cmd-file-list.h	Thu Aug 14 15:55:16 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: trunk/src/gnome-cmd-file-selector.cc
==============================================================================
--- trunk/src/gnome-cmd-file-selector.cc	(original)
+++ trunk/src/gnome-cmd-file-selector.cc	Thu Aug 14 15:55:16 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: trunk/src/gnome-cmd-file-selector.h
==============================================================================
--- trunk/src/gnome-cmd-file-selector.h	(original)
+++ trunk/src/gnome-cmd-file-selector.h	Thu Aug 14 15:55:16 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: trunk/src/gnome-cmd-options-dialog.cc
==============================================================================
--- trunk/src/gnome-cmd-options-dialog.cc	(original)
+++ trunk/src/gnome-cmd-options-dialog.cc	Thu Aug 14 15:55:16 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: trunk/src/gnome-cmd-user-actions.cc
==============================================================================
--- trunk/src/gnome-cmd-user-actions.cc	(original)
+++ trunk/src/gnome-cmd-user-actions.cc	Thu Aug 14 15:55:16 2008
@@ -891,7 +891,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]