~ubuntu-branches/ubuntu/vivid/cairo-dock-plug-ins/vivid

« back to all changes in this revision

Viewing changes to GMenu-old/src/applet-run-dialog.c

  • Committer: Matthieu Baerts
  • Date: 2013-08-27 14:46:47 UTC
  • mto: (53.1.4 cairo-dock-plug-ins)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: matttbe@gmail.com-20130827144647-wm0kyawa8vcg0cso
Tags: upstream-3.2.99.beta1.1~20130827~bzr2928
ImportĀ upstreamĀ versionĀ 3.2.99.beta1.1~20130827~bzr2928

Show diffs side-by-side

added added

removed removed

Lines of Context:
160
160
        return list;
161
161
}
162
162
 
163
 
static void cd_menu_run_dialog_update_completion (CairoDockModuleInstance *myApplet,
 
163
static void cd_menu_run_dialog_update_completion (GldiModuleInstance *myApplet,
164
164
        const char *text)
165
165
{
166
166
        GList *list;
234
234
 
235
235
static gboolean _entry_event (GtkEditable *entry,
236
236
        GdkEventKey *event,
237
 
        CairoDockModuleInstance *myApplet)
 
237
        GldiModuleInstance *myApplet)
238
238
{
239
239
        char             *prefix;
240
240
        char             *nospace_prefix;
343
343
        {
344
344
                gtk_entry_set_text (GTK_ENTRY (pInteractiveWidget), "");
345
345
        }
346
 
        cairo_dock_dialog_reference (myData.pQuickLaunchDialog);
347
 
        cairo_dock_hide_dialog (myData.pQuickLaunchDialog);
 
346
        gldi_object_ref (GLDI_OBJECT(myData.pQuickLaunchDialog));
 
347
        gldi_dialog_hide (myData.pQuickLaunchDialog);
348
348
}
349
 
CairoDialog *cd_menu_create_quick_launch_dialog (CairoDockModuleInstance *myApplet)
 
349
CairoDialog *cd_menu_create_quick_launch_dialog (GldiModuleInstance *myApplet)
350
350
{
351
351
        gchar *cIconPath = cairo_dock_search_icon_s_path (GTK_STOCK_EXECUTE, myData.iPanelDefaultMenuIconSize);
352
 
        CairoDialog *pDialog = cairo_dock_show_dialog_with_entry (D_("Enter a command to launch:"),
 
352
        CairoDialog *pDialog = gldi_dialog_show_with_entry (D_("Enter a command to launch:"),
353
353
                myIcon, myContainer,
354
354
                cIconPath ? cIconPath : "same icon",
355
355
                NULL,