summaryrefslogtreecommitdiff
path: root/mate-panel/mate-desktop-item-edit.c
diff options
context:
space:
mode:
authorDenis Gorodnichev <[email protected]>2017-01-02 23:29:52 +0300
committerlukefromdc <[email protected]>2017-01-13 19:12:06 -0500
commit7ee450758e4f2bee13aa8ff967a5795a6dcdc91f (patch)
tree9352174371cbb4c5af49342f4797e4a8514a751c /mate-panel/mate-desktop-item-edit.c
parenta27e6eaffa7e3bf72381b63dc9cfecc06125fce2 (diff)
downloadmate-panel-7ee450758e4f2bee13aa8ff967a5795a6dcdc91f.tar.bz2
mate-panel-7ee450758e4f2bee13aa8ff967a5795a6dcdc91f.tar.xz
support desktop actions
Diffstat (limited to 'mate-panel/mate-desktop-item-edit.c')
-rw-r--r--mate-panel/mate-desktop-item-edit.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/mate-panel/mate-desktop-item-edit.c b/mate-panel/mate-desktop-item-edit.c
index 4860cf84..d5d768f4 100644
--- a/mate-panel/mate-desktop-item-edit.c
+++ b/mate-panel/mate-desktop-item-edit.c
@@ -140,7 +140,7 @@ main (int argc, char * argv[])
if (type == G_FILE_TYPE_DIRECTORY && create_new) {
- dlg = panel_ditem_editor_new (NULL, NULL, NULL,
+ dlg = panel_ditem_editor_new (NULL, NULL,
_("Create Launcher"));
g_object_set_data_full (G_OBJECT (dlg), "dir",
g_strdup (path),
@@ -164,14 +164,13 @@ main (int argc, char * argv[])
".directory")
&& !create_new) {
dlg = panel_ditem_editor_new_directory (NULL,
- NULL,
uri,
_("Directory Properties"));
} else if (type == G_FILE_TYPE_REGULAR
&& g_str_has_suffix (desktops [i],
".desktop")
&& !create_new) {
- dlg = panel_ditem_editor_new (NULL, NULL, uri,
+ dlg = panel_ditem_editor_new (NULL, uri,
_("Launcher Properties"));
} else if (type == G_FILE_TYPE_REGULAR
&& create_new) {
@@ -188,13 +187,13 @@ main (int argc, char * argv[])
} else if (g_str_has_suffix (desktops [i], ".directory")) {
/* a non-existant file. Well we can still edit that
* sort of. We will just create it new */
- dlg = panel_ditem_editor_new_directory (NULL, NULL, uri,
+ dlg = panel_ditem_editor_new_directory (NULL, uri,
_("Directory Properties"));
} else if (g_str_has_suffix (desktops [i], ".desktop")) {
/* a non-existant file. Well we can still edit that
* sort of. We will just create it new */
- dlg = panel_ditem_editor_new (NULL, NULL, uri,
+ dlg = panel_ditem_editor_new (NULL, uri,
_("Create Launcher"));
} else {