diff options
Diffstat (limited to 'src/ui/util.c')
-rw-r--r-- | src/ui/util.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/util.c b/src/ui/util.c index ea910eb6..7db2c9bc 100644 --- a/src/ui/util.c +++ b/src/ui/util.c | |||
@@ -1787,10 +1787,12 @@ static void addFontButtons_(iWidget *parent, const char *id) { | |||
1787 | delete_Array(items); | 1787 | delete_Array(items); |
1788 | } | 1788 | } |
1789 | 1789 | ||
1790 | #if 0 | ||
1790 | static int cmp_MenuItem_(const void *e1, const void *e2) { | 1791 | static int cmp_MenuItem_(const void *e1, const void *e2) { |
1791 | const iMenuItem *a = e1, *b = e2; | 1792 | const iMenuItem *a = e1, *b = e2; |
1792 | return iCmpStr(a->label, b->label); | 1793 | return iCmpStr(a->label, b->label); |
1793 | } | 1794 | } |
1795 | #endif | ||
1794 | 1796 | ||
1795 | iWidget *makePreferences_Widget(void) { | 1797 | iWidget *makePreferences_Widget(void) { |
1796 | iWidget *dlg = makeSheet_Widget("prefs"); | 1798 | iWidget *dlg = makeSheet_Widget("prefs"); |
@@ -1828,7 +1830,7 @@ iWidget *makePreferences_Widget(void) { | |||
1828 | /* UI languages. */ { | 1830 | /* UI languages. */ { |
1829 | iArray *uiLangs = collectNew_Array(sizeof(iMenuItem)); | 1831 | iArray *uiLangs = collectNew_Array(sizeof(iMenuItem)); |
1830 | const iMenuItem langItems[] = { | 1832 | const iMenuItem langItems[] = { |
1831 | { "${lang.de} - de", 0, 0, "uilang id:de" }, | 1833 | // { "${lang.de} - de", 0, 0, "uilang id:de" }, |
1832 | { "${lang.en} - en", 0, 0, "uilang id:en" }, | 1834 | { "${lang.en} - en", 0, 0, "uilang id:en" }, |
1833 | { "${lang.fi} - fi", 0, 0, "uilang id:fi" }, | 1835 | { "${lang.fi} - fi", 0, 0, "uilang id:fi" }, |
1834 | { "${lang.ru} - ru", 0, 0, "uilang id:ru" }, | 1836 | { "${lang.ru} - ru", 0, 0, "uilang id:ru" }, |
@@ -1857,6 +1859,8 @@ iWidget *makePreferences_Widget(void) { | |||
1857 | size_Array(uiLangs))), | 1859 | size_Array(uiLangs))), |
1858 | alignLeft_WidgetFlag), | 1860 | alignLeft_WidgetFlag), |
1859 | "prefs.uilang"); | 1861 | "prefs.uilang"); |
1862 | addChild_Widget(headings, iClob(makePadding_Widget(gap_UI))); | ||
1863 | addChild_Widget(values, iClob(makePadding_Widget(gap_UI))); | ||
1860 | } | 1864 | } |
1861 | #if defined (iPlatformApple) || defined (iPlatformMSys) | 1865 | #if defined (iPlatformApple) || defined (iPlatformMSys) |
1862 | addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.ostheme}"))); | 1866 | addChild_Widget(headings, iClob(makeHeading_Widget("${prefs.ostheme}"))); |