diff options
author | rbuj <[email protected]> | 2021-10-27 17:34:17 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-11-20 16:50:14 +0100 |
commit | 0a4384ca8c93b62bdf393cd1f3698bab1999fc6f (patch) | |
tree | 9c68212e8ba254df3dc80cd091b8fd3198a9b643 /src/file-manager/fm-properties-window.c | |
parent | bdc5cf66eff8c52cf422cf7b0143ff3489bbb7b0 (diff) | |
download | caja-0a4384ca8c93b62bdf393cd1f3698bab1999fc6f.tar.bz2 caja-0a4384ca8c93b62bdf393cd1f3698bab1999fc6f.tar.xz |
Use a blank line at most
Diffstat (limited to 'src/file-manager/fm-properties-window.c')
-rw-r--r-- | src/file-manager/fm-properties-window.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/file-manager/fm-properties-window.c b/src/file-manager/fm-properties-window.c index 944b18f0..0ab2bfc7 100644 --- a/src/file-manager/fm-properties-window.c +++ b/src/file-manager/fm-properties-window.c @@ -414,7 +414,6 @@ get_image_for_properties_window (FMPropertiesWindow *window, g_object_unref (icon); } - static void update_properties_window_icon (FMPropertiesWindow *window) { @@ -461,7 +460,6 @@ uri_is_local_image (const char *uri) return TRUE; } - static void reset_icon (FMPropertiesWindow *properties_window) { @@ -481,7 +479,6 @@ reset_icon (FMPropertiesWindow *properties_window) } } - static void fm_properties_window_drag_data_received (GtkWidget *widget, GdkDragContext *context, int x, int y, @@ -505,7 +502,6 @@ fm_properties_window_drag_data_received (GtkWidget *widget, GdkDragContext *cont uris = g_strsplit (gtk_selection_data_get_data (selection_data), "\r\n", 0); exactly_one = uris[0] != NULL && (uris[1] == NULL || uris[1][0] == '\0'); - if (!exactly_one) { eel_show_error_dialog (_("You cannot assign more than one custom icon at a time!"), @@ -1302,7 +1298,6 @@ file_list_get_string_attribute (GList *file_list, } } - static gboolean file_list_all_directories (GList *file_list) { @@ -1749,7 +1744,6 @@ tree_model_get_entry_index (GtkTreeModel *model, return -1; } - static void synch_groups_combo_box (GtkComboBox *combo_box, CajaFile *file) { @@ -2418,8 +2412,6 @@ attach_title_field (GtkGrid *grid, return attach_label (grid, NULL, title, FALSE, FALSE, TRUE); } - - #define INCONSISTENT_STATE_STRING \ "\xE2\x80\x92" @@ -2627,7 +2619,6 @@ should_show_file_type (FMPropertiesWindow *window) return FALSE; } - return TRUE; } @@ -2806,7 +2797,6 @@ paint_pie_chart (GtkWidget *widget, width = allocation.width; height = allocation.height; - free = (double)window->details->volume_free / (double)window->details->volume_capacity; used = 1.0 - free; @@ -2860,7 +2850,6 @@ paint_pie_chart (GtkWidget *widget, cairo_line_to (cr,xc,yc); } - gdk_cairo_set_source_rgba (cr, &window->details->free_color); cairo_fill_preserve(cr); @@ -2870,7 +2859,6 @@ paint_pie_chart (GtkWidget *widget, } } - /* Copied from gtk/gtkstyle.c */ static void @@ -3057,7 +3045,6 @@ _pie_style_shade (GdkRGBA *a, b->alpha = a->alpha; } - static GtkWidget* create_pie_widget (FMPropertiesWindow *window) { @@ -3109,7 +3096,6 @@ create_pie_widget (FMPropertiesWindow *window) } - if (!gtk_style_context_lookup_color (style, "chart_rgba_2", &window->details->free_color)) { window->details->free_color.red = FREE_FILL_R; window->details->free_color.green = FREE_FILL_G; @@ -3447,7 +3433,6 @@ files_has_changable_permissions_directory (FMPropertiesWindow *window) return FALSE; } - static gboolean files_has_file (FMPropertiesWindow *window) { @@ -3465,7 +3450,6 @@ files_has_file (FMPropertiesWindow *window) return FALSE; } - static void create_emblems_page (FMPropertiesWindow *window) { @@ -3810,7 +3794,6 @@ permission_button_update (FMPropertiesWindow *window, sensitive |= window->details->has_recursive_apply; } - g_signal_handlers_block_by_func (G_OBJECT (button), G_CALLBACK (permission_button_toggled), window); @@ -3970,7 +3953,6 @@ permission_to_vfs (PermissionType type, PermissionValue perm) return vfs_perm; } - static PermissionValue permission_from_vfs (PermissionType type, guint32 vfs_perm) { @@ -4306,7 +4288,6 @@ add_permissions_combo_box (FMPropertiesWindow *window, GtkGrid *grid, GTK_POS_RIGHT, 1, 1); } - static GtkWidget * append_special_execution_checkbox (FMPropertiesWindow *window, GtkGrid *grid, @@ -4695,7 +4676,6 @@ set_recursive_permissions_done (gpointer callback_data) g_object_unref (window); } - static void apply_recursive_clicked (GtkWidget *recursive_button, FMPropertiesWindow *window) @@ -5149,7 +5129,6 @@ create_open_with_page (FMPropertiesWindow *window) vbox, gtk_label_new (_("Open With"))); } - static FMPropertiesWindow * create_properties_window (StartupData *startup_data) { @@ -5405,7 +5384,6 @@ is_directory_ready_callback (CajaFile *file, } } - void fm_properties_window_present (GList *original_files, GtkWidget *parent_widget) @@ -5440,7 +5418,6 @@ fm_properties_window_present (GList *original_files, return; } - pending_key = get_pending_key (original_files); /* Look to see if we're already waiting for a window for this file. */ @@ -5474,7 +5451,6 @@ fm_properties_window_present (GList *original_files, _("Creating Properties window."), parent_window == NULL ? NULL : GTK_WINDOW (parent_window)); - for (l = startup_data->target_files; l != NULL; l = next) { next = l->next; caja_file_call_when_ready |