37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
From c76136d88c314c17dbabca9ddd8808d297ceaee0 Mon Sep 17 00:00:00 2001
|
|
From: Cosimo Cecchi <cosimoc@gnome.org>
|
|
Date: Fri, 11 Jun 2010 13:19:50 +0200
|
|
Subject: [PATCH 052/249] [file-manager] GSEAL fm-tree-view.
|
|
|
|
---
|
|
src/file-manager/fm-tree-view.c | 6 +++---
|
|
1 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/src/file-manager/fm-tree-view.c b/src/file-manager/fm-tree-view.c
|
|
index fc63502..5bf8f0a 100644
|
|
--- a/src/file-manager/fm-tree-view.c
|
|
+++ b/src/file-manager/fm-tree-view.c
|
|
@@ -665,8 +665,8 @@ clipboard_contents_received_callback (GtkClipboard *clipboard,
|
|
|
|
view = FM_TREE_VIEW (data);
|
|
|
|
- if (selection_data->type == copied_files_atom
|
|
- && selection_data->length > 0 &&
|
|
+ if (gtk_selection_data_get_data_type (selection_data) == copied_files_atom
|
|
+ && gtk_selection_data_get_length (selection_data) > 0 &&
|
|
view->details->popup != NULL) {
|
|
gtk_widget_set_sensitive (view->details->popup_paste, TRUE);
|
|
}
|
|
@@ -1449,7 +1449,7 @@ parent_set_callback (GtkWidget *widget,
|
|
|
|
view = FM_TREE_VIEW (callback_data);
|
|
|
|
- if (widget->parent != NULL && view->details->tree_widget == NULL) {
|
|
+ if (gtk_widget_get_parent (widget) != NULL && view->details->tree_widget == NULL) {
|
|
create_tree (view);
|
|
update_filtering_from_preferences (view);
|
|
}
|
|
--
|
|
1.7.2
|
|
|