[Xfce4-commits] [apps/mousepad] 01/01: Fix Tab mode and Home/End Keys in preferences dialog (Bug #15075)

noreply at xfce.org noreply at xfce.org
Sun Apr 21 19:02:50 CEST 2019


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/mousepad.

commit 60af3e7603ff25e98293c35dbe9bc1207c295763
Author: Theo Linkspfeifer <lastonestanding at tutanota.com>
Date:   Sun Apr 21 14:01:56 2019 -0300

    Fix Tab mode and Home/End Keys in preferences dialog (Bug #15075)
---
 mousepad/mousepad-prefs-dialog.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/mousepad/mousepad-prefs-dialog.c b/mousepad/mousepad-prefs-dialog.c
index 6a9aad4..03e3f32 100644
--- a/mousepad/mousepad-prefs-dialog.c
+++ b/mousepad/mousepad-prefs-dialog.c
@@ -443,6 +443,14 @@ mousepad_prefs_dialog_init (MousepadPrefsDialog *self)
   widget = mousepad_builder_get_widget (self->builder, WID_FONT_BUTTON);
   g_object_bind_property (check, "active", widget, "sensitive", G_BINDING_SYNC_CREATE | G_BINDING_INVERT_BOOLEAN);
 
+  /* setup tab mode combo box */
+  widget = mousepad_builder_get_widget (self->builder, WID_TAB_MODE_COMBO);
+  gtk_combo_box_set_active (GTK_COMBO_BOX (widget), MOUSEPAD_SETTING_GET_BOOLEAN (INSERT_SPACES));
+
+  /* setup home/end keys combo box */
+  widget = mousepad_builder_get_widget (self->builder, WID_SMART_HOME_END_COMBO);
+  gtk_combo_box_set_active (GTK_COMBO_BOX (widget), MOUSEPAD_SETTING_GET_ENUM (SMART_HOME_END));
+
   /* enable/disable toolbar-related widgets when checkbox changes */
   check = mousepad_builder_get_widget (self->builder, WID_TOOLBAR_VISIBLE_CHECK);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list