[Xfce4-commits] <xfdesktop:master> Use the new properties dialog method for the desktop properties dialog.
Jannis Pohlmann
noreply at xfce.org
Tue Nov 2 01:14:13 CET 2010
Updating branch refs/heads/master
to 14ff408f40ebbc6af9d767773363d4fce71d76b2 (commit)
from 8dd3f4c691aee1a4e9c456fefcebfb83b7ed15c0 (commit)
commit 14ff408f40ebbc6af9d767773363d4fce71d76b2
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