Commit graph

18 commits

Author SHA1 Message Date
Sergey V. Udaltsov
9c4821bf87 region: keep selection when moving layout up/down
https://bugzilla.gnome.org/show_bug.cgi?id=654880
2011-08-06 03:19:27 +01:00
Rui Matos
60a2507366 region: remove helper function not needed since GTK+ 3.0
GTK+ 3.0 introduced gtk_tree_model_iter_previous() so we no longer need to
keep this helper function.

Also, simplify the use of GtkTreeIters by allocating them on the stack.

https://bugzilla.gnome.org/show_bug.cgi?id=652374
2011-06-12 14:08:00 +01:00
Rui Matos
6db9b9fbfa region: fix infinite loop dealing with gsettings 'changed' signal
Setting updating_settings in update_layouts_list() and checking for it in the
gsettings 'changed' signal handler doesn't prevent a loop because the signal
handler is only called after update_layouts_list() returns and thus
updating_settings is already FALSE at that point.

By using the 'drag-end' signal instead of 'row-inserted', etc. we continue to
support DnD re-ordering of layouts while avoiding the loop from
xkb_layouts_fill_selected_tree() deleting and inserting rows into the model.

https://bugzilla.gnome.org/show_bug.cgi?id=652361
2011-06-12 14:07:18 +01:00
Rui Matos
efbe184019 region: fix a couple of memory leaks
https://bugzilla.gnome.org/show_bug.cgi?id=652360
2011-06-11 18:18:05 +01:00
Sergey V. Udaltsov
0c4f98dd94 region: fixed regression: automatically add grp:* if necessary
If Nlayouts > 1, the layout switchit shortcut is defined automatically
2011-03-16 00:43:50 +00:00
Bastien Nocera
211461007c region: Make drag'n'drop work
By making sure we only store the layouts in the list store, and keep
GSettings in sync with the list store, rather than constantly re-reading
from GSettings.

https://bugzilla.gnome.org/show_bug.cgi?id=644783
2011-03-15 22:41:07 +00:00
Sergey V. Udaltsov
ff20327899 Small update in libgnomekbd api
Improved function name
2011-03-01 20:31:32 +00:00
Sergey V. Udaltsov
697ab6bc21 region: Pass config registry to the kbd drawing dialog
Updated for libgnomekbd API
2011-02-10 22:46:42 +00:00
Sergey V. Udaltsov
3edfefad90 Showing the kbd layout preview dialog
gtk_widget_show_all was in new_dialog before, has to be called explicitly
2011-02-05 17:01:49 +00:00
Sergey V. Udaltsov
fe04b358a4 New search-based layout addition
Bug #640772, see mockup
Requires new version of libgnomekbd and libxklavier
2011-02-04 19:55:38 +00:00
Bastien Nocera
035cb78521 region: Parent dialogues properly 2011-01-24 18:10:09 +00:00
Matthias Clasen
eac5028a75 Don't set a parent on a toplevel 2011-01-21 15:06:36 -05:00
Bastien Nocera
94507750ce region: Use an enum for column names 2011-01-21 17:22:10 +00:00
Bastien Nocera
e7a82d58e4 region: Simplify xkb_layouts_fill_selected_tree() 2011-01-21 17:11:47 +00:00
Bastien Nocera
5299e667b2 region: Small style fix 2011-01-21 17:07:32 +00:00
Bastien Nocera
06e04097fd region: GKBD_KEYBOARD_CONFIG_KEY_LAYOUTS can be empty
But non-NULL. Handle that case.
2011-01-21 17:06:44 +00:00
Yanko Kaneti
628e280243 region: keyboard_dialog -> region_dialog
gnome-keyboard-properties -> gnome-region-panel
        has-separator is gone
2010-11-09 13:36:43 +01:00
William Jon McCann
733f0ce3e2 [region] Rename old Keyboard panel to Region
Will make keybindings the new keyboard panel
2010-10-31 23:42:04 -04:00
Renamed from panels/keyboard/gnome-keyboard-properties-xkblt.c (Browse further)