[Xfce4-commits] <xfdesktop:jannis/port-to-gio> Use the new properties dialog method for the desktop properties dialog.

Jannis Pohlmann noreply at xfce.org
Tue Oct 19 13:14:01 CEST 2010


Updating branch refs/heads/jannis/port-to-gio
         to f5be5025b0e2b51b187dd0ba9ea2ad8009796b0b (commit)
       from 748d1b51513b35a44f219d7c4215615fb9c42a30 (commit)

commit f5be5025b0e2b51b187dd0ba9ea2ad8009796b0b
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Mon Oct 18 14:51:36 2010 +0200

    Use the new properties dialog method for the desktop properties dialog.

 src/xfdesktop-file-icon-manager.c |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/src/xfdesktop-file-icon-manager.c b/src/xfdesktop-file-icon-manager.c
index 726e01c..07fa008 100644
--- a/src/xfdesktop-file-icon-manager.c
+++ b/src/xfdesktop-file-icon-manager.c
@@ -1090,15 +1090,10 @@ xfdesktop_file_icon_manager_desktop_properties(GtkWidget *widget,
 {
     XfdesktopFileIconManager *fmanager = XFDESKTOP_FILE_ICON_MANAGER(user_data);
     GtkWidget *parent = gtk_widget_get_toplevel(GTK_WIDGET(fmanager->priv->icon_view));
+    GFile *file = xfdesktop_file_icon_peek_file (fmanager->priv->desktop_icon);
     
-    xfdesktop_file_properties_dialog_show(GTK_WINDOW(parent),
-                                          fmanager->priv->desktop_icon,
-#ifdef HAVE_THUNARX
-                                          fmanager->priv->thunarx_properties_providers
-#else
-                                          NULL
-#endif
-                                          );
+    xfdesktop_file_utils_show_properties_dialog(file, fmanager->priv->gscreen,
+                                                GTK_WINDOW(parent));
 }
 
 static GtkWidget *



More information about the Xfce4-commits mailing list