[nautilus] [file-manager] GSEAL fm-tree-view.
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] [file-manager] GSEAL fm-tree-view.
- Date: Fri, 11 Jun 2010 11:30:12 +0000 (UTC)
commit c76136d88c314c17dbabca9ddd8808d297ceaee0
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Jun 11 13:19:50 2010 +0200
[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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]