[gnome-control-center] info: Add desktop files for the split panels
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] info: Add desktop files for the split panels
- Date: Tue, 25 Jul 2017 02:35:12 +0000 (UTC)
commit 6cf52ada03d793d0da7eed2b9f1eb3add14ad456
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date: Sat Jun 10 20:43:38 2017 +0530
info: Add desktop files for the split panels
This commit shall show the panels separate.
Some panels are hidden in current design, while some other panels
are hidden in new shell design.
https://bugzilla.gnome.org/show_bug.cgi?id=779216
configure.ac | 3 +++
panels/info/Makefile.am | 7 ++++++-
panels/info/gnome-default-apps-panel.desktop.in.in | 18 ++++++++++++++++++
.../info/gnome-info-overview-panel.desktop.in.in | 20 ++++++++++++++++++++
panels/info/gnome-info-panel.desktop.in.in | 2 +-
.../info/gnome-removable-media-panel.desktop.in.in | 18 ++++++++++++++++++
shell/cc-panel-loader.c | 6 ++++++
7 files changed, 72 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 116b711..596625c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -514,6 +514,9 @@ panels/sound/data/icons/scalable/devices/Makefile
panels/sound/data/sounds/Makefile
panels/info/Makefile
panels/info/gnome-info-panel.desktop.in
+panels/info/gnome-info-overview-panel.desktop.in
+panels/info/gnome-default-apps-panel.desktop.in
+panels/info/gnome-removable-media-panel.desktop.in
panels/power/Makefile
panels/power/gnome-power-panel.desktop.in
panels/power/icons/Makefile
diff --git a/panels/info/Makefile.am b/panels/info/Makefile.am
index e1c3c66..5c7e9d7 100644
--- a/panels/info/Makefile.am
+++ b/panels/info/Makefile.am
@@ -52,7 +52,12 @@ cc-info-resources.h: info.gresource.xml $(resource_files)
@INTLTOOL_DESKTOP_RULE@
desktopdir = $(datadir)/applications
-desktop_in_files = gnome-info-panel.desktop.in
+desktop_in_files = \
+ gnome-info-panel.desktop.in \
+ gnome-info-overview-panel.desktop.in \
+ gnome-default-apps-panel.desktop.in \
+ gnome-removable-media-panel.desktop.in
+
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
SPACEDIR=$(top_srcdir)/../gnome-settings-daemon/plugins/housekeeping/
diff --git a/panels/info/gnome-default-apps-panel.desktop.in.in
b/panels/info/gnome-default-apps-panel.desktop.in.in
new file mode 100644
index 0000000..d7368f2
--- /dev/null
+++ b/panels/info/gnome-default-apps-panel.desktop.in.in
@@ -0,0 +1,18 @@
+[Desktop Entry]
+# Translators: Add soft hyphens to your translations so that the icon view won't clip your translations. See
https://bugzilla.gnome.org/show_bug.cgi?id=647087#c13 for details
+_Name=Default Applications
+_Comment=Configure Default Applications
+Exec=gnome-control-center default-apps
+Icon=applications-system
+Terminal=false
+Type=Application
+NoDisplay=true
+StartupNotify=true
+Categories=GNOME;GTK;Settings;X-GNOME-Hidden;X-GNOME-SystemSettings;X-GNOME-Settings-Panel;X-GNOME-DetailsSettings;
+OnlyShowIn=GNOME;Unity;
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=gnome-control-center
+X-GNOME-Bugzilla-Component=info
+X-GNOME-Bugzilla-Version=@VERSION@
+# Translators: those are keywords for the System Information panel
+_Keywords=default;application;preferred;media;
diff --git a/panels/info/gnome-info-overview-panel.desktop.in.in
b/panels/info/gnome-info-overview-panel.desktop.in.in
new file mode 100644
index 0000000..6e9ef34
--- /dev/null
+++ b/panels/info/gnome-info-overview-panel.desktop.in.in
@@ -0,0 +1,20 @@
+[Desktop Entry]
+# Translators: Add soft hyphens to your translations so that the icon view won't clip your translations. See
https://bugzilla.gnome.org/show_bug.cgi?id=647087#c13 for details
+_Name=About
+_Comment=View information about your system
+Exec=gnome-control-center about
+Icon=applications-system
+Terminal=false
+Type=Application
+NoDisplay=true
+StartupNotify=true
+Categories=GNOME;GTK;Settings;X-GNOME-Hidden;X-GNOME-SystemSettings;X-GNOME-Settings-Panel;X-GNOME-DetailsSettings;
+OnlyShowIn=GNOME;Unity;
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=gnome-control-center
+X-GNOME-Bugzilla-Component=info
+X-GNOME-Bugzilla-Version=@VERSION@
+# Translators: those are keywords for the System Information panel
+# "Preferred Applications" is the old name for the preference, so make
+# sure that you use the same "translation" for those keywords
+_Keywords=device;system;information;memory;processor;version;default;application;preferred;cd;dvd;usb;audio;video;disc;removable;media;autorun;
diff --git a/panels/info/gnome-info-panel.desktop.in.in b/panels/info/gnome-info-panel.desktop.in.in
index cd46740..22714aa 100644
--- a/panels/info/gnome-info-panel.desktop.in.in
+++ b/panels/info/gnome-info-panel.desktop.in.in
@@ -8,7 +8,7 @@ Terminal=false
Type=Application
NoDisplay=true
StartupNotify=true
-Categories=GNOME;GTK;Settings;X-GNOME-SystemSettings;X-GNOME-Settings-Panel;X-GNOME-DetailsSettings;
+Categories=GNOME;GTK;Settings;X-GNOME-AltHidden;X-GNOME-SystemSettings;X-GNOME-Settings-Panel;X-GNOME-DetailsSettings;
OnlyShowIn=GNOME;Unity;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-control-center
diff --git a/panels/info/gnome-removable-media-panel.desktop.in.in
b/panels/info/gnome-removable-media-panel.desktop.in.in
new file mode 100644
index 0000000..f31f849
--- /dev/null
+++ b/panels/info/gnome-removable-media-panel.desktop.in.in
@@ -0,0 +1,18 @@
+[Desktop Entry]
+# Translators: Add soft hyphens to your translations so that the icon view won't clip your translations. See
https://bugzilla.gnome.org/show_bug.cgi?id=647087#c13 for details
+_Name=Removable Media
+_Comment=Configure Removable Media settings
+Exec=gnome-control-center removable-media
+Icon=applications-system
+Terminal=false
+Type=Application
+NoDisplay=true
+StartupNotify=true
+Categories=GNOME;GTK;Settings;X-GNOME-Hidden;X-GNOME-SystemSettings;X-GNOME-Settings-Panel;X-GNOME-DetailsSettings;
+OnlyShowIn=GNOME;Unity;
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=gnome-control-center
+X-GNOME-Bugzilla-Component=info
+X-GNOME-Bugzilla-Version=@VERSION@
+# Translators: those are keywords for the System Information panel
+_Keywords=device;system;default;application;preferred;cd;dvd;usb;audio;video;disc;removable;media;autorun;
diff --git a/shell/cc-panel-loader.c b/shell/cc-panel-loader.c
index 4ed994d..2843026 100644
--- a/shell/cc-panel-loader.c
+++ b/shell/cc-panel-loader.c
@@ -37,6 +37,9 @@ extern GType cc_color_panel_get_type (void);
extern GType cc_date_time_panel_get_type (void);
extern GType cc_display_panel_get_type (void);
extern GType cc_info_panel_get_type (void);
+extern GType cc_info_overview_panel_get_type (void);
+extern GType cc_info_default_apps_panel_get_type (void);
+extern GType cc_info_removable_media_panel_get_type (void);
extern GType cc_keyboard_panel_get_type (void);
extern GType cc_mouse_panel_get_type (void);
#ifdef BUILD_NETWORK
@@ -80,6 +83,9 @@ static struct {
PANEL_TYPE("datetime", cc_date_time_panel_get_type ),
PANEL_TYPE("display", cc_display_panel_get_type ),
PANEL_TYPE("info", cc_info_panel_get_type ),
+ PANEL_TYPE("info-overview", cc_info_overview_panel_get_type),
+ PANEL_TYPE("default-apps", cc_info_default_apps_panel_get_type),
+ PANEL_TYPE("removable-media", cc_info_removable_media_panel_get_type),
PANEL_TYPE("keyboard", cc_keyboard_panel_get_type ),
PANEL_TYPE("mouse", cc_mouse_panel_get_type ),
#ifdef BUILD_NETWORK
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]