Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1205)

Side by Side Diff: ui/gtk3/panel.vala

Issue 317540043: ui/gtk3: Get emoji font size from gsettings (Closed) Base URL: git@github.com:ibus/ibus.git@master
Patch Set: Created 6 years, 11 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gtk3/emojierapp.vala ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* vim:set et sts=4 sw=4: 1 /* vim:set et sts=4 sw=4:
2 * 2 *
3 * ibus - The Input Bus 3 * ibus - The Input Bus
4 * 4 *
5 * Copyright(c) 2011-2014 Peng Huang <shawn.p.huang@gmail.com> 5 * Copyright(c) 2011-2014 Peng Huang <shawn.p.huang@gmail.com>
6 * Copyright(c) 2015-2017 Takao Fujwiara <takao.fujiwara1@gmail.com> 6 * Copyright(c) 2015-2017 Takao Fujwiara <takao.fujiwara1@gmail.com>
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public 9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 1221 matching lines...) Expand 10 before | Expand all | Expand 10 after
1232 // Show system menu 1232 // Show system menu
1233 if (m_sys_menu == null) { 1233 if (m_sys_menu == null) {
1234 Gtk.MenuItem item; 1234 Gtk.MenuItem item;
1235 m_sys_menu = new Gtk.Menu(); 1235 m_sys_menu = new Gtk.Menu();
1236 1236
1237 item = new Gtk.MenuItem.with_label(_("Preferences")); 1237 item = new Gtk.MenuItem.with_label(_("Preferences"));
1238 item.activate.connect((i) => show_setup_dialog()); 1238 item.activate.connect((i) => show_setup_dialog());
1239 m_sys_menu.append(item); 1239 m_sys_menu.append(item);
1240 1240
1241 #if EMOJI_DICT 1241 #if EMOJI_DICT
1242 item = new Gtk.MenuItem.with_label(_("Emoji Dialog")); 1242 item = new Gtk.MenuItem.with_label(_("Emoji Choice"));
1243 item.activate.connect((i) => { 1243 item.activate.connect((i) => {
1244 Gdk.Event event = new Gdk.Event(Gdk.EventType.KEY_PRESS); 1244 Gdk.Event event = new Gdk.Event(Gdk.EventType.KEY_PRESS);
1245 handle_emoji_typing(event); 1245 handle_emoji_typing(event);
1246 }); 1246 });
1247 m_sys_menu.append(item); 1247 m_sys_menu.append(item);
1248 #endif 1248 #endif
1249 1249
1250 item = new Gtk.MenuItem.with_label(_("About")); 1250 item = new Gtk.MenuItem.with_label(_("About"));
1251 item.activate.connect((i) => show_about_dialog()); 1251 item.activate.connect((i) => show_about_dialog());
1252 m_sys_menu.append(item); 1252 m_sys_menu.append(item);
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
1673 } 1673 }
1674 m_engines[0] = engine; 1674 m_engines[0] = engine;
1675 1675
1676 string[] names = {}; 1676 string[] names = {};
1677 foreach(var desc in m_engines) { 1677 foreach(var desc in m_engines) {
1678 names += desc.get_name(); 1678 names += desc.get_name();
1679 } 1679 }
1680 m_settings_general.set_strv("engines-order", names); 1680 m_settings_general.set_strv("engines-order", names);
1681 } 1681 }
1682 } 1682 }
OLDNEW
« no previous file with comments | « ui/gtk3/emojierapp.vala ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b