[Xfce4-commits] [panel-plugins/xfce4-mount-plugin] 01/01: Fixed bug 13366 by setting the panel to small again and increased version to 1.1.1 for releasing togehter with updated translations

noreply at xfce.org noreply at xfce.org
Sun Feb 19 14:08:58 CET 2017


This is an automated email from the git hooks/post-receive script.

timystery pushed a commit to branch master
in repository panel-plugins/xfce4-mount-plugin.

commit c111c7d29121d2439c20d7c8d710889ae3f741f5
Author: Fabian <timystery at arcor.de>
Date:   Sun Feb 19 13:47:21 2017 +0100

    Fixed bug 13366 by setting the panel to small again and increased version to 1.1.1 for releasing togehter with updated translations
---
 configure.ac.in             | 4 ++--
 panel-plugin/mount-plugin.c | 5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index ec678f0..d4097d7 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -10,8 +10,8 @@ dnl for Xfce4-panel 4.12 and higher only!
 
 m4_define([mount_version_major], [1])
 m4_define([mount_version_minor], [1])
-m4_define([mount_version_micro], [0])
-m4_define([mount_version_tag], [git]) # Leave empty only for releases, but use 'git' in most cases
+m4_define([mount_version_micro], [1])
+m4_define([mount_version_tag], []) # Leave empty only for releases, but use 'git' in most cases
 m4_define([mount_version_build], [@REVISION@])
 m4_define([mount_version], [mount_version_major().mount_version_minor().mount_version_micro()ifelse(mount_version_tag(), [], [], [mount_version_tag()-mount_version_build()])])
 
diff --git a/panel-plugin/mount-plugin.c b/panel-plugin/mount-plugin.c
index 9d4a277..c4a5ef8 100644
--- a/panel-plugin/mount-plugin.c
+++ b/panel-plugin/mount-plugin.c
@@ -1050,7 +1050,10 @@ mount_construct (XfcePanelPlugin *plugin)
     mounter = create_mounter_control (plugin);
 
 #ifdef HAS_PANEL_49
-    xfce_panel_plugin_set_small (plugin, FALSE);
+    if (xfce_panel_plugin_get_mode(plugin) == XFCE_PANEL_PLUGIN_MODE_DESKBAR)
+        xfce_panel_plugin_set_small(plugin, FALSE);
+    else
+        xfce_panel_plugin_set_small (plugin, TRUE);
 #endif
 
     g_signal_connect (plugin, "free-data", G_CALLBACK (mounter_free), mounter);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list