[Xfce4-commits] [panel-plugins/xfce4-verve-plugin] 01/01: Fix bug 7185 by using xfce_panel_plugin_block_autohide instead of the deprecated xfce_panel_plugin_set_panel_hidden

noreply at xfce.org noreply at xfce.org
Fri Feb 20 04:45:44 CET 2015


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

isaacschemm pushed a commit to branch master
in repository panel-plugins/xfce4-verve-plugin.

commit fd9472c9ffa10822af9cc37be7416b335ac70c19
Author: Isaac Schemm <isaacschemm at gmail.com>
Date:   Thu Feb 19 21:44:40 2015 -0600

    Fix bug 7185 by using xfce_panel_plugin_block_autohide instead of the deprecated xfce_panel_plugin_set_panel_hidden
---
 panel-plugin/verve-plugin.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/verve-plugin.c b/panel-plugin/verve-plugin.c
index e2608b4..13d8790 100644
--- a/panel-plugin/verve-plugin.c
+++ b/panel-plugin/verve-plugin.c
@@ -235,7 +235,7 @@ verve_plugin_grab_focus (VerveDBusService *dbus_service,
   if (toplevel && toplevel->window)
     {
       /* Unhide the panel */
-      xfce_panel_plugin_set_panel_hidden (verve->plugin, FALSE);
+      xfce_panel_plugin_block_autohide (verve->plugin, TRUE);
 
       /* Focus the command entry */
       xfce_panel_plugin_focus_widget (verve->plugin, verve->input);
@@ -381,7 +381,7 @@ verve_plugin_keypress_cb (GtkWidget   *entry,
         if (G_LIKELY (verve_execute (command, terminal, verve->launch_params)))
           {
             /* Hide the panel again */
-            xfce_panel_plugin_set_panel_hidden (verve->plugin, TRUE);
+            xfce_panel_plugin_block_autohide (verve->plugin, FALSE);
 
             /* Do not add command to history if it is the same as the one before */
             if (verve_history_is_empty () || g_utf8_collate (verve_history_get_last_command (), command) != 0)

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


More information about the Xfce4-commits mailing list