Re: [evolution-patches] UI : Patch for Bug # 263207



No, this is completely unacceptable, you can't walk the widget tree to
find out the toplevel widget.  This widget may be embedded in any sort
of object, you cannot assume it is even a dialog box.



On Sun, 2005-08-28 at 21:25 +0530, Antony Vincent Pandian wrote:
> +       if (g_list_length (data->fr->parts) < 1){
> +               GtkWidget *dialog;
> +               dialog = gtk_widget_get_toplevel (button);
> +               gtk_dialog_set_response_sensitive (GTK_DIALOG
> (dialog), GTK_RESPONSE_OK, TRUE);
> +       } 
-- 
adfa(evolution-2.4:20087): gtkhtml-WARNING **: cannot find icon:
'stock_insert-url' in gnome 




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