[nautilus/remove-desktop-files-and-links: 8/8] properties-window: Remove desktop file handling
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/remove-desktop-files-and-links: 8/8] properties-window: Remove desktop file handling
- Date: Wed, 9 May 2018 14:26:05 +0000 (UTC)
commit 95bb18fd31bf5090750f67f73bc205a2e5588bd0
Author: Carlos Soriano <csoriano gnome org>
Date: Wed May 9 16:11:22 2018 +0200
properties-window: Remove desktop file handling
Since we removed desktop support for launching and special handling in
the views, it makes sense to remove the handling in the properties
window too.
Nautilus was doing a bad job as a desktop file editor, and didn't keep
up with more relevant fields for long.
src/meson.build | 2 -
src/nautilus-desktop-item-properties.c | 562 ---------------------------------
src/nautilus-desktop-item-properties.h | 43 ---
src/nautilus-properties-window.c | 17 -
4 files changed, 624 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index d84482bec..16ec5fd53 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -70,8 +70,6 @@ libnautilus_sources = [
'nautilus-container-max-width.h',
'nautilus-dbus-manager.c',
'nautilus-dbus-manager.h',
- 'nautilus-desktop-item-properties.c',
- 'nautilus-desktop-item-properties.h',
'nautilus-error-reporting.c',
'nautilus-error-reporting.h',
'nautilus-preferences-window.c',
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index 66b533d8e..e16e768c9 100644
--- a/src/nautilus-properties-window.c
+++ b/src/nautilus-properties-window.c
@@ -24,7 +24,6 @@
#include "nautilus-properties-window.h"
#include "nautilus-ui-utilities.h"
-#include "nautilus-desktop-item-properties.h"
#include "nautilus-error-reporting.h"
#include "nautilus-mime-actions.h"
@@ -3169,22 +3168,6 @@ create_basic_page (NautilusPropertiesWindow *window)
gtk_widget_grab_focus (GTK_WIDGET (window->details->name_field));
}
- if (nautilus_desktop_item_properties_should_show (window->details->target_files))
- {
- GtkSizeGroup *label_size_group;
- GtkWidget *box;
-
- label_size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
- gtk_size_group_add_widget (label_size_group,
- GTK_WIDGET (window->details->name_label));
- box = nautilus_desktop_item_properties_make_box (label_size_group,
- window->details->target_files);
-
- gtk_grid_attach_next_to (window->details->basic_grid, box,
- GTK_WIDGET (window->details->name_label),
- GTK_POS_BOTTOM, 2, 1);
- }
-
if (should_show_file_type (window))
{
append_title_and_ellipsizing_value (window, grid,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]