Remove extra plugin_widget_set_background() calls.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Sat, 22 Nov 2014 02:36:42 +0000 (04:36 +0200)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Sat, 22 Nov 2014 02:36:42 +0000 (04:36 +0200)
plugins/launchtaskbar.c
src/configurator.c

index 1686483..d069b69 100644 (file)
@@ -386,7 +386,7 @@ static void launchbutton_build_bootstrap(LaunchTaskBarPlugin *lb)
 
         /* Add the bootstrap button to the icon grid.  By policy it is empty at this point. */
         gtk_container_add(GTK_CONTAINER(lb->lb_icon_grid), lb->bootstrap_button->widget);
-        plugin_widget_set_background(lb->bootstrap_button->widget, lb->panel);
+        //plugin_widget_set_background(lb->bootstrap_button->widget, lb->panel);
     }
     else
         gtk_widget_show(lb->bootstrap_button->widget);
@@ -507,7 +507,7 @@ static LaunchButton *launchbutton_for_file_info(LaunchTaskBarPlugin * lb, FmFile
     lb->buttons = g_slist_append(lb->buttons, btn);
 
     /* Show the widget and return. */
-    plugin_widget_set_background(button, lb->panel);
+    //plugin_widget_set_background(button, lb->panel);
     return btn;
 }
 
index b70bb38..22a6322 100644 (file)
@@ -692,7 +692,7 @@ static void on_add_plugin_response( GtkDialog* dlg,
 
                 panel_config_save(p->priv);
 
-                plugin_widget_set_background(pl, p);
+                //plugin_widget_set_background(pl, p);
                 gtk_container_child_get(GTK_CONTAINER(p->priv->box), pl, "expand", &expand, NULL);
                 model = gtk_tree_view_get_model( _view );
                 gtk_list_store_append( GTK_LIST_STORE(model), &it );