Skip to content
Browse files
xrandr-applet: add a style class for menuitems
  • Loading branch information
raveit65 committed May 16, 2018
1 parent 0f32717 commit a386cd65925199e5c1f76012ac4fdc5b35b4472f
Showing with 5 additions and 2 deletions.
  1. +5 −2 plugins/xrandr/msd-xrandr-manager.c
@@ -1714,11 +1714,14 @@ title_item_size_allocate_cb (GtkWidget *widget, GtkAllocation *allocation, gpoin
static GtkWidget *
make_menu_item_for_output_title (MsdXrandrManager *manager, MateRROutputInfo *output)
GtkWidget *item;
GtkWidget *label;
GtkWidget *item;
GtkStyleContext *context;
GtkWidget *label;
char *str;

item = gtk_menu_item_new ();
context = gtk_widget_get_style_context (item);
gtk_style_context_add_class (context, "xrandr-applet");

g_signal_connect (item, "size-allocate",
G_CALLBACK (title_item_size_allocate_cb), NULL);

0 comments on commit a386cd6

Please sign in to comment.