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

Delta Between Two Patch Sets: setup/icon.py

Issue 5517048: Merge the devel branch (Closed) Base URL: git@github.com:phuang/ibus.git@devel
Left Patch Set: Fix a hotkey issue related with xkb option ctrl:swapcaps Created 13 years, 2 months ago
Right Patch Set: Rebase on HEAD Created 13 years 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « setup/i18n.py ('k') | setup/keyboardshortcut.py » ('j') | src/ibusbus.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
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) 2007-2010 Peng Huang <shawn.p.huang@gmail.com> 5 # Copyright (c) 2007-2010 Peng Huang <shawn.p.huang@gmail.com>
6 # Copyright (c) 2007-2010 Red Hat, Inc. 6 # Copyright (c) 2007-2010 Red Hat, Inc.
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 if pixbuf == None: 60 if pixbuf == None:
61 try: 61 try:
62 theme = Gtk.IconTheme.get_default() 62 theme = Gtk.IconTheme.get_default()
63 pixbuf = theme.load_icon(icon, icon_size, 0) 63 pixbuf = theme.load_icon(icon, icon_size, 0)
64 except: 64 except:
65 # import traceback 65 # import traceback
66 # traceback.print_exc() 66 # traceback.print_exc()
67 pass 67 pass
68 icon_cache[(icon, size)] = pixbuf 68 icon_cache[(icon, size)] = pixbuf
69 return pixbuf 69 return pixbuf
LEFTRIGHT

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