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



commit 3997577b1f0e1be592531a46311273decfd69104
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 ad37a00..0cb7c50 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]