Browse Source

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

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

+ 1
- 1
NEWS View File

@@ -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.



+ 1
- 1
panel/panel-module.c View File

@@ -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"))
{


+ 1
- 1
plugins/actions/actions.desktop.in.in View File

@@ -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

+ 1
- 1
plugins/clock/clock.desktop.in.in View File

@@ -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

+ 1
- 1
plugins/launcher/launcher.desktop.in.in View File

@@ -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

+ 1
- 1
plugins/pager/pager.desktop.in.in View File

@@ -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

+ 1
- 1
plugins/separator/separator.desktop.in.in View File

@@ -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

+ 1
- 1
plugins/showdesktop/showdesktop.desktop.in.in View File

@@ -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

+ 1
- 1
plugins/systray/systray.desktop.in.in View File

@@ -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

+ 1
- 1
plugins/tasklist/tasklist.desktop.in.in View File

@@ -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

+ 1
- 1
plugins/windowmenu/windowmenu.desktop.in.in View File

@@ -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