summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-11-04 17:29:20 +0100
committerGravatar waker <wakeroid@gmail.com>2012-11-04 17:29:20 +0100
commit21dfe3e0b0f89e4f09d7f6bfa914ff7bd0d062bb (patch)
tree207e023f4136e6a838c0912b95203db61874e2a0
parent43b652d530275a24e13283d955428337f4aa8400 (diff)
gtkui: hotkeys preferences gui tweaks
-rw-r--r--plugins/gtkui/deadbeef.glade8
-rw-r--r--plugins/gtkui/interface.c7
2 files changed, 8 insertions, 7 deletions
diff --git a/plugins/gtkui/deadbeef.glade b/plugins/gtkui/deadbeef.glade
index 115dd97b..becc30e4 100644
--- a/plugins/gtkui/deadbeef.glade
+++ b/plugins/gtkui/deadbeef.glade
@@ -5008,7 +5008,7 @@ SOCKS5_HOSTNAME</property>
<child>
<widget class="GtkLabel" id="label135">
<property name="visible">True</property>
- <property name="label" translatable="yes">&lt;b&gt;List of hotkeys&lt;/b&gt;</property>
+ <property name="label" translatable="yes">&lt;b&gt;Assigned hotkeys&lt;/b&gt;</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -5074,7 +5074,7 @@ SOCKS5_HOSTNAME</property>
</widget>
<packing>
<property name="padding">0</property>
- <property name="expand">True</property>
+ <property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
@@ -5180,7 +5180,7 @@ SOCKS5_HOSTNAME</property>
<widget class="GtkTreeView" id="hotkeys_actions">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="headers_visible">True</property>
+ <property name="headers_visible">False</property>
<property name="rules_hint">False</property>
<property name="reorderable">False</property>
<property name="enable_search">True</property>
@@ -5339,7 +5339,7 @@ SOCKS5_HOSTNAME</property>
</widget>
<packing>
<property name="padding">0</property>
- <property name="expand">True</property>
+ <property name="expand">False</property>
<property name="fill">True</property>
</packing>
</child>
diff --git a/plugins/gtkui/interface.c b/plugins/gtkui/interface.c
index 2214e2d5..5406ab77 100644
--- a/plugins/gtkui/interface.c
+++ b/plugins/gtkui/interface.c
@@ -2508,7 +2508,7 @@ create_prefwin (void)
gtk_widget_show (hbox108);
gtk_box_pack_start (GTK_BOX (vbox36), hbox108, FALSE, TRUE, 0);
- label135 = gtk_label_new (_("<b>List of hotkeys</b>"));
+ label135 = gtk_label_new (_("<b>Assigned hotkeys</b>"));
gtk_widget_show (label135);
gtk_box_pack_start (GTK_BOX (hbox108), label135, FALSE, FALSE, 0);
gtk_label_set_use_markup (GTK_LABEL (label135), TRUE);
@@ -2519,7 +2519,7 @@ create_prefwin (void)
scrolledwindow9 = gtk_scrolled_window_new (NULL, NULL);
gtk_widget_show (scrolledwindow9);
- gtk_box_pack_start (GTK_BOX (vbox36), scrolledwindow9, TRUE, TRUE, 0);
+ gtk_box_pack_start (GTK_BOX (vbox36), scrolledwindow9, FALSE, TRUE, 0);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow9), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow9), GTK_SHADOW_IN);
@@ -2566,6 +2566,7 @@ create_prefwin (void)
hotkeys_actions = gtk_tree_view_new ();
gtk_widget_show (hotkeys_actions);
gtk_container_add (GTK_CONTAINER (scrolledwindow10), hotkeys_actions);
+ gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (hotkeys_actions), FALSE);
hbox106 = gtk_hbox_new (FALSE, 8);
gtk_widget_show (hbox106);
@@ -2596,7 +2597,7 @@ create_prefwin (void)
hbuttonbox4 = gtk_hbutton_box_new ();
gtk_widget_show (hbuttonbox4);
- gtk_box_pack_start (GTK_BOX (vbox36), hbuttonbox4, TRUE, TRUE, 0);
+ gtk_box_pack_start (GTK_BOX (vbox36), hbuttonbox4, FALSE, TRUE, 0);
gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox4), GTK_BUTTONBOX_END);
gtk_box_set_spacing (GTK_BOX (hbuttonbox4), 8);