[hafqa] [hafqa] [Bug 874] New: hildon_file_details_dialog_new_with_model() should just call g_object_new()
From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.orgDate: Tue Nov 21 21:13:53 EET 2006
- Previous message: [hafqa] [Bug 869] Matchbox crash on booting sardine
- Next message: [hafqa] [Bug 875] New: HildonWindow requires show_all
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
https://maemo.org/bugzilla/show_bug.cgi?id=874 Summary: hildon_file_details_dialog_new_with_model() should just call g_object_new() Product: haf Version: sardine Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: hildon-fm AssignedTo: marius.vollmer at nokia.com ReportedBy: murrayc at murrayc.com QAContact: hafqa at maemo.org *_new() functions should just call g_object_new() so that language bindings and GUI builders can just call g_object_new() to get the same effect, but hildon_file_details_dialog_new_with_model() does more: GtkWidget *hildon_file_details_dialog_new_with_model(GtkWindow *parent, HildonFileSystemModel *model) { GtkWidget *dialog; dialog = g_object_new(HILDON_TYPE_FILE_DETAILS_DIALOG, "has-separator", FALSE, "title", _("sfil_ti_file_details"), "model", model, NULL); if (parent) gtk_window_set_transient_for(GTK_WINDOW(dialog), parent); return dialog; } Some of that can be reimplemented in language bindings (with a risk of being wrong when the C implementation changes), but we cannot do use _("sfil_ti_file_details") and use the translations from hidon-fm. -- Configure bugmail: https://maemo.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
- Previous message: [hafqa] [Bug 869] Matchbox crash on booting sardine
- Next message: [hafqa] [Bug 875] New: HildonWindow requires show_all
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]