launcher plugin bugfix: when removing item hide exec label
authorGiuseppe Penone <giuseppe.penone@qsdsistemi.it>
Thu, 27 Sep 2012 11:04:25 +0000 (13:04 +0200)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Mon, 26 Nov 2012 21:14:19 +0000 (23:14 +0200)
src/plugins/launchbar.c

index b92ddb1..b9267b1 100644 (file)
@@ -646,6 +646,8 @@ static void launchbar_configure_remove_button(GtkButton * widget, Plugin * p)
         icon_grid_remove(lb->icon_grid, btn->widget);
         lb->buttons = g_slist_remove(lb->buttons, btn);
         launchbutton_free(btn);
+        
+        gtk_widget_set_visible(lb->p_label_def_app_exec, FALSE);
 
         /* Put the bootstrap button back if the list becomes empty. */
         if (lb->buttons == NULL)