~joel-auterson/ubuntu/maverick/ibus/newmenuname

« back to all changes in this revision

Viewing changes to src/ibushotkey.c

  • Committer: Bazaar Package Importer
  • Author(s): LI Daobing
  • Date: 2009-06-26 22:47:52 UTC
  • mfrom: (1.2.3 upstream) (9 karmic)
  • mto: (6.2.2 squeeze)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20090626224752-ka1w2t85vuc03252
Tags: 1.2.0.20090617-1
* new upstream release.
* libibus0 -> libibus1:
  - debian/control: rename the package.
  - debian/libibus0.install: removed
  - debian/libibus0.symbols: removed
  - debian/libibus1.install: added
  - debian/libibus1.symbols: added
  - debian/rules: change script of dh_gtkmodules
* debian/ibus-gtk.install: updated.
* debian/control: 
  - ibus conflicts the ibus modules with low version. 
  - bump policy version to 3.8.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
                                                     guint                   modifiers);
58
58
static IBusHotkey   *ibus_hotkey_copy               (const IBusHotkey       *src);
59
59
static void          ibus_hotkey_free               (IBusHotkey             *hotkey);
 
60
/*
60
61
static gboolean      ibus_hotkey_serialize          (IBusHotkey             *hotkey,
61
62
                                                     IBusMessageIter        *iter);
62
63
static gboolean      ibus_hotkey_deserialize        (IBusHotkey             *hotkey,
63
64
                                                     IBusMessageIter        *iter);
64
 
 
 
65
*/
65
66
static void          ibus_hotkey_profile_class_init (IBusHotkeyProfileClass *klass);
66
67
static void          ibus_hotkey_profile_init       (IBusHotkeyProfile      *profile);
67
68
static void          ibus_hotkey_profile_destroy    (IBusHotkeyProfile      *profile);
93
94
    return type;
94
95
}
95
96
 
 
97
/*
96
98
static gboolean
97
99
ibus_hotkey_serialize (IBusHotkey      *hotkey,
98
100
                       IBusMessageIter *iter)
122
124
 
123
125
    return TRUE;
124
126
}
125
 
 
 
127
*/
126
128
 
127
129
static IBusHotkey *
128
130
ibus_hotkey_new (guint keyval,
216
218
    g_string_append (serializable_class->signature, "av");
217
219
 
218
220
    /* install signals */
 
221
    /**
 
222
     * IBusHotkeyProfile::trigger:
 
223
     * @profile: An IBusHotkeyProfile.
 
224
     * @event: An event in GQuark.
 
225
     * @user_data: User data for callback.
 
226
     *
 
227
     * Emitted when a hotkey is pressed and the hotkey is in profile.
 
228
     * Implement the member function trigger() in extended class to receive this signal.
 
229
     *
 
230
     * <note><para>The last parameter, user_data is not actually a valid parameter. It is displayed because of GtkDoc bug.</para></note>
 
231
     */
219
232
    profile_signals[TRIGGER] =
220
233
        g_signal_new (I_("trigger"),
221
234
            G_TYPE_FROM_CLASS (klass),