[network-manager-applet/dcbw/indicator-cleanups: 1/3] applet: appindicator/dbusmenu can deal just fine with Pango markup



commit b7568bf76b2bab26d61d2392f03d6dc90037a584
Author: Dan Williams <dcbw redhat com>
Date:   Mon Feb 22 13:39:33 2016 -0600

    applet: appindicator/dbusmenu can deal just fine with Pango markup

 src/applet.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index df8b960..72a6794 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -525,7 +525,6 @@ applet_new_menu_item_helper (NMConnection *connection,
 {
        GtkWidget *item = gtk_image_menu_item_new_with_label ("");
 
-#ifndef ENABLE_INDICATOR
        if (add_active && (active == connection)) {
                char *markup;
                GtkWidget *label;
@@ -537,7 +536,6 @@ applet_new_menu_item_helper (NMConnection *connection,
                gtk_label_set_markup (GTK_LABEL (label), markup);
                g_free (markup);
        } else
-#endif
                gtk_menu_item_set_label (GTK_MENU_ITEM (item), nm_connection_get_id (connection));
 
        gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (item), TRUE);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]