summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2017-12-18 13:54:11 +0000
committerTavmjong Bah <tavmjong@free.fr>2017-12-18 13:54:11 +0000
commit152db3184d26d48b0ac476637a15d356ebea0d41 (patch)
tree970edf3f65e99bd0b4d1f98903cc962093f650a2 /src
parentAdd README's so I don't have to figure out what these libraries are used for ... (diff)
downloadinkscape-152db3184d26d48b0ac476637a15d356ebea0d41.tar.gz
inkscape-152db3184d26d48b0ac476637a15d356ebea0d41.zip
Reduce with of +/- buttons. Reduce width of Fill and Stroke dialog.
Diffstat (limited to 'src')
-rw-r--r--src/ui/widget/color-notebook.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/widget/color-notebook.cpp b/src/ui/widget/color-notebook.cpp
index bd4b21bdb..d60150767 100644
--- a/src/ui/widget/color-notebook.cpp
+++ b/src/ui/widget/color-notebook.cpp
@@ -321,9 +321,11 @@ void ColorNotebook::_addPage(Page &page)
Glib::ustring mode_name = page.selector_factory->modeName();
Gtk::Widget *tab_label = Gtk::manage(new Gtk::Label(mode_name));
+ tab_label->set_name("ColorModeLabel");
gint page_num = gtk_notebook_append_page(GTK_NOTEBOOK(_book), selector_widget->gobj(), tab_label->gobj());
_buttons[page_num] = gtk_radio_button_new_with_label(NULL, mode_name.c_str());
+ gtk_widget_set_name(_buttons[page_num], "ColorModeButton");
gtk_toggle_button_set_mode(GTK_TOGGLE_BUTTON(_buttons[page_num]), FALSE);
if (page_num > 0) {
auto g = Glib::wrap(GTK_RADIO_BUTTON(_buttons[0]))->get_group();