Fileselection frozen :)



        Good day,
        Developers! Another problem:

        I have a button and have connected a signal to it:

        g_signal_connect (G_OBJECT (prefsdlg->btn_browse), "clicked",
                        G_CALLBACK (preferences_browse_cb), NULL);

                ...and a callback:

        void
        preferences_browse_cb (GtkWidget *widget,
                        gpointer data)
        {
                GtkWidget *filedlg;

                filedlg = gtk_file_selection_new ("Select File");
                gtk_widget_show (filedlg);
        }

...and when the file selection dlg is shown, it is "frozen", I can not clik on any button...Also tried with connecting signals for ok & cancel & destroy, but nothing...

...I'm using GTK+ 2.1.2 & GLib 2.0.7. Any clue, or just my stupid mistake somewhere?

        Thanks!

--
"This is it... This is where I belong..."






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]