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



commit ac0e9624946f7e0eff20c5ba664277feb92d792a
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 7ba7744..8f46889 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -518,7 +518,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;
@@ -530,7 +529,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]