~jgonzalezdr/cairo-dock-plug-ins/suspend-workaround-applet_3.3

« back to all changes in this revision

Viewing changes to GMenu/src/applet-entry.c

  • Committer: Fabrice Rey
  • Date: 2013-05-19 17:26:37 UTC
  • Revision ID: fabounet03@gmail.com-20130519172637-cc4oyb5q3z0jd139
Here is quite a huge commit; it's "just" to update to the new core API

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
}
82
82
 
83
83
static gboolean _on_entry_changed (GtkWidget *pEntry,
84
 
        CairoDockModuleInstance *myApplet)
 
84
        GldiModuleInstance *myApplet)
85
85
{
86
86
        const gchar *cText = gtk_entry_get_text (GTK_ENTRY (pEntry));
87
87
        g_print ("%s (%s)\n", __func__, cText);
174
174
 
175
175
static gboolean _on_key_pressed_menu (GtkWidget *pMenuItem,
176
176
        GdkEventKey *pEvent,
177
 
        CairoDockModuleInstance *myApplet)
 
177
        GldiModuleInstance *myApplet)
178
178
{
179
179
        // redirect the signal to the entry
180
180
        g_signal_emit_by_name (myData.pEntry, "key-press-event", pEvent, myApplet);