aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-11-05 10:45:45 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-10 13:27:21 +0100
commit696edc3eb52d950a8cfc4ea45743ca89f352a8d7 (patch)
tree924bedec953fa88b5f981ef767e77f8a05351da6
parent72d04c90ce846b205e09e5a873330715d0ac7d0a (diff)
downloadayatana-ido-696edc3eb52d950a8cfc4ea45743ca89f352a8d7.tar.gz
ayatana-ido-696edc3eb52d950a8cfc4ea45743ca89f352a8d7.tar.bz2
ayatana-ido-696edc3eb52d950a8cfc4ea45743ca89f352a8d7.zip
src/idoscalemenuitem.c: Drop hard-coded end-margin for the Scale Display Object
Fixes https://github.com/AyatanaIndicators/ayatana-indicator-datetime/issues/56
-rw-r--r--src/idoscalemenuitem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c
index 7baac17..37a9385 100644
--- a/src/idoscalemenuitem.c
+++ b/src/idoscalemenuitem.c
@@ -1,5 +1,6 @@
/*
* Copyright 2010 Canonical, Ltd.
+ * Copyright 2021 Robert Tari
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of either or both of the following licenses:
@@ -21,6 +22,7 @@
*
* Authors:
* Cody Russell <crussell@canonical.com>
+ * Robert Tari <robert@tari.in>
*/
#include <gtk/gtk.h>
@@ -166,7 +168,6 @@ ido_scale_menu_item_constructed (GObject *object)
gtk_scale_set_draw_value (GTK_SCALE (priv->scale), FALSE);
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
- gtk_widget_set_margin_end(hbox, 16);
priv->primary_image = gtk_image_new ();
g_signal_connect (priv->primary_image, "notify",