Browse Source

Rename the .desktop entry X-XFCE-External to X-XFCE-Internal.

This makes it more obvious plugins are external by default.
upstream/xfce4-panel-4.10.1
Nick Schermer 14 years ago
parent
commit
486e5fec30
  1. 2
      NEWS
  2. 2
      panel/panel-module.c
  3. 2
      plugins/actions/actions.desktop.in.in
  4. 2
      plugins/clock/clock.desktop.in.in
  5. 2
      plugins/launcher/launcher.desktop.in.in
  6. 2
      plugins/pager/pager.desktop.in.in
  7. 2
      plugins/separator/separator.desktop.in.in
  8. 2
      plugins/showdesktop/showdesktop.desktop.in.in
  9. 2
      plugins/systray/systray.desktop.in.in
  10. 2
      plugins/tasklist/tasklist.desktop.in.in
  11. 2
      plugins/windowmenu/windowmenu.desktop.in.in

2
NEWS

@ -14,7 +14,7 @@ Plugin Framework
- ALL PLUGINS ARE FROM NOW ON COMPILED AS LIBRARIES. So you need to change your Makefile.am (sorry). Will provide a script to do this before compiling a plugin.
- DBus communication with external plugins.
- Plugins API is still the same (pfew).
- If you want to run an external plugin you can define X-XFCE-External=TRUE in the desktop file. The panel will then start a plugin wrapper that embeds the plugin, so you have all the advanatages of the previous external plugin implementation (and I get something that is easy to maintain).
- If you want to run an internal plugin you can define X-XFCE-Internal=TRUE in the desktop file.
- Because of the changes above, the XfcePanelPlugin is now a single gobject, this drops a lot of complexity in the previous plugin framework and also allows developing plugins as gobjects (yay).
- Various speedups here and there.

2
panel/panel-module.c

@ -316,7 +316,7 @@ panel_module_new_from_desktop_file (const gchar *filename,
module->is_unique = xfce_rc_read_bool_entry (rc, "X-XFCE-Unique", FALSE);
/* whether to run the plugin external */
module->run_in_wrapper = xfce_rc_read_bool_entry (rc, "X-XFCE-External", TRUE);
module->run_in_wrapper = !xfce_rc_read_bool_entry (rc, "X-XFCE-Internal", FALSE);
}
else if (xfce_rc_has_entry (rc, "X-XFCE-Exec"))
{

2
plugins/actions/actions.desktop.in.in

@ -6,4 +6,4 @@ _Comment=Log out, lock or other system actions
Icon=system-log-out
X-XFCE-Module=actions
X-XFCE-Module-Path=@libdir@/xfce4/panel-plugins
X-XFCE-External=FALSE
X-XFCE-Internal=TRUE

2
plugins/clock/clock.desktop.in.in

@ -6,4 +6,4 @@ _Comment=What time is it?
Icon=office-calendar
X-XFCE-Module=clock
X-XFCE-Module-Path=@libdir@/xfce4/panel-plugins
X-XFCE-External=FALSE
X-XFCE-Internal=TRUE

2
plugins/launcher/launcher.desktop.in.in

@ -6,4 +6,4 @@ _Comment=Program launcher with optional menu
Icon=application-x-executable
X-XFCE-Module=launcher
X-XFCE-Module-Path=@libdir@/xfce4/panel-plugins
X-XFCE-External=FALSE
X-XFCE-Internal=TRUE

2
plugins/pager/pager.desktop.in.in

@ -6,4 +6,4 @@ _Comment=Miniature view of all virtual desktops
Icon=xfce4-workspaces
X-XFCE-Module=pager
X-XFCE-Module-Path=@libdir@/xfce4/panel-plugins
X-XFCE-External=FALSE
X-XFCE-Internal=TRUE

2
plugins/separator/separator.desktop.in.in

@ -6,4 +6,4 @@ _Comment=Adds a separator or space between panel items
Icon=gtk-remove
X-XFCE-Module=separator
X-XFCE-Module-Path=@libdir@/xfce4/panel-plugins
X-XFCE-External=FALSE
X-XFCE-Internal=TRUE

2
plugins/showdesktop/showdesktop.desktop.in.in

@ -6,4 +6,4 @@ _Comment=Toggle button that hides all windows and shows the desktop
Icon=user-desktop
X-XFCE-Module=showdesktop
X-XFCE-Module-Path=@libdir@/xfce4/panel-plugins
X-XFCE-External=FALSE
X-XFCE-Internal=TRUE

2
plugins/systray/systray.desktop.in.in

@ -6,4 +6,4 @@ _Comment=Area where notification icons appear
Icon=applications-system
X-XFCE-Module=systray
X-XFCE-Module-Path=@libdir@/xfce4/panel-plugins
X-XFCE-External=TRUE
X-XFCE-Internal=FALSE

2
plugins/tasklist/tasklist.desktop.in.in

@ -6,4 +6,4 @@ _Comment=Show all running applications
Icon=preferences-system-windows
X-XFCE-Module=tasklist
X-XFCE-Module-Path=@libdir@/xfce4/panel-plugins
X-XFCE-External=FALSE
X-XFCE-Internal=TRUE

2
plugins/windowmenu/windowmenu.desktop.in.in

@ -6,4 +6,4 @@ _Comment=Switch between open windows using a menu
Icon=preferences-system-windows
X-XFCE-Module=windowmenu
X-XFCE-Module-Path=@libdir@/xfce4/panel-plugins
X-XFCE-External=FALSE
X-XFCE-Internal=TRUE

Loading…
Cancel
Save