Skip to content

Commit

Permalink
xrandr-applet: add a style class for menuitems
Browse files Browse the repository at this point in the history
  • Loading branch information
raveit65 committed May 16, 2018
1 parent 0f32717 commit a386cd6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions plugins/xrandr/msd-xrandr-manager.c
Expand Up @@ -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);
Expand Down

0 comments on commit a386cd6

Please sign in to comment.