2004-10-12 Damon Chaplin * Released Glade 2.0.2 2004-10-12 Damon Chaplin * glade/gbwidgets/gbframe.c (gb_frame_new): * glade/gbwidgets/gbaspectframe.c (gb_aspect_frame_new): revert to not using HIG settings, since gtk_alignment_set_padding() isn't available in GTK+ 2.2. 2004-10-12 Damon Chaplin * glade/gbwidget.c (get_position_properties): Don't just return if the widget's area hasn't been allocated. It may never be if the window is not shown. But we must still show the properties. #152362. * glade/gbwidgets/gbmenubar.c (gb_menu_bar_write_source): * glade/gbwidgets/gbmenu.c (gb_menu_write_source): pass an accel_group to gnome_app_fill_menu() so accelerators work (or are shown at least) in GtkWindow and GtkMenu when used in a GNOME app. For popup menus it is up to the developer to make sure the accelerators have been added to the main windows as well so they actually work. * glade/utils.c (glade_util_get_next_free_project_directory): * glade/main.c (main): check for NULL from g_get_home_dir() (Win9x) * configure.in: check that GTK+ < 2.4 and abort if not. The toolbar code changed a lot in GTK+ 2.4 and is not compatable with Glade 2.0.x. You need Glade 2.6.x for GTK+ 2.4.x. * glade/main.c (main): check that GTK+ < 2.4 and exit if not. Backporting from 2.6.0: * glade/gnome-db/gnomedblogindlg.c (gb_gnome_db_logindlg_init): * glade/gnome-db/gnomedberrordlg.c (gb_gnome_db_errordlg_init): * glade/gnome/gnomepropertybox.c (gb_gnome_property_box_init): * glade/gnome/gnomemessagebox.c (gb_gnome_message_box_init): * glade/gnome/gnomedialog.c (gb_gnome_dialog_init): * glade/gnome/gnomeapp.c (gb_gnome_app_init): * glade/gnome/gnomeabout.c (gb_gnome_about_destroy): * glade/gnome/bonobowindow.c (gb_bonobo_window_init): * glade/gbwidgets/gbfilechooserdialog.c (gb_file_chooser_dialog_init): * glade/gbwidgets/gbinputdialog.c (gb_input_dialog_init): * glade/gbwidgets/gbfontselectiondialog.c (gb_font_selection_dialog_init): * glade/gbwidgets/gbfileselection.c (gb_file_selection_init): * glade/gbwidgets/gbdialog.c (gb_dialog_init): * glade/gbwidgets/gbcolorselectiondialog.c (gb_color_selection_dialog_init): set destroy function to gb_window_destroy() or call it. 2004-09-20 Damon Chaplin Backporting from 2.6.0: * glade/gbwidgets/gbwindow.c (gb_window_destroy): remove the icon pixmap from the project. * glade/gnome/gnomepixmap.c (gb_gnome_pixmap_destroy): remove the pixmap from the project. * glade/gbwidgets/gbcustom.c (gb_custom_write_source) (gb_custom_get_properties): treat NULL and "" string arguments as the same, since we can't differentiate within Glade. Bug #120474. * glade/gbwidgets/gbradiomenuitem.c (gb_radio_menu_item_create_properties): make Group property invisible since it is only used for loading & saving. * glade/glade_project_options.c (glade_project_options_init): add note recommending libglade for large apps, (bug #129772), and a note deprecating translatable strings file. * glade/glade_project_options.c (glade_project_options_generate_program_name): removed cast in lvalue. Bug #131645. * glade/gbwidget.c (set_standard_properties): * glade/property.c (property_update_title): update the title of the property editor window when the widget's name is changed. Bug #131871 * acconfig.h: removed, to get rid of warnings about AC_DEFINE. * glade-2.desktop.in: added Encoding property, and used "false" rather than "0" for Terminal property. Fixes bug #127747. * glade.spec.in (BuildRequires): removed glade-turbo-start.*. * configure.in: use AC_DEFINE with all 3 args. * configure.in (AC_OUTPUT): removed turbo start Makefile. * configure.in: quote AC_MSG_ERROR call properly. Patch from Harsh Jaitly. Fixes bug #129253. * glade/source.c (source_make_string_internal): just return "" if the string is NULL. * glade/source.c: don't output acconfig.h, and use AC_DEFINE with all 3 args, to get rid of warnings about AC_DEFINE. * doc/C/*: * FAQ: copied docs from 2.6.0. * README: update links for various languages and mailing list info, and version requirements. * glade/utils.c (glade_util_get_next_free_project_directory): use g_strdup() to create the project dir on windows, since it is freed later. * glade/utils.c: * glade/main.c: don't include on win32. * glade/utils.c (glade_util_flags_from_string): update to handle spaces in flag strings and output a warning for invalid flags. See bug #128013. * glade/save.c (save_translatable_text_in_lines): check if tag_value is NULL. Fixes bug #142251. * glade/gbwidgets/gbcombo.c (gb_combo_set_properties): leave the property string as it was, in case it is used somewhere else as well. Fixes bug #142746. 2004-03-29 Damon Chaplin * glade/gbwidgets/gbaspectframe.c (gb_aspect_frame_new): * glade/gbwidgets/gbframe.c (gb_frame_new): try to set up the frame according to the HIG. i.e. set the shadow to none, use a bold label, and add an alignment with 12 pixels padding on the left. Bug #118183. 2004-03-28 Damon Chaplin * glade/load.c (real_load_project_file): if we don't find a project options file, guess if it is a GTK+ or GNOME project by looking at the tags. * glade/glade_project.c (glade_project_load_options): return a bool indicating the options were found & loaded OK. 2004-03-25 Damon Chaplin * glade/gbwidgets/gbbutton.c (gb_button_normal_find_child_widgets): return FALSE if the child is a label GbWidget, since we handle that separately. Fixes bug #127860. * glade/main.c (main): try to load gail-gnome as well as gail. 2004-03-21 Damon Chaplin * glade/gbwidgets/gbimagemenuitem.c (gb_image_menu_item_set_properties): translate the stock menuitem label. Fixes bug #136229. * glade/gbwidgets/gbtext.c (gb_text_write_source): use -1 for text length, so it works for translated strings. This was bug #62531. 2003-11-09 Damon Chaplin * NEWS: updated. * glade/utils.c: Remove wrong/unneeded Win32 specific code. Patch from Arnaud Charlet. * README: add link to glademm mailing list.