Commit graph

117 commits

Author SHA1 Message Date
Sergey V. Udaltsov
6d018d3295 Do not allow adding the same layout twice
Just disable the "add" button when already chosen layout is selected
https://bugzilla.gnome.org/show_bug.cgi?id=642907
2011-02-26 01:59:18 +00:00
Sergey V. Udaltsov
8760016db2 region: Shared non-modal layout preview dialog
https://bugzilla.gnome.org/show_bug.cgi?id=642903
2011-02-25 00:50:28 +00:00
Matthias Clasen
3be36e735b Drop the sync language loading code
All users have been ported to use the async variant.
2011-02-23 23:43:16 -05:00
Matthias Clasen
3e25e3d213 Region: load languages async
https://bugzilla.gnome.org/show_bug.cgi?id=643096
2011-02-24 03:12:23 +00:00
Bastien Nocera
a2fa77302b region: Fix memleak on error 2011-02-21 19:18:34 +00:00
Thomas Wood
e2f944a66a configure: Group pkg-config checks based on how they are used
Group the pkg-config checks so that pkg-config can remove duplicated CFLAGS
and LIBS.

https://bugzilla.gnome.org/show_bug.cgi?id=636593
2011-02-19 16:46:26 +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
b5e63ec96b Fix the modality of the Preview dialog
set_modal should be used instead of set_transient_for
Also, a bit of memory tidy up
2011-02-09 20:18:39 +00:00
Sergey V. Udaltsov
963f992452 region: make layout filtering much faster
Using app-level filter instead of libxklavier filter
2011-02-08 22:22:09 +00:00
Bastien Nocera
ceac040387 region: Some UI fixes for the layout chooser
And parent it appropriately.
2011-02-07 01:50:22 +00:00
Bastien Nocera
8f405c9346 region: Remove code to handle print button
It's not in the main UI anymore.
2011-02-07 01:15:16 +00:00
Bastien Nocera
9c2bfba4ca region: Easier to understand layout switching options
Use 2 groups of radio buttons to make layout options related
to windows easier to understand.

https://bugzilla.gnome.org/show_bug.cgi?id=641021
2011-02-07 01:09:08 +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
Bastien Nocera
c2bc94d6ef region: Remove annoying tooltip on a treeview 2011-02-05 03:07:13 +00:00
Sergey V. Udaltsov
28d69973d2 Sort the layout list in the chooser 2011-02-04 22:54:33 +00:00
Sergey V. Udaltsov
7808e6edae Minor UI tweaks in kbd layout chooser
Frame around layout list, initial focus on the search field
2011-02-04 22:40:53 +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
William Jon McCann
8a4e047cd6 region: use consistent border spacing 2011-02-01 18:00:37 -05:00
Bastien Nocera
01a95b5fc8 region: Remove unused variable 2011-01-28 20:02:33 +00:00
Bastien Nocera
4f43c11d84 region: Don't assert when language is empty
Some users in the accounts service won't have any languages set,
so avoid crashing in that case.
2011-01-28 20:01:35 +00:00
Bastien Nocera
db1b386a84 region: Fix close button in options dialogue 2011-01-27 18:07:28 +00:00
Bastien Nocera
cd9da609f9 region: Add missing padding to the layouts tab 2011-01-27 16:16:28 +00:00
Bastien Nocera
53b7ee5895 region: Remove obsolete UI file 2011-01-27 16:09:11 +00:00
Bastien Nocera
81c53713bd region: Remove Help button in options dialogue 2011-01-27 15:53:41 +00:00
Bastien Nocera
cef84c5171 region: Remove keyboard model selection
Seeing as all the keyboards should be using the same low-level
keycode set, when using evdev.
2011-01-27 15:52:23 +00:00
Bastien Nocera
7bca4a0a05 region: Add junction between treeview and toolbar
As we do in other panels.
2011-01-27 15:42:07 +00:00
Bastien Nocera
645a0bc728 region: UI tweaks
Make the "Reset to defaults" button secondary, choose the correct
icon size for the treeview toolbar.
2011-01-27 15:42:07 +00:00
Bastien Nocera
45ad8a6c64 region: Tweak the layouts tab UI 2011-01-27 14:46:50 +00:00
Bastien Nocera
8a2f45992f region: Implement setting the user language
And clean up the accounts service proxy when done.
2011-01-27 12:41:14 +00:00
Matthias Clasen
df3a7e4c79 region: Add Keyboard as a keyword 2011-01-27 01:36:48 -05:00
Bastien Nocera
8f29da02e2 region: Select the current session language 2011-01-26 18:41:34 +00:00
Bastien Nocera
c01c4b2cb2 region: Load languages from other users
Using the accounts service.
2011-01-26 18:22:55 +00:00
Bastien Nocera
395e310512 region: Populate the language list
Using the new common/ helper functions.
2011-01-25 18:45:03 +00:00
Bastien Nocera
dbc6f5a6b9 region: Add stubs for language tab code 2011-01-24 18:35:21 +00:00
Bastien Nocera
930540ea28 user-accounts: Move gdm-languages to common/
Move gdm-languages and some of the helper functions to common/,
so that we can share it with the region panel.
2011-01-24 18:10:10 +00:00
Bastien Nocera
c086f7dda7 region: Add UI for language tab 2011-01-24 18:10:09 +00:00
Bastien Nocera
80324e35c6 region: Remove debug output 2011-01-24 18:10:09 +00:00
Bastien Nocera
035cb78521 region: Parent dialogues properly 2011-01-24 18:10:09 +00:00
Bastien Nocera
0c8dd1aebc region: Fix memory leaks and destroy dialogue properly
There's no top-level dialogue any more, so we need some way to
clean up after ourselves.
2011-01-24 18:10:09 +00:00
Bastien Nocera
cc172a4754 region: Remove unused finalize function 2011-01-24 18:10:09 +00:00
Bastien Nocera
f70af6ee47 region: Remove other uses of gtk_dialog_run() 2011-01-24 12:30:59 +00:00
Bastien Nocera
0dd5a8ac18 region: Remove one use of gtk_dialog_run()
And make sure that the dialogue is destroyed when clicking its
close titlebar button.
2011-01-24 12:23:34 +00:00
Matthias Clasen
eac5028a75 Don't set a parent on a toplevel 2011-01-21 15:06:36 -05:00
Bastien Nocera
37e444f96f region: Remove unused "test settings" UI 2011-01-21 18:14:36 +00:00
Bastien Nocera
a4aa456c06 region: Remove more dead UI 2011-01-21 18:13:42 +00:00
Bastien Nocera
a7519f8340 region: Remove useless level of indirection
Clean up that mess of a code somewhat.
2011-01-21 18:06:26 +00:00
Bastien Nocera
5db534af2f region: Make sure the layouts tree doesn't end up empty
By making the whole panel bigger. Might work-around a GTK+ bug, we
won't know for now...
2011-01-21 17:44:35 +00: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