From 624bab4dd36e1bea09c27a67f1ff0a3b983f1ac1 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Sun, 29 Sep 2013 19:32:03 +0200 Subject: added our glade fork --- tools/glade/ABOUT-NLS | 296 + tools/glade/AUTHORS | 9 + tools/glade/COPYING | 340 + tools/glade/ChangeLog | 6446 ++++++++++++++++++ tools/glade/FAQ | 506 ++ tools/glade/INSTALL | 182 + tools/glade/Makefile.am | 67 + tools/glade/NEWS | 580 ++ tools/glade/README | 270 + tools/glade/TODO | 68 + tools/glade/configure.in | 171 + tools/glade/doc/C/Makefile.am | 2 + tools/glade/doc/C/glade-faq/Makefile.am | 7 + tools/glade/doc/C/glade-faq/glade-faq-C.omf | 23 + tools/glade/doc/C/glade-faq/glade-faq.xml | 910 +++ tools/glade/doc/C/glade-faq/legal.xml | 76 + tools/glade/doc/C/glade-user-guide/Makefile.am | 24 + .../doc/C/glade-user-guide/figures/edit-menu.png | Bin 0 -> 1941 bytes .../doc/C/glade-user-guide/figures/file-menu.png | Bin 0 -> 3705 bytes .../C/glade-user-guide/figures/glade-windows.png | Bin 0 -> 68051 bytes .../C/glade-user-guide/figures/grid-options.png | Bin 0 -> 2606 bytes .../doc/C/glade-user-guide/figures/help-menu.png | Bin 0 -> 874 bytes .../glade/doc/C/glade-user-guide/figures/menu.png | Bin 0 -> 615 bytes .../doc/C/glade-user-guide/figures/options-c.png | Bin 0 -> 6940 bytes .../C/glade-user-guide/figures/options-general.png | Bin 0 -> 6275 bytes .../glade-user-guide/figures/options-libglade.png | Bin 0 -> 3531 bytes .../C/glade-user-guide/figures/settings-menu.png | Bin 0 -> 1350 bytes .../C/glade-user-guide/figures/snap-options.png | Bin 0 -> 2584 bytes .../doc/C/glade-user-guide/figures/toolbar.png | Bin 0 -> 2223 bytes .../doc/C/glade-user-guide/figures/view-menu.png | Bin 0 -> 1076 bytes .../doc/C/glade-user-guide/figures/window-main.png | Bin 0 -> 4016 bytes .../figures/window-palette-add.png | Bin 0 -> 3867 bytes .../figures/window-palette-basic.png | Bin 0 -> 4562 bytes .../figures/window-palette-gnome.png | Bin 0 -> 4631 bytes .../doc/C/glade-user-guide/glade-user-guide-C.omf | 30 + .../doc/C/glade-user-guide/glade-user-guide.xml | 2064 ++++++ tools/glade/doc/C/glade-user-guide/legal.xml | 76 + tools/glade/doc/Makefile.am | 7 + tools/glade/doc/ro/Makefile.am | 2 + tools/glade/doc/ro/glade-faq/Makefile.am | 7 + tools/glade/doc/ro/glade-faq/glade-faq-ro.omf | 20 + tools/glade/doc/ro/glade-faq/glade-faq.xml | 1007 +++ tools/glade/doc/ro/glade-faq/legal.xml | 70 + tools/glade/doc/xmldocs.make | 89 + tools/glade/examples/editor/AUTHORS | 1 + tools/glade/examples/editor/ChangeLog | 44 + tools/glade/examples/editor/Makefile.am | 30 + tools/glade/examples/editor/NEWS | 0 tools/glade/examples/editor/README | 16 + tools/glade/examples/editor/acconfig.h | 7 + tools/glade/examples/editor/autogen.sh | 159 + tools/glade/examples/editor/configure.in | 31 + tools/glade/examples/editor/editor.glade | 492 ++ tools/glade/examples/editor/editor.gladep | 8 + tools/glade/examples/editor/po/ChangeLog | 0 tools/glade/examples/editor/po/POTFILES.in | 6 + tools/glade/examples/editor/src/Makefile.am | 17 + tools/glade/examples/editor/src/callbacks.c | 670 ++ tools/glade/examples/editor/src/callbacks.h | 116 + tools/glade/examples/editor/src/interface.c | 456 ++ tools/glade/examples/editor/src/interface.h | 9 + tools/glade/examples/editor/src/main.c | 56 + tools/glade/examples/editor/src/support.c | 144 + tools/glade/examples/editor/src/support.h | 67 + tools/glade/glade-2.desktop.in | 13 + tools/glade/glade-2.png | Bin 0 -> 5073 bytes tools/glade/glade.spec.in | 99 + tools/glade/glade/Makefile.am | 105 + tools/glade/glade/data/Makefile.am | 2 + tools/glade/glade/data/gtk/Makefile.am | 11 + tools/glade/glade/data/gtk/autogen.sh | 159 + tools/glade/glade/debug.c | 106 + tools/glade/glade/debug.h | 87 + tools/glade/glade/editor.c | 3598 ++++++++++ tools/glade/glade/editor.h | 107 + tools/glade/glade/gb.c | 162 + tools/glade/glade/gb.h | 426 ++ tools/glade/glade/gbsource.c | 1222 ++++ tools/glade/glade/gbsource.h | 191 + tools/glade/glade/gbwidget.c | 4434 +++++++++++++ tools/glade/glade/gbwidget.h | 626 ++ tools/glade/glade/gbwidgets/Makefile.am | 93 + tools/glade/glade/gbwidgets/gbaboutdialog.c | 602 ++ tools/glade/glade/gbwidgets/gbaccellabel.c | 214 + tools/glade/glade/gbwidgets/gbalignment.c | 268 + tools/glade/glade/gbwidgets/gbarrow.c | 312 + tools/glade/glade/gbwidgets/gbaspectframe.c | 335 + tools/glade/glade/gbwidgets/gbbutton.c | 1612 +++++ tools/glade/glade/gbwidgets/gbcalendar.c | 280 + tools/glade/glade/gbwidgets/gbcellview.c | 206 + tools/glade/glade/gbwidgets/gbcheckbutton.c | 223 + tools/glade/glade/gbwidgets/gbcheckmenuitem.c | 214 + tools/glade/glade/gbwidgets/gbclist.c | 610 ++ tools/glade/glade/gbwidgets/gbcolorbutton.c | 225 + tools/glade/glade/gbwidgets/gbcolorselection.c | 186 + .../glade/glade/gbwidgets/gbcolorselectiondialog.c | 331 + tools/glade/glade/gbwidgets/gbcombo.c | 439 ++ tools/glade/glade/gbwidgets/gbcombobox.c | 303 + tools/glade/glade/gbwidgets/gbcomboboxentry.c | 316 + tools/glade/glade/gbwidgets/gbctree.c | 554 ++ tools/glade/glade/gbwidgets/gbcurve.c | 263 + tools/glade/glade/gbwidgets/gbcustom.c | 395 ++ tools/glade/glade/gbwidgets/gbdialog.c | 621 ++ tools/glade/glade/gbwidgets/gbdrawingarea.c | 159 + tools/glade/glade/gbwidgets/gbentry.c | 331 + tools/glade/glade/gbwidgets/gbeventbox.c | 180 + tools/glade/glade/gbwidgets/gbexpander.c | 242 + tools/glade/glade/gbwidgets/gbfilechooserbutton.c | 309 + tools/glade/glade/gbwidgets/gbfilechooserdialog.c | 451 ++ tools/glade/glade/gbwidgets/gbfilechooserwidget.c | 274 + tools/glade/glade/gbwidgets/gbfileselection.c | 308 + tools/glade/glade/gbwidgets/gbfixed.c | 246 + tools/glade/glade/gbwidgets/gbfontbutton.c | 282 + tools/glade/glade/gbwidgets/gbfontselection.c | 184 + .../glade/glade/gbwidgets/gbfontselectiondialog.c | 317 + tools/glade/glade/gbwidgets/gbframe.c | 375 ++ tools/glade/glade/gbwidgets/gbgammacurve.c | 269 + tools/glade/glade/gbwidgets/gbhandlebox.c | 317 + tools/glade/glade/gbwidgets/gbhbox.c | 587 ++ tools/glade/glade/gbwidgets/gbhbuttonbox.c | 428 ++ tools/glade/glade/gbwidgets/gbhpaned.c | 332 + tools/glade/glade/gbwidgets/gbhruler.c | 260 + tools/glade/glade/gbwidgets/gbhscale.c | 332 + tools/glade/glade/gbwidgets/gbhscrollbar.c | 250 + tools/glade/glade/gbwidgets/gbhseparator.c | 157 + tools/glade/glade/gbwidgets/gbiconview.c | 322 + tools/glade/glade/gbwidgets/gbimage.c | 662 ++ tools/glade/glade/gbwidgets/gbimagemenuitem.c | 486 ++ tools/glade/glade/gbwidgets/gbinputdialog.c | 273 + tools/glade/glade/gbwidgets/gblabel.c | 885 +++ tools/glade/glade/gbwidgets/gblayout.c | 399 ++ tools/glade/glade/gbwidgets/gblist.c | 205 + tools/glade/glade/gbwidgets/gblistitem.c | 182 + tools/glade/glade/gbwidgets/gbmenu.c | 211 + tools/glade/glade/gbwidgets/gbmenubar.c | 552 ++ tools/glade/glade/gbwidgets/gbmenuitem.c | 393 ++ tools/glade/glade/gbwidgets/gbmenutoolbutton.c | 269 + tools/glade/glade/gbwidgets/gbnotebook.c | 954 +++ tools/glade/glade/gbwidgets/gboptionmenu.c | 285 + tools/glade/glade/gbwidgets/gbpreview.c | 175 + tools/glade/glade/gbwidgets/gbprogressbar.c | 433 ++ tools/glade/glade/gbwidgets/gbradiobutton.c | 477 ++ tools/glade/glade/gbwidgets/gbradiomenuitem.c | 399 ++ tools/glade/glade/gbwidgets/gbradiotoolbutton.c | 545 ++ tools/glade/glade/gbwidgets/gbscrolledwindow.c | 366 ++ tools/glade/glade/gbwidgets/gbseparatormenuitem.c | 166 + tools/glade/glade/gbwidgets/gbseparatortoolitem.c | 218 + tools/glade/glade/gbwidgets/gbspinbutton.c | 297 + tools/glade/glade/gbwidgets/gbstatusbar.c | 169 + tools/glade/glade/gbwidgets/gbtable.c | 1223 ++++ tools/glade/glade/gbwidgets/gbtextview.c | 479 ++ tools/glade/glade/gbwidgets/gbtogglebutton.c | 211 + tools/glade/glade/gbwidgets/gbtoggletoolbutton.c | 312 + tools/glade/glade/gbwidgets/gbtoolbar.c | 696 ++ tools/glade/glade/gbwidgets/gbtoolbutton.c | 602 ++ tools/glade/glade/gbwidgets/gbtoolitem.c | 215 + tools/glade/glade/gbwidgets/gbtreeview.c | 331 + tools/glade/glade/gbwidgets/gbvbox.c | 261 + tools/glade/glade/gbwidgets/gbvbuttonbox.c | 357 + tools/glade/glade/gbwidgets/gbviewport.c | 253 + tools/glade/glade/gbwidgets/gbvpaned.c | 209 + tools/glade/glade/gbwidgets/gbvruler.c | 260 + tools/glade/glade/gbwidgets/gbvscale.c | 332 + tools/glade/glade/gbwidgets/gbvscrollbar.c | 249 + tools/glade/glade/gbwidgets/gbvseparator.c | 157 + tools/glade/glade/gbwidgets/gbwindow.c | 1246 ++++ tools/glade/glade/glade-parser.c | 1415 ++++ tools/glade/glade/glade-parser.h | 140 + tools/glade/glade/glade.c | 482 ++ tools/glade/glade/glade.h | 180 + tools/glade/glade/glade_atk.c | 1662 +++++ tools/glade/glade/glade_atk.h | 71 + tools/glade/glade/glade_clipboard.c | 654 ++ tools/glade/glade/glade_clipboard.h | 77 + tools/glade/glade/glade_gnome.c | 1032 +++ tools/glade/glade/glade_gnome.h | 111 + tools/glade/glade/glade_gnomedblib.c | 96 + tools/glade/glade/glade_gnomedblib.h | 36 + tools/glade/glade/glade_gnomelib.c | 127 + tools/glade/glade/glade_gnomelib.h | 37 + tools/glade/glade/glade_gtk12lib.c | 256 + tools/glade/glade/glade_gtk12lib.h | 34 + tools/glade/glade/glade_keys_dialog.c | 254 + tools/glade/glade/glade_keys_dialog.h | 86 + tools/glade/glade/glade_menu_editor.c | 3729 +++++++++++ tools/glade/glade/glade_menu_editor.h | 138 + tools/glade/glade/glade_palette.c | 544 ++ tools/glade/glade/glade_palette.h | 150 + tools/glade/glade/glade_plugin.c | 176 + tools/glade/glade/glade_plugin.h | 52 + tools/glade/glade/glade_project.c | 1992 ++++++ tools/glade/glade/glade_project.h | 373 ++ tools/glade/glade/glade_project_options.c | 1433 ++++ tools/glade/glade/glade_project_options.h | 142 + tools/glade/glade/glade_project_view.c | 311 + tools/glade/glade/glade_project_view.h | 85 + tools/glade/glade/glade_project_window.c | 2108 ++++++ tools/glade/glade/glade_project_window.h | 77 + tools/glade/glade/glade_widget_data.c | 408 ++ tools/glade/glade/glade_widget_data.h | 145 + tools/glade/glade/gladeconfig.h | 64 + tools/glade/glade/gnome-db/Makefile.am | 23 + tools/glade/glade/gnome-db/gnomedbcombo.c | 136 + tools/glade/glade/gnome-db/gnomedbconnectprop.c | 93 + tools/glade/glade/gnome-db/gnomedbdsnconfig.c | 147 + tools/glade/glade/gnome-db/gnomedbdsndruid.c | 161 + tools/glade/glade/gnome-db/gnomedbeditor.c | 188 + tools/glade/glade/gnome-db/gnomedberror.c | 148 + tools/glade/glade/gnome-db/gnomedberrordlg.c | 232 + tools/glade/glade/gnome-db/gnomedbform.c | 161 + tools/glade/glade/gnome-db/gnomedbgraybar.c | 149 + tools/glade/glade/gnome-db/gnomedbgrid.c | 144 + tools/glade/glade/gnome-db/gnomedblogin.c | 148 + tools/glade/glade/gnome-db/gnomedblogindlg.c | 234 + tools/glade/glade/gnome-db/gnomedbprovidersel.c | 161 + tools/glade/glade/gnome-db/gnomedbsourcesel.c | 161 + tools/glade/glade/gnome-db/gnomedbtableeditor.c | 144 + tools/glade/glade/gnome/Makefile.am | 33 + tools/glade/glade/gnome/bonobodock.c | 510 ++ tools/glade/glade/gnome/bonobodockitem.c | 786 +++ tools/glade/glade/gnome/gnomeabout.c | 554 ++ tools/glade/glade/gnome/gnomeapp.c | 461 ++ tools/glade/glade/gnome/gnomeappbar.c | 198 + tools/glade/glade/gnome/gnomecanvas.c | 263 + tools/glade/glade/gnome/gnomecolorpicker.c | 233 + tools/glade/glade/gnome/gnomecontrol.c | 757 +++ tools/glade/glade/gnome/gnomedateedit.c | 313 + tools/glade/glade/gnome/gnomedialog.c | 358 + tools/glade/glade/gnome/gnomedruid.c | 499 ++ tools/glade/glade/gnome/gnomedruidpageedge.c | 537 ++ tools/glade/glade/gnome/gnomedruidpagestandard.c | 463 ++ tools/glade/glade/gnome/gnomeentry.c | 225 + tools/glade/glade/gnome/gnomefileentry.c | 382 ++ tools/glade/glade/gnome/gnomefontpicker.c | 406 ++ tools/glade/glade/gnome/gnomehref.c | 220 + tools/glade/glade/gnome/gnomeiconentry.c | 222 + tools/glade/glade/gnome/gnomeiconlist.c | 475 ++ tools/glade/glade/gnome/gnomeiconselection.c | 168 + tools/glade/glade/gnome/gnomemessagebox.c | 515 ++ tools/glade/glade/gnome/gnomepixmap.c | 361 + tools/glade/glade/gnome/gnomepixmapentry.c | 319 + tools/glade/glade/gnome/gnomepropertybox.c | 383 ++ tools/glade/glade/graphics/aboutdialog.xpm | 34 + tools/glade/glade/graphics/accellabel.xpm | 26 + tools/glade/glade/graphics/alignment.xpm | 33 + tools/glade/glade/graphics/arrow.xpm | 32 + tools/glade/glade/graphics/aspectframe.xpm | 33 + tools/glade/glade/graphics/bonobo-dock-item.xpm | 29 + tools/glade/glade/graphics/bonobo-dock.xpm | 29 + tools/glade/glade/graphics/button.xpm | 29 + tools/glade/glade/graphics/calendar.xpm | 29 + tools/glade/glade/graphics/cellview.xpm | 27 + tools/glade/glade/graphics/checkbutton.xpm | 30 + tools/glade/glade/graphics/checkmenuitem.xpm | 28 + tools/glade/glade/graphics/clist.xpm | 28 + tools/glade/glade/graphics/colorbutton.xpm | 31 + tools/glade/glade/graphics/colorseldialog.xpm | 39 + tools/glade/glade/graphics/colorselection.xpm | 35 + tools/glade/glade/graphics/combo.xpm | 34 + tools/glade/glade/graphics/combobox.xpm | 33 + tools/glade/glade/graphics/comboboxentry.xpm | 34 + tools/glade/glade/graphics/ctree.xpm | 30 + tools/glade/glade/graphics/curve.xpm | 32 + tools/glade/glade/graphics/custom.xpm | 30 + tools/glade/glade/graphics/custom_bg.xpm | 15 + tools/glade/glade/graphics/dialog.xpm | 38 + tools/glade/glade/graphics/drawingarea.xpm | 33 + tools/glade/glade/graphics/entry.xpm | 33 + tools/glade/glade/graphics/eventbox.xpm | 34 + tools/glade/glade/graphics/expander.xpm | 27 + tools/glade/glade/graphics/filechooserbutton.xpm | 30 + tools/glade/glade/graphics/filechooserdialog.xpm | 34 + tools/glade/glade/graphics/filechooserwidget.xpm | 29 + tools/glade/glade/graphics/fileseldialog.xpm | 34 + tools/glade/glade/graphics/fixed.xpm | 29 + tools/glade/glade/graphics/fontbutton.xpm | 31 + tools/glade/glade/graphics/fontsel.xpm | 35 + tools/glade/glade/graphics/fontseldialog.xpm | 40 + tools/glade/glade/graphics/frame.xpm | 33 + tools/glade/glade/graphics/gammacurve.xpm | 33 + tools/glade/glade/graphics/glade-atk.xpm | 112 + tools/glade/glade/graphics/glade_logo.png | Bin 0 -> 11013 bytes tools/glade/glade/graphics/gnome-about.xpm | 34 + tools/glade/glade/graphics/gnome-animator.xpm | 32 + tools/glade/glade/graphics/gnome-app.xpm | 34 + tools/glade/glade/graphics/gnome-appbar.xpm | 29 + tools/glade/glade/graphics/gnome-calculator.xpm | 29 + tools/glade/glade/graphics/gnome-canvas.xpm | 31 + tools/glade/glade/graphics/gnome-colorpicker.xpm | 31 + tools/glade/glade/graphics/gnome-control.xpm | 30 + tools/glade/glade/graphics/gnome-dateedit.xpm | 29 + tools/glade/glade/graphics/gnome-db-browser.xpm | 29 + tools/glade/glade/graphics/gnome-db-combo.xpm | 29 + .../graphics/gnome-db-connection-properties.xpm | 94 + tools/glade/glade/graphics/gnome-db-connectsel.xpm | 30 + tools/glade/glade/graphics/gnome-db-dataset.xpm | 29 + tools/glade/glade/graphics/gnome-db-designer.xpm | 29 + tools/glade/glade/graphics/gnome-db-dsn-druid.xpm | 32 + tools/glade/glade/graphics/gnome-db-dsnconfig.xpm | 29 + tools/glade/glade/graphics/gnome-db-editor.xpm | 32 + tools/glade/glade/graphics/gnome-db-entry.xpm | 29 + tools/glade/glade/graphics/gnome-db-error-dlg.xpm | 35 + tools/glade/glade/graphics/gnome-db-error.xpm | 30 + tools/glade/glade/graphics/gnome-db-export.xpm | 29 + tools/glade/glade/graphics/gnome-db-form.xpm | 29 + tools/glade/glade/graphics/gnome-db-graybar.xpm | 29 + tools/glade/glade/graphics/gnome-db-grid.xpm | 29 + tools/glade/glade/graphics/gnome-db-iconlist.xpm | 29 + tools/glade/glade/graphics/gnome-db-label.xpm | 29 + tools/glade/glade/graphics/gnome-db-list.xpm | 29 + tools/glade/glade/graphics/gnome-db-log-viewer.xpm | 29 + tools/glade/glade/graphics/gnome-db-login-dlg.xpm | 35 + tools/glade/glade/graphics/gnome-db-login.xpm | 29 + .../glade/glade/graphics/gnome-db-provider-sel.xpm | 30 + .../glade/graphics/gnome-db-query-builder.xpm | 60 + tools/glade/glade/graphics/gnome-db-report.xpm | 29 + tools/glade/glade/graphics/gnome-db-sourcesel.xpm | 29 + tools/glade/glade/graphics/gnome-db-sql-editor.xpm | 29 + .../glade/glade/graphics/gnome-db-table-editor.xpm | 29 + tools/glade/glade/graphics/gnome-db-window.xpm | 29 + tools/glade/glade/graphics/gnome-dialog.xpm | 34 + tools/glade/glade/graphics/gnome-dock-band.xpm | 49 + tools/glade/glade/graphics/gnome-dock-item.xpm | 29 + tools/glade/glade/graphics/gnome-dock.xpm | 29 + .../glade/graphics/gnome-druid-page-finish.xpm | 29 + .../glade/graphics/gnome-druid-page-standard.xpm | 31 + .../glade/graphics/gnome-druid-page-start.xpm | 29 + tools/glade/glade/graphics/gnome-druid.xpm | 31 + tools/glade/glade/graphics/gnome-entry.xpm | 28 + tools/glade/glade/graphics/gnome-fileentry.xpm | 31 + tools/glade/glade/graphics/gnome-fontpicker.xpm | 31 + tools/glade/glade/graphics/gnome-href.xpm | 32 + tools/glade/glade/graphics/gnome-iconentry.xpm | 35 + tools/glade/glade/graphics/gnome-iconlist.xpm | 33 + tools/glade/glade/graphics/gnome-iconselection.xpm | 32 + tools/glade/glade/graphics/gnome-less.xpm | 30 + tools/glade/glade/graphics/gnome-messagebox.xpm | 34 + tools/glade/glade/graphics/gnome-numberentry.xpm | 30 + tools/glade/glade/graphics/gnome-papersel.xpm | 28 + tools/glade/glade/graphics/gnome-pixmap.xpm | 39 + tools/glade/glade/graphics/gnome-pixmapentry.xpm | 33 + .../glade/glade/graphics/gnome-print-papersel.xpm | 28 + tools/glade/glade/graphics/gnome-propertybox.xpm | 34 + tools/glade/glade/graphics/gnome-spell.xpm | 33 + tools/glade/glade/graphics/gnome-stock.xpm | 39 + tools/glade/glade/graphics/gtk-clock.xpm | 26 + tools/glade/glade/graphics/gtk-dial.xpm | 28 + tools/glade/glade/graphics/handlebox.xpm | 34 + tools/glade/glade/graphics/hbox.xpm | 29 + tools/glade/glade/graphics/hbuttonbox.xpm | 33 + tools/glade/glade/graphics/hpaned.xpm | 29 + tools/glade/glade/graphics/hruler.xpm | 30 + tools/glade/glade/graphics/hscale.xpm | 34 + tools/glade/glade/graphics/hscrollbar.xpm | 33 + tools/glade/glade/graphics/hseparator.xpm | 31 + tools/glade/glade/graphics/iconview.xpm | 33 + tools/glade/glade/graphics/image.xpm | 39 + tools/glade/glade/graphics/inputdialog.xpm | 39 + tools/glade/glade/graphics/label.xpm | 30 + tools/glade/glade/graphics/layout.xpm | 29 + tools/glade/glade/graphics/list.xpm | 31 + tools/glade/glade/graphics/listitem.xpm | 33 + tools/glade/glade/graphics/menubar.xpm | 30 + tools/glade/glade/graphics/menuitem.xpm | 26 + tools/glade/glade/graphics/menutoolbutton.xpm | 29 + tools/glade/glade/graphics/new.xpm | 116 + tools/glade/glade/graphics/notebook.xpm | 33 + tools/glade/glade/graphics/open.xpm | 32 + tools/glade/glade/graphics/optionmenu.xpm | 33 + tools/glade/glade/graphics/options.xpm | 140 + tools/glade/glade/graphics/packer.xpm | 33 + tools/glade/glade/graphics/pixmap.xpm | 39 + tools/glade/glade/graphics/placeholder.xpm | 16 + tools/glade/glade/graphics/popup.xpm | 32 + tools/glade/glade/graphics/popupmenu.xpm | 32 + tools/glade/glade/graphics/preview.xpm | 36 + tools/glade/glade/graphics/progressbar.xpm | 34 + tools/glade/glade/graphics/radiobutton.xpm | 28 + tools/glade/glade/graphics/radiomenuitem.xpm | 28 + tools/glade/glade/graphics/radiotoolbutton.xpm | 29 + tools/glade/glade/graphics/save.xpm | 91 + tools/glade/glade/graphics/scrolledwindow.xpm | 28 + tools/glade/glade/graphics/selector.xpm | 30 + tools/glade/glade/graphics/separatortoolitem.xpm | 29 + tools/glade/glade/graphics/source.xpm | 107 + tools/glade/glade/graphics/spinbutton.xpm | 33 + tools/glade/glade/graphics/statusbar.xpm | 34 + tools/glade/glade/graphics/table.xpm | 29 + tools/glade/glade/graphics/text.xpm | 30 + tools/glade/glade/graphics/togglebutton.xpm | 29 + tools/glade/glade/graphics/toggletoolbutton.xpm | 30 + tools/glade/glade/graphics/toolbar.xpm | 33 + tools/glade/glade/graphics/toolbutton.xpm | 29 + tools/glade/glade/graphics/toolitem.xpm | 29 + tools/glade/glade/graphics/tree.xpm | 34 + tools/glade/glade/graphics/treeitem.xpm | 35 + tools/glade/glade/graphics/unknown.xpm | 33 + tools/glade/glade/graphics/vbox.xpm | 29 + tools/glade/glade/graphics/vbuttonbox.xpm | 33 + tools/glade/glade/graphics/viewport.xpm | 34 + tools/glade/glade/graphics/vpaned.xpm | 29 + tools/glade/glade/graphics/vruler.xpm | 30 + tools/glade/glade/graphics/vscale.xpm | 34 + tools/glade/glade/graphics/vscrollbar.xpm | 33 + tools/glade/glade/graphics/vseparator.xpm | 31 + tools/glade/glade/graphics/window.xpm | 38 + tools/glade/glade/keys.c | 1375 ++++ tools/glade/glade/keys.h | 44 + tools/glade/glade/load.c | 603 ++ tools/glade/glade/load.h | 85 + tools/glade/glade/main.c | 608 ++ tools/glade/glade/named_icons.c | 1026 +++ tools/glade/glade/palette.c | 156 + tools/glade/glade/palette.h | 41 + tools/glade/glade/property.c | 5672 ++++++++++++++++ tools/glade/glade/property.h | 424 ++ tools/glade/glade/save.c | 1039 +++ tools/glade/glade/save.h | 156 + tools/glade/glade/source.c | 2818 ++++++++ tools/glade/glade/source.h | 113 + tools/glade/glade/source_os2.c | 116 + tools/glade/glade/source_os2.h | 33 + tools/glade/glade/styles.c | 208 + tools/glade/glade/styles.h | 85 + tools/glade/glade/tree.c | 471 ++ tools/glade/glade/tree.h | 70 + tools/glade/glade/utils.c | 2327 +++++++ tools/glade/glade/utils.h | 386 ++ tools/glade/intltool-extract.in | 861 +++ tools/glade/intltool-merge.in | 1451 +++++ tools/glade/intltool-update.in | 1164 ++++ tools/glade/mkinstalldirs | 161 + tools/glade/omf-install/Makefile.am | 33 + tools/glade/omf-install/glade-faq-C.omf | 15 + tools/glade/omf-install/glade-faq-ro.omf | 14 + tools/glade/omf-install/glade-user-guide-C.omf | 18 + tools/glade/po/ChangeLog | 824 +++ tools/glade/po/LINGUAS | 50 + tools/glade/po/Makefile.in.in | 218 + tools/glade/po/POTFILES.in | 157 + tools/glade/po/POTFILES.skip | 32 + tools/glade/po/am.po | 5713 ++++++++++++++++ tools/glade/po/ar.po | 6668 +++++++++++++++++++ tools/glade/po/az.po | 5912 +++++++++++++++++ tools/glade/po/be.po | 5895 +++++++++++++++++ tools/glade/po/ca.po | 5923 +++++++++++++++++ tools/glade/po/cs.po | 5864 +++++++++++++++++ tools/glade/po/da.po | 5920 +++++++++++++++++ tools/glade/po/de.po | 5950 +++++++++++++++++ tools/glade/po/dz.po | 6063 +++++++++++++++++ tools/glade/po/el.po | 6008 +++++++++++++++++ tools/glade/po/en_CA.po | 5808 +++++++++++++++++ tools/glade/po/en_GB.po | 6062 +++++++++++++++++ tools/glade/po/es.po | 5938 +++++++++++++++++ tools/glade/po/et.po | 4063 ++++++++++++ tools/glade/po/fi.po | 5732 ++++++++++++++++ tools/glade/po/fr.po | 5982 +++++++++++++++++ tools/glade/po/ga.po | 5691 ++++++++++++++++ tools/glade/po/gl.po | 5849 +++++++++++++++++ tools/glade/po/hr.po | 5848 +++++++++++++++++ tools/glade/po/hu.po | 5880 +++++++++++++++++ tools/glade/po/it.po | 5857 +++++++++++++++++ tools/glade/po/ja.po | 5817 +++++++++++++++++ tools/glade/po/ko.po | 6006 +++++++++++++++++ tools/glade/po/lv.po | 5751 ++++++++++++++++ tools/glade/po/mk.po | 6451 ++++++++++++++++++ tools/glade/po/ml.po | 5707 ++++++++++++++++ tools/glade/po/ms.po | 5895 +++++++++++++++++ tools/glade/po/nb.po | 5816 +++++++++++++++++ tools/glade/po/ne.po | 5805 +++++++++++++++++ tools/glade/po/nl.po | 5871 +++++++++++++++++ tools/glade/po/nn.po | 6484 ++++++++++++++++++ tools/glade/po/oc.po | 5719 ++++++++++++++++ tools/glade/po/pa.po | 5714 ++++++++++++++++ tools/glade/po/pl.po | 5896 +++++++++++++++++ tools/glade/po/pt.po | 5864 +++++++++++++++++ tools/glade/po/pt_BR.po | 5838 +++++++++++++++++ tools/glade/po/ro.po | 5999 +++++++++++++++++ tools/glade/po/ru.po | 5860 +++++++++++++++++ tools/glade/po/rw.po | 6871 +++++++++++++++++++ tools/glade/po/sk.po | 5887 +++++++++++++++++ tools/glade/po/sq.po | 6661 +++++++++++++++++++ tools/glade/po/sr.po | 5850 +++++++++++++++++ tools/glade/po/sr@Latn.po | 5852 +++++++++++++++++ tools/glade/po/sv.po | 6424 ++++++++++++++++++ tools/glade/po/tr.po | 5898 +++++++++++++++++ tools/glade/po/uk.po | 5919 +++++++++++++++++ tools/glade/po/vi.po | 6105 +++++++++++++++++ tools/glade/po/yi.po | 5698 ++++++++++++++++ tools/glade/po/zh_CN.po | 6891 ++++++++++++++++++++ tools/glade/po/zh_TW.po | 6735 +++++++++++++++++++ 491 files changed, 416040 insertions(+) create mode 100644 tools/glade/ABOUT-NLS create mode 100644 tools/glade/AUTHORS create mode 100644 tools/glade/COPYING create mode 100644 tools/glade/ChangeLog create mode 100644 tools/glade/FAQ create mode 100644 tools/glade/INSTALL create mode 100644 tools/glade/Makefile.am create mode 100644 tools/glade/NEWS create mode 100644 tools/glade/README create mode 100644 tools/glade/TODO create mode 100644 tools/glade/configure.in create mode 100644 tools/glade/doc/C/Makefile.am create mode 100644 tools/glade/doc/C/glade-faq/Makefile.am create mode 100644 tools/glade/doc/C/glade-faq/glade-faq-C.omf create mode 100644 tools/glade/doc/C/glade-faq/glade-faq.xml create mode 100644 tools/glade/doc/C/glade-faq/legal.xml create mode 100644 tools/glade/doc/C/glade-user-guide/Makefile.am create mode 100644 tools/glade/doc/C/glade-user-guide/figures/edit-menu.png create mode 100644 tools/glade/doc/C/glade-user-guide/figures/file-menu.png create mode 100755 tools/glade/doc/C/glade-user-guide/figures/glade-windows.png create mode 100644 tools/glade/doc/C/glade-user-guide/figures/grid-options.png create mode 100644 tools/glade/doc/C/glade-user-guide/figures/help-menu.png create mode 100644 tools/glade/doc/C/glade-user-guide/figures/menu.png create mode 100644 tools/glade/doc/C/glade-user-guide/figures/options-c.png create mode 100644 tools/glade/doc/C/glade-user-guide/figures/options-general.png create mode 100644 tools/glade/doc/C/glade-user-guide/figures/options-libglade.png create mode 100644 tools/glade/doc/C/glade-user-guide/figures/settings-menu.png create mode 100644 tools/glade/doc/C/glade-user-guide/figures/snap-options.png create mode 100644 tools/glade/doc/C/glade-user-guide/figures/toolbar.png create mode 100644 tools/glade/doc/C/glade-user-guide/figures/view-menu.png create mode 100644 tools/glade/doc/C/glade-user-guide/figures/window-main.png create mode 100644 tools/glade/doc/C/glade-user-guide/figures/window-palette-add.png create mode 100644 tools/glade/doc/C/glade-user-guide/figures/window-palette-basic.png create mode 100644 tools/glade/doc/C/glade-user-guide/figures/window-palette-gnome.png create mode 100644 tools/glade/doc/C/glade-user-guide/glade-user-guide-C.omf create mode 100644 tools/glade/doc/C/glade-user-guide/glade-user-guide.xml create mode 100644 tools/glade/doc/C/glade-user-guide/legal.xml create mode 100644 tools/glade/doc/Makefile.am create mode 100644 tools/glade/doc/ro/Makefile.am create mode 100644 tools/glade/doc/ro/glade-faq/Makefile.am create mode 100644 tools/glade/doc/ro/glade-faq/glade-faq-ro.omf create mode 100644 tools/glade/doc/ro/glade-faq/glade-faq.xml create mode 100644 tools/glade/doc/ro/glade-faq/legal.xml create mode 100644 tools/glade/doc/xmldocs.make create mode 100644 tools/glade/examples/editor/AUTHORS create mode 100644 tools/glade/examples/editor/ChangeLog create mode 100644 tools/glade/examples/editor/Makefile.am create mode 100644 tools/glade/examples/editor/NEWS create mode 100644 tools/glade/examples/editor/README create mode 100644 tools/glade/examples/editor/acconfig.h create mode 100755 tools/glade/examples/editor/autogen.sh create mode 100644 tools/glade/examples/editor/configure.in create mode 100644 tools/glade/examples/editor/editor.glade create mode 100644 tools/glade/examples/editor/editor.gladep create mode 100644 tools/glade/examples/editor/po/ChangeLog create mode 100644 tools/glade/examples/editor/po/POTFILES.in create mode 100644 tools/glade/examples/editor/src/Makefile.am create mode 100644 tools/glade/examples/editor/src/callbacks.c create mode 100644 tools/glade/examples/editor/src/callbacks.h create mode 100644 tools/glade/examples/editor/src/interface.c create mode 100644 tools/glade/examples/editor/src/interface.h create mode 100644 tools/glade/examples/editor/src/main.c create mode 100644 tools/glade/examples/editor/src/support.c create mode 100644 tools/glade/examples/editor/src/support.h create mode 100644 tools/glade/glade-2.desktop.in create mode 100644 tools/glade/glade-2.png create mode 100644 tools/glade/glade.spec.in create mode 100644 tools/glade/glade/Makefile.am create mode 100644 tools/glade/glade/data/Makefile.am create mode 100644 tools/glade/glade/data/gtk/Makefile.am create mode 100644 tools/glade/glade/data/gtk/autogen.sh create mode 100644 tools/glade/glade/debug.c create mode 100644 tools/glade/glade/debug.h create mode 100644 tools/glade/glade/editor.c create mode 100644 tools/glade/glade/editor.h create mode 100644 tools/glade/glade/gb.c create mode 100644 tools/glade/glade/gb.h create mode 100644 tools/glade/glade/gbsource.c create mode 100644 tools/glade/glade/gbsource.h create mode 100644 tools/glade/glade/gbwidget.c create mode 100644 tools/glade/glade/gbwidget.h create mode 100644 tools/glade/glade/gbwidgets/Makefile.am create mode 100644 tools/glade/glade/gbwidgets/gbaboutdialog.c create mode 100644 tools/glade/glade/gbwidgets/gbaccellabel.c create mode 100644 tools/glade/glade/gbwidgets/gbalignment.c create mode 100644 tools/glade/glade/gbwidgets/gbarrow.c create mode 100644 tools/glade/glade/gbwidgets/gbaspectframe.c create mode 100644 tools/glade/glade/gbwidgets/gbbutton.c create mode 100644 tools/glade/glade/gbwidgets/gbcalendar.c create mode 100644 tools/glade/glade/gbwidgets/gbcellview.c create mode 100644 tools/glade/glade/gbwidgets/gbcheckbutton.c create mode 100644 tools/glade/glade/gbwidgets/gbcheckmenuitem.c create mode 100644 tools/glade/glade/gbwidgets/gbclist.c create mode 100644 tools/glade/glade/gbwidgets/gbcolorbutton.c create mode 100644 tools/glade/glade/gbwidgets/gbcolorselection.c create mode 100644 tools/glade/glade/gbwidgets/gbcolorselectiondialog.c create mode 100644 tools/glade/glade/gbwidgets/gbcombo.c create mode 100644 tools/glade/glade/gbwidgets/gbcombobox.c create mode 100644 tools/glade/glade/gbwidgets/gbcomboboxentry.c create mode 100644 tools/glade/glade/gbwidgets/gbctree.c create mode 100644 tools/glade/glade/gbwidgets/gbcurve.c create mode 100644 tools/glade/glade/gbwidgets/gbcustom.c create mode 100644 tools/glade/glade/gbwidgets/gbdialog.c create mode 100644 tools/glade/glade/gbwidgets/gbdrawingarea.c create mode 100644 tools/glade/glade/gbwidgets/gbentry.c create mode 100644 tools/glade/glade/gbwidgets/gbeventbox.c create mode 100644 tools/glade/glade/gbwidgets/gbexpander.c create mode 100644 tools/glade/glade/gbwidgets/gbfilechooserbutton.c create mode 100644 tools/glade/glade/gbwidgets/gbfilechooserdialog.c create mode 100644 tools/glade/glade/gbwidgets/gbfilechooserwidget.c create mode 100644 tools/glade/glade/gbwidgets/gbfileselection.c create mode 100644 tools/glade/glade/gbwidgets/gbfixed.c create mode 100644 tools/glade/glade/gbwidgets/gbfontbutton.c create mode 100644 tools/glade/glade/gbwidgets/gbfontselection.c create mode 100644 tools/glade/glade/gbwidgets/gbfontselectiondialog.c create mode 100644 tools/glade/glade/gbwidgets/gbframe.c create mode 100644 tools/glade/glade/gbwidgets/gbgammacurve.c create mode 100644 tools/glade/glade/gbwidgets/gbhandlebox.c create mode 100644 tools/glade/glade/gbwidgets/gbhbox.c create mode 100644 tools/glade/glade/gbwidgets/gbhbuttonbox.c create mode 100644 tools/glade/glade/gbwidgets/gbhpaned.c create mode 100644 tools/glade/glade/gbwidgets/gbhruler.c create mode 100644 tools/glade/glade/gbwidgets/gbhscale.c create mode 100644 tools/glade/glade/gbwidgets/gbhscrollbar.c create mode 100644 tools/glade/glade/gbwidgets/gbhseparator.c create mode 100644 tools/glade/glade/gbwidgets/gbiconview.c create mode 100644 tools/glade/glade/gbwidgets/gbimage.c create mode 100644 tools/glade/glade/gbwidgets/gbimagemenuitem.c create mode 100644 tools/glade/glade/gbwidgets/gbinputdialog.c create mode 100644 tools/glade/glade/gbwidgets/gblabel.c create mode 100644 tools/glade/glade/gbwidgets/gblayout.c create mode 100644 tools/glade/glade/gbwidgets/gblist.c create mode 100644 tools/glade/glade/gbwidgets/gblistitem.c create mode 100644 tools/glade/glade/gbwidgets/gbmenu.c create mode 100644 tools/glade/glade/gbwidgets/gbmenubar.c create mode 100644 tools/glade/glade/gbwidgets/gbmenuitem.c create mode 100644 tools/glade/glade/gbwidgets/gbmenutoolbutton.c create mode 100644 tools/glade/glade/gbwidgets/gbnotebook.c create mode 100644 tools/glade/glade/gbwidgets/gboptionmenu.c create mode 100644 tools/glade/glade/gbwidgets/gbpreview.c create mode 100644 tools/glade/glade/gbwidgets/gbprogressbar.c create mode 100644 tools/glade/glade/gbwidgets/gbradiobutton.c create mode 100644 tools/glade/glade/gbwidgets/gbradiomenuitem.c create mode 100644 tools/glade/glade/gbwidgets/gbradiotoolbutton.c create mode 100644 tools/glade/glade/gbwidgets/gbscrolledwindow.c create mode 100644 tools/glade/glade/gbwidgets/gbseparatormenuitem.c create mode 100644 tools/glade/glade/gbwidgets/gbseparatortoolitem.c create mode 100644 tools/glade/glade/gbwidgets/gbspinbutton.c create mode 100644 tools/glade/glade/gbwidgets/gbstatusbar.c create mode 100644 tools/glade/glade/gbwidgets/gbtable.c create mode 100644 tools/glade/glade/gbwidgets/gbtextview.c create mode 100644 tools/glade/glade/gbwidgets/gbtogglebutton.c create mode 100644 tools/glade/glade/gbwidgets/gbtoggletoolbutton.c create mode 100644 tools/glade/glade/gbwidgets/gbtoolbar.c create mode 100644 tools/glade/glade/gbwidgets/gbtoolbutton.c create mode 100644 tools/glade/glade/gbwidgets/gbtoolitem.c create mode 100644 tools/glade/glade/gbwidgets/gbtreeview.c create mode 100644 tools/glade/glade/gbwidgets/gbvbox.c create mode 100644 tools/glade/glade/gbwidgets/gbvbuttonbox.c create mode 100644 tools/glade/glade/gbwidgets/gbviewport.c create mode 100644 tools/glade/glade/gbwidgets/gbvpaned.c create mode 100644 tools/glade/glade/gbwidgets/gbvruler.c create mode 100644 tools/glade/glade/gbwidgets/gbvscale.c create mode 100644 tools/glade/glade/gbwidgets/gbvscrollbar.c create mode 100644 tools/glade/glade/gbwidgets/gbvseparator.c create mode 100644 tools/glade/glade/gbwidgets/gbwindow.c create mode 100644 tools/glade/glade/glade-parser.c create mode 100644 tools/glade/glade/glade-parser.h create mode 100644 tools/glade/glade/glade.c create mode 100644 tools/glade/glade/glade.h create mode 100644 tools/glade/glade/glade_atk.c create mode 100644 tools/glade/glade/glade_atk.h create mode 100644 tools/glade/glade/glade_clipboard.c create mode 100644 tools/glade/glade/glade_clipboard.h create mode 100644 tools/glade/glade/glade_gnome.c create mode 100644 tools/glade/glade/glade_gnome.h create mode 100644 tools/glade/glade/glade_gnomedblib.c create mode 100644 tools/glade/glade/glade_gnomedblib.h create mode 100644 tools/glade/glade/glade_gnomelib.c create mode 100644 tools/glade/glade/glade_gnomelib.h create mode 100644 tools/glade/glade/glade_gtk12lib.c create mode 100644 tools/glade/glade/glade_gtk12lib.h create mode 100644 tools/glade/glade/glade_keys_dialog.c create mode 100644 tools/glade/glade/glade_keys_dialog.h create mode 100644 tools/glade/glade/glade_menu_editor.c create mode 100644 tools/glade/glade/glade_menu_editor.h create mode 100644 tools/glade/glade/glade_palette.c create mode 100644 tools/glade/glade/glade_palette.h create mode 100644 tools/glade/glade/glade_plugin.c create mode 100644 tools/glade/glade/glade_plugin.h create mode 100644 tools/glade/glade/glade_project.c create mode 100644 tools/glade/glade/glade_project.h create mode 100644 tools/glade/glade/glade_project_options.c create mode 100644 tools/glade/glade/glade_project_options.h create mode 100644 tools/glade/glade/glade_project_view.c create mode 100644 tools/glade/glade/glade_project_view.h create mode 100644 tools/glade/glade/glade_project_window.c create mode 100644 tools/glade/glade/glade_project_window.h create mode 100644 tools/glade/glade/glade_widget_data.c create mode 100644 tools/glade/glade/glade_widget_data.h create mode 100644 tools/glade/glade/gladeconfig.h create mode 100644 tools/glade/glade/gnome-db/Makefile.am create mode 100644 tools/glade/glade/gnome-db/gnomedbcombo.c create mode 100644 tools/glade/glade/gnome-db/gnomedbconnectprop.c create mode 100644 tools/glade/glade/gnome-db/gnomedbdsnconfig.c create mode 100644 tools/glade/glade/gnome-db/gnomedbdsndruid.c create mode 100644 tools/glade/glade/gnome-db/gnomedbeditor.c create mode 100644 tools/glade/glade/gnome-db/gnomedberror.c create mode 100644 tools/glade/glade/gnome-db/gnomedberrordlg.c create mode 100644 tools/glade/glade/gnome-db/gnomedbform.c create mode 100644 tools/glade/glade/gnome-db/gnomedbgraybar.c create mode 100644 tools/glade/glade/gnome-db/gnomedbgrid.c create mode 100644 tools/glade/glade/gnome-db/gnomedblogin.c create mode 100644 tools/glade/glade/gnome-db/gnomedblogindlg.c create mode 100644 tools/glade/glade/gnome-db/gnomedbprovidersel.c create mode 100644 tools/glade/glade/gnome-db/gnomedbsourcesel.c create mode 100644 tools/glade/glade/gnome-db/gnomedbtableeditor.c create mode 100644 tools/glade/glade/gnome/Makefile.am create mode 100644 tools/glade/glade/gnome/bonobodock.c create mode 100644 tools/glade/glade/gnome/bonobodockitem.c create mode 100644 tools/glade/glade/gnome/gnomeabout.c create mode 100644 tools/glade/glade/gnome/gnomeapp.c create mode 100644 tools/glade/glade/gnome/gnomeappbar.c create mode 100644 tools/glade/glade/gnome/gnomecanvas.c create mode 100644 tools/glade/glade/gnome/gnomecolorpicker.c create mode 100644 tools/glade/glade/gnome/gnomecontrol.c create mode 100644 tools/glade/glade/gnome/gnomedateedit.c create mode 100644 tools/glade/glade/gnome/gnomedialog.c create mode 100644 tools/glade/glade/gnome/gnomedruid.c create mode 100644 tools/glade/glade/gnome/gnomedruidpageedge.c create mode 100644 tools/glade/glade/gnome/gnomedruidpagestandard.c create mode 100644 tools/glade/glade/gnome/gnomeentry.c create mode 100644 tools/glade/glade/gnome/gnomefileentry.c create mode 100644 tools/glade/glade/gnome/gnomefontpicker.c create mode 100644 tools/glade/glade/gnome/gnomehref.c create mode 100644 tools/glade/glade/gnome/gnomeiconentry.c create mode 100644 tools/glade/glade/gnome/gnomeiconlist.c create mode 100644 tools/glade/glade/gnome/gnomeiconselection.c create mode 100644 tools/glade/glade/gnome/gnomemessagebox.c create mode 100644 tools/glade/glade/gnome/gnomepixmap.c create mode 100644 tools/glade/glade/gnome/gnomepixmapentry.c create mode 100644 tools/glade/glade/gnome/gnomepropertybox.c create mode 100644 tools/glade/glade/graphics/aboutdialog.xpm create mode 100644 tools/glade/glade/graphics/accellabel.xpm create mode 100644 tools/glade/glade/graphics/alignment.xpm create mode 100644 tools/glade/glade/graphics/arrow.xpm create mode 100644 tools/glade/glade/graphics/aspectframe.xpm create mode 100644 tools/glade/glade/graphics/bonobo-dock-item.xpm create mode 100644 tools/glade/glade/graphics/bonobo-dock.xpm create mode 100644 tools/glade/glade/graphics/button.xpm create mode 100644 tools/glade/glade/graphics/calendar.xpm create mode 100644 tools/glade/glade/graphics/cellview.xpm create mode 100644 tools/glade/glade/graphics/checkbutton.xpm create mode 100644 tools/glade/glade/graphics/checkmenuitem.xpm create mode 100644 tools/glade/glade/graphics/clist.xpm create mode 100644 tools/glade/glade/graphics/colorbutton.xpm create mode 100644 tools/glade/glade/graphics/colorseldialog.xpm create mode 100644 tools/glade/glade/graphics/colorselection.xpm create mode 100644 tools/glade/glade/graphics/combo.xpm create mode 100644 tools/glade/glade/graphics/combobox.xpm create mode 100644 tools/glade/glade/graphics/comboboxentry.xpm create mode 100644 tools/glade/glade/graphics/ctree.xpm create mode 100644 tools/glade/glade/graphics/curve.xpm create mode 100644 tools/glade/glade/graphics/custom.xpm create mode 100644 tools/glade/glade/graphics/custom_bg.xpm create mode 100644 tools/glade/glade/graphics/dialog.xpm create mode 100644 tools/glade/glade/graphics/drawingarea.xpm create mode 100644 tools/glade/glade/graphics/entry.xpm create mode 100644 tools/glade/glade/graphics/eventbox.xpm create mode 100644 tools/glade/glade/graphics/expander.xpm create mode 100644 tools/glade/glade/graphics/filechooserbutton.xpm create mode 100644 tools/glade/glade/graphics/filechooserdialog.xpm create mode 100644 tools/glade/glade/graphics/filechooserwidget.xpm create mode 100644 tools/glade/glade/graphics/fileseldialog.xpm create mode 100644 tools/glade/glade/graphics/fixed.xpm create mode 100644 tools/glade/glade/graphics/fontbutton.xpm create mode 100644 tools/glade/glade/graphics/fontsel.xpm create mode 100644 tools/glade/glade/graphics/fontseldialog.xpm create mode 100644 tools/glade/glade/graphics/frame.xpm create mode 100644 tools/glade/glade/graphics/gammacurve.xpm create mode 100644 tools/glade/glade/graphics/glade-atk.xpm create mode 100644 tools/glade/glade/graphics/glade_logo.png create mode 100644 tools/glade/glade/graphics/gnome-about.xpm create mode 100644 tools/glade/glade/graphics/gnome-animator.xpm create mode 100644 tools/glade/glade/graphics/gnome-app.xpm create mode 100644 tools/glade/glade/graphics/gnome-appbar.xpm create mode 100644 tools/glade/glade/graphics/gnome-calculator.xpm create mode 100644 tools/glade/glade/graphics/gnome-canvas.xpm create mode 100644 tools/glade/glade/graphics/gnome-colorpicker.xpm create mode 100644 tools/glade/glade/graphics/gnome-control.xpm create mode 100644 tools/glade/glade/graphics/gnome-dateedit.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-browser.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-combo.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-connection-properties.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-connectsel.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-dataset.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-designer.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-dsn-druid.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-dsnconfig.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-editor.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-entry.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-error-dlg.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-error.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-export.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-form.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-graybar.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-grid.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-iconlist.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-label.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-list.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-log-viewer.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-login-dlg.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-login.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-provider-sel.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-query-builder.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-report.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-sourcesel.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-sql-editor.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-table-editor.xpm create mode 100644 tools/glade/glade/graphics/gnome-db-window.xpm create mode 100644 tools/glade/glade/graphics/gnome-dialog.xpm create mode 100644 tools/glade/glade/graphics/gnome-dock-band.xpm create mode 100644 tools/glade/glade/graphics/gnome-dock-item.xpm create mode 100644 tools/glade/glade/graphics/gnome-dock.xpm create mode 100644 tools/glade/glade/graphics/gnome-druid-page-finish.xpm create mode 100644 tools/glade/glade/graphics/gnome-druid-page-standard.xpm create mode 100644 tools/glade/glade/graphics/gnome-druid-page-start.xpm create mode 100644 tools/glade/glade/graphics/gnome-druid.xpm create mode 100644 tools/glade/glade/graphics/gnome-entry.xpm create mode 100644 tools/glade/glade/graphics/gnome-fileentry.xpm create mode 100644 tools/glade/glade/graphics/gnome-fontpicker.xpm create mode 100644 tools/glade/glade/graphics/gnome-href.xpm create mode 100644 tools/glade/glade/graphics/gnome-iconentry.xpm create mode 100644 tools/glade/glade/graphics/gnome-iconlist.xpm create mode 100644 tools/glade/glade/graphics/gnome-iconselection.xpm create mode 100644 tools/glade/glade/graphics/gnome-less.xpm create mode 100644 tools/glade/glade/graphics/gnome-messagebox.xpm create mode 100644 tools/glade/glade/graphics/gnome-numberentry.xpm create mode 100644 tools/glade/glade/graphics/gnome-papersel.xpm create mode 100644 tools/glade/glade/graphics/gnome-pixmap.xpm create mode 100644 tools/glade/glade/graphics/gnome-pixmapentry.xpm create mode 100644 tools/glade/glade/graphics/gnome-print-papersel.xpm create mode 100644 tools/glade/glade/graphics/gnome-propertybox.xpm create mode 100644 tools/glade/glade/graphics/gnome-spell.xpm create mode 100644 tools/glade/glade/graphics/gnome-stock.xpm create mode 100644 tools/glade/glade/graphics/gtk-clock.xpm create mode 100644 tools/glade/glade/graphics/gtk-dial.xpm create mode 100644 tools/glade/glade/graphics/handlebox.xpm create mode 100644 tools/glade/glade/graphics/hbox.xpm create mode 100644 tools/glade/glade/graphics/hbuttonbox.xpm create mode 100644 tools/glade/glade/graphics/hpaned.xpm create mode 100644 tools/glade/glade/graphics/hruler.xpm create mode 100644 tools/glade/glade/graphics/hscale.xpm create mode 100644 tools/glade/glade/graphics/hscrollbar.xpm create mode 100644 tools/glade/glade/graphics/hseparator.xpm create mode 100644 tools/glade/glade/graphics/iconview.xpm create mode 100644 tools/glade/glade/graphics/image.xpm create mode 100644 tools/glade/glade/graphics/inputdialog.xpm create mode 100644 tools/glade/glade/graphics/label.xpm create mode 100644 tools/glade/glade/graphics/layout.xpm create mode 100644 tools/glade/glade/graphics/list.xpm create mode 100644 tools/glade/glade/graphics/listitem.xpm create mode 100644 tools/glade/glade/graphics/menubar.xpm create mode 100644 tools/glade/glade/graphics/menuitem.xpm create mode 100644 tools/glade/glade/graphics/menutoolbutton.xpm create mode 100644 tools/glade/glade/graphics/new.xpm create mode 100644 tools/glade/glade/graphics/notebook.xpm create mode 100644 tools/glade/glade/graphics/open.xpm create mode 100644 tools/glade/glade/graphics/optionmenu.xpm create mode 100644 tools/glade/glade/graphics/options.xpm create mode 100644 tools/glade/glade/graphics/packer.xpm create mode 100644 tools/glade/glade/graphics/pixmap.xpm create mode 100644 tools/glade/glade/graphics/placeholder.xpm create mode 100644 tools/glade/glade/graphics/popup.xpm create mode 100644 tools/glade/glade/graphics/popupmenu.xpm create mode 100644 tools/glade/glade/graphics/preview.xpm create mode 100644 tools/glade/glade/graphics/progressbar.xpm create mode 100644 tools/glade/glade/graphics/radiobutton.xpm create mode 100644 tools/glade/glade/graphics/radiomenuitem.xpm create mode 100644 tools/glade/glade/graphics/radiotoolbutton.xpm create mode 100644 tools/glade/glade/graphics/save.xpm create mode 100644 tools/glade/glade/graphics/scrolledwindow.xpm create mode 100644 tools/glade/glade/graphics/selector.xpm create mode 100644 tools/glade/glade/graphics/separatortoolitem.xpm create mode 100644 tools/glade/glade/graphics/source.xpm create mode 100644 tools/glade/glade/graphics/spinbutton.xpm create mode 100644 tools/glade/glade/graphics/statusbar.xpm create mode 100644 tools/glade/glade/graphics/table.xpm create mode 100644 tools/glade/glade/graphics/text.xpm create mode 100644 tools/glade/glade/graphics/togglebutton.xpm create mode 100644 tools/glade/glade/graphics/toggletoolbutton.xpm create mode 100644 tools/glade/glade/graphics/toolbar.xpm create mode 100644 tools/glade/glade/graphics/toolbutton.xpm create mode 100644 tools/glade/glade/graphics/toolitem.xpm create mode 100644 tools/glade/glade/graphics/tree.xpm create mode 100644 tools/glade/glade/graphics/treeitem.xpm create mode 100644 tools/glade/glade/graphics/unknown.xpm create mode 100644 tools/glade/glade/graphics/vbox.xpm create mode 100644 tools/glade/glade/graphics/vbuttonbox.xpm create mode 100644 tools/glade/glade/graphics/viewport.xpm create mode 100644 tools/glade/glade/graphics/vpaned.xpm create mode 100644 tools/glade/glade/graphics/vruler.xpm create mode 100644 tools/glade/glade/graphics/vscale.xpm create mode 100644 tools/glade/glade/graphics/vscrollbar.xpm create mode 100644 tools/glade/glade/graphics/vseparator.xpm create mode 100644 tools/glade/glade/graphics/window.xpm create mode 100644 tools/glade/glade/keys.c create mode 100644 tools/glade/glade/keys.h create mode 100644 tools/glade/glade/load.c create mode 100644 tools/glade/glade/load.h create mode 100644 tools/glade/glade/main.c create mode 100644 tools/glade/glade/named_icons.c create mode 100644 tools/glade/glade/palette.c create mode 100644 tools/glade/glade/palette.h create mode 100644 tools/glade/glade/property.c create mode 100644 tools/glade/glade/property.h create mode 100644 tools/glade/glade/save.c create mode 100644 tools/glade/glade/save.h create mode 100644 tools/glade/glade/source.c create mode 100644 tools/glade/glade/source.h create mode 100644 tools/glade/glade/source_os2.c create mode 100644 tools/glade/glade/source_os2.h create mode 100644 tools/glade/glade/styles.c create mode 100644 tools/glade/glade/styles.h create mode 100644 tools/glade/glade/tree.c create mode 100644 tools/glade/glade/tree.h create mode 100644 tools/glade/glade/utils.c create mode 100644 tools/glade/glade/utils.h create mode 100644 tools/glade/intltool-extract.in create mode 100644 tools/glade/intltool-merge.in create mode 100644 tools/glade/intltool-update.in create mode 100755 tools/glade/mkinstalldirs create mode 100644 tools/glade/omf-install/Makefile.am create mode 100644 tools/glade/omf-install/glade-faq-C.omf create mode 100644 tools/glade/omf-install/glade-faq-ro.omf create mode 100644 tools/glade/omf-install/glade-user-guide-C.omf create mode 100644 tools/glade/po/ChangeLog create mode 100644 tools/glade/po/LINGUAS create mode 100644 tools/glade/po/Makefile.in.in create mode 100644 tools/glade/po/POTFILES.in create mode 100644 tools/glade/po/POTFILES.skip create mode 100644 tools/glade/po/am.po create mode 100644 tools/glade/po/ar.po create mode 100644 tools/glade/po/az.po create mode 100644 tools/glade/po/be.po create mode 100644 tools/glade/po/ca.po create mode 100644 tools/glade/po/cs.po create mode 100644 tools/glade/po/da.po create mode 100644 tools/glade/po/de.po create mode 100644 tools/glade/po/dz.po create mode 100644 tools/glade/po/el.po create mode 100644 tools/glade/po/en_CA.po create mode 100644 tools/glade/po/en_GB.po create mode 100644 tools/glade/po/es.po create mode 100644 tools/glade/po/et.po create mode 100644 tools/glade/po/fi.po create mode 100644 tools/glade/po/fr.po create mode 100644 tools/glade/po/ga.po create mode 100644 tools/glade/po/gl.po create mode 100644 tools/glade/po/hr.po create mode 100644 tools/glade/po/hu.po create mode 100644 tools/glade/po/it.po create mode 100644 tools/glade/po/ja.po create mode 100644 tools/glade/po/ko.po create mode 100644 tools/glade/po/lv.po create mode 100644 tools/glade/po/mk.po create mode 100644 tools/glade/po/ml.po create mode 100644 tools/glade/po/ms.po create mode 100644 tools/glade/po/nb.po create mode 100644 tools/glade/po/ne.po create mode 100644 tools/glade/po/nl.po create mode 100644 tools/glade/po/nn.po create mode 100644 tools/glade/po/oc.po create mode 100644 tools/glade/po/pa.po create mode 100644 tools/glade/po/pl.po create mode 100644 tools/glade/po/pt.po create mode 100644 tools/glade/po/pt_BR.po create mode 100644 tools/glade/po/ro.po create mode 100644 tools/glade/po/ru.po create mode 100644 tools/glade/po/rw.po create mode 100644 tools/glade/po/sk.po create mode 100644 tools/glade/po/sq.po create mode 100644 tools/glade/po/sr.po create mode 100644 tools/glade/po/sr@Latn.po create mode 100644 tools/glade/po/sv.po create mode 100644 tools/glade/po/tr.po create mode 100644 tools/glade/po/uk.po create mode 100644 tools/glade/po/vi.po create mode 100644 tools/glade/po/yi.po create mode 100644 tools/glade/po/zh_CN.po create mode 100644 tools/glade/po/zh_TW.po (limited to 'tools') diff --git a/tools/glade/ABOUT-NLS b/tools/glade/ABOUT-NLS new file mode 100644 index 00000000..7e6b3809 --- /dev/null +++ b/tools/glade/ABOUT-NLS @@ -0,0 +1,296 @@ +Notes on the Free Translation Project +************************************* + + Free software is going international! The Free Translation Project +is a way to get maintainers of free software, translators, and users all +together, so that will gradually become able to speak many languages. +A few packages already provide translations for their messages. + + If you found this `ABOUT-NLS' file inside a distribution, you may +assume that the distributed package does use GNU `gettext' internally, +itself available at your nearest GNU archive site. But you do _not_ +need to install GNU `gettext' prior to configuring, installing or using +this package with messages translated. + + Installers will find here some useful hints. These notes also +explain how users should proceed for getting the programs to use the +available translations. They tell how people wanting to contribute and +work at translations should contact the appropriate team. + + When reporting bugs in the `intl/' directory or bugs which may be +related to internationalization, you should tell about the version of +`gettext' which is used. The information can be found in the +`intl/VERSION' file, in internationalized packages. + +Quick configuration advice +========================== + + If you want to exploit the full power of internationalization, you +should configure it using + + ./configure --with-included-gettext + +to force usage of internationalizing routines provided within this +package, despite the existence of internationalizing capabilities in the +operating system where this package is being installed. So far, only +the `gettext' implementation in the GNU C library version 2 provides as +many features (such as locale alias, message inheritance, automatic +charset conversion or plural form handling) as the implementation here. +It is also not possible to offer this additional functionality on top +of a `catgets' implementation. Future versions of GNU `gettext' will +very likely convey even more functionality. So it might be a good idea +to change to GNU `gettext' as soon as possible. + + So you need _not_ provide this option if you are using GNU libc 2 or +you have installed a recent copy of the GNU gettext package with the +included `libintl'. + +INSTALL Matters +=============== + + Some packages are "localizable" when properly installed; the +programs they contain can be made to speak your own native language. +Most such packages use GNU `gettext'. Other packages have their own +ways to internationalization, predating GNU `gettext'. + + By default, this package will be installed to allow translation of +messages. It will automatically detect whether the system already +provides the GNU `gettext' functions. If not, the GNU `gettext' own +library will be used. This library is wholly contained within this +package, usually in the `intl/' subdirectory, so prior installation of +the GNU `gettext' package is _not_ required. Installers may use +special options at configuration time for changing the default +behaviour. The commands: + + ./configure --with-included-gettext + ./configure --disable-nls + +will respectively bypass any pre-existing `gettext' to use the +internationalizing routines provided within this package, or else, +_totally_ disable translation of messages. + + When you already have GNU `gettext' installed on your system and run +configure without an option for your new package, `configure' will +probably detect the previously built and installed `libintl.a' file and +will decide to use this. This might be not what is desirable. You +should use the more recent version of the GNU `gettext' library. I.e. +if the file `intl/VERSION' shows that the library which comes with this +package is more recent, you should use + + ./configure --with-included-gettext + +to prevent auto-detection. + + The configuration process will not test for the `catgets' function +and therefore it will not be used. The reason is that even an +emulation of `gettext' on top of `catgets' could not provide all the +extensions of the GNU `gettext' library. + + Internationalized packages have usually many `po/LL.po' files, where +LL gives an ISO 639 two-letter code identifying the language. Unless +translations have been forbidden at `configure' time by using the +`--disable-nls' switch, all available translations are installed +together with the package. However, the environment variable `LINGUAS' +may be set, prior to configuration, to limit the installed set. +`LINGUAS' should then contain a space separated list of two-letter +codes, stating which languages are allowed. + +Using This Package +================== + + As a user, if your language has been installed for this package, you +only have to set the `LANG' environment variable to the appropriate +`LL_CC' combination. Here `LL' is an ISO 639 two-letter language code, +and `CC' is an ISO 3166 two-letter country code. For example, let's +suppose that you speak German and live in Germany. At the shell +prompt, merely execute `setenv LANG de_DE' (in `csh'), +`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). +This can be done from your `.login' or `.profile' file, once and for +all. + + You might think that the country code specification is redundant. +But in fact, some languages have dialects in different countries. For +example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The +country code serves to distinguish the dialects. + + Not all programs have translations for all languages. By default, an +English message is shown in place of a nonexistent translation. If you +understand other languages, you can set up a priority list of languages. +This is done through a different environment variable, called +`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' +for the purpose of message handling, but you still need to have `LANG' +set to the primary language; this is required by other parts of the +system libraries. For example, some Swedish users who would rather +read translations in German than English for when Swedish is not +available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. + + In the `LANGUAGE' environment variable, but not in the `LANG' +environment variable, `LL_CC' combinations can be abbreviated as `LL' +to denote the language's main dialect. For example, `de' is equivalent +to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' +(Portuguese as spoken in Portugal) in this context. + +Translating Teams +================= + + For the Free Translation Project to be a success, we need interested +people who like their own language and write it well, and who are also +able to synergize with other translators speaking the same language. +Each translation team has its own mailing list. The up-to-date list of +teams can be found at the Free Translation Project's homepage, +`http://www.iro.umontreal.ca/contrib/po/HTML/', in the "National teams" +area. + + If you'd like to volunteer to _work_ at translating messages, you +should become a member of the translating team for your own language. +The subscribing address is _not_ the same as the list itself, it has +`-request' appended. For example, speakers of Swedish can send a +message to `sv-request@li.org', having this message body: + + subscribe + + Keep in mind that team members are expected to participate +_actively_ in translations, or at solving translational difficulties, +rather than merely lurking around. If your team does not exist yet and +you want to start one, or if you are unsure about what to do or how to +get started, please write to `translation@iro.umontreal.ca' to reach the +coordinator for all translator teams. + + The English team is special. It works at improving and uniformizing +the terminology in use. Proven linguistic skill are praised more than +programming skill, here. + +Available Packages +================== + + Languages are not equally supported in all packages. The following +matrix shows the current state of internationalization, as of May 2001. +The matrix shows, in regard of each package, for which languages PO +files have been submitted to translation coordination, with a +translation percentage of at least 50%. + + Ready PO files bg cs da de el en eo es et fi fr gl hr id it + +----------------------------------------------+ + a2ps | [] [] | + bash | [] [] [] [] | + bison | [] [] [] [] | + clisp | [] [] [] [] | + cpio | [] [] [] [] | + diffutils | [] [] [] [] [] [] [] | + enscript | [] [] | + error | [] | + fileutils | [] [] [] [] [] [] [] | + findutils | [] [] [] [] [] [] [] [] | + flex | [] [] [] | + gawk | | + gcal | | + gcc | [] | + gettext | [] [] [] [] [] [] [] [] [] | + gnupg | [] [] [] [] [] | + grep | [] [] [] | + hello | [] [] [] [] [] [] [] [] [] | + id-utils | [] [] | + indent | [] [] [] [] [] | + libc | [] [] [] [] [] [] [] [] | + lilypond | | + lynx | [] [] [] | + m4 | [] [] [] [] [] [] [] | + make | [] [] [] [] | + parted | [] [] | + ptx | [] [] [] [] [] [] [] | + python | | + recode | [] [] [] [] [] [] [] [] | + sed | [] [] [] [] [] [] [] [] [] | + sh-utils | [] [] [] [] [] [] [] [] [] | + sharutils | [] [] [] [] [] [] [] | + soundtracker | | + sp | | + tar | [] [] [] [] [] [] [] [] | + texinfo | [] [] [] [] | + textutils | [] [] [] [] [] [] [] | + util-linux | [] | + wdiff | [] [] [] [] [] [] [] | + wget | [] [] [] [] [] [] [] [] [] | + +----------------------------------------------+ + bg cs da de el en eo es et fi fr gl hr id it + 0 14 21 27 10 1 8 20 13 1 28 17 0 9 11 + + ja ko lv nl no pl pt pt_BR ru sk sl sv tr zh + +----------------------------------------------+ + a2ps | [] [] [] | 5 + bash | | 4 + bison | [] [] [] | 7 + clisp | [] | 5 + cpio | [] [] [] [] [] | 9 + diffutils | [] [] [] | 10 + enscript | [] [] [] | 5 + error | | 1 + fileutils | [] [] [] [] [] [] [] [] [] | 16 + findutils | [] [] [] [] [] [] | 14 + flex | [] [] [] | 6 + gawk | | 0 + gcal | | 0 + gcc | [] | 2 + gettext | [] [] [] [] [] [] [] [] [] [] | 19 + gnupg | [] [] [] | 8 + grep | | 3 + hello | [] [] [] [] [] [] [] [] | 17 + id-utils | [] [] [] | 5 + indent | [] [] [] [] [] [] [] | 12 + libc | [] [] [] [] [] [] [] | 15 + lilypond | [] | 1 + lynx | [] [] [] [] [] | 8 + m4 | [] [] [] [] [] | 12 + make | [] [] [] [] [] | 9 + parted | [] [] [] | 5 + ptx | [] [] [] [] [] [] | 13 + python | | 0 + recode | [] [] [] | 11 + sed | [] [] [] [] [] [] [] | 16 + sh-utils | [] [] [] [] [] [] [] [] [] [] | 19 + sharutils | [] [] [] [] | 11 + soundtracker | | 0 + sp | | 0 + tar | [] [] [] [] [] [] [] [] | 16 + texinfo | [] [] | 6 + textutils | [] [] [] [] [] [] [] [] | 15 + util-linux | [] | 2 + wdiff | [] [] [] [] [] | 12 + wget | [] [] [] [] [] [] [] [] | 17 + +----------------------------------------------+ + 29 teams ja ko lv nl no pl pt pt_BR ru sk sl sv tr zh + 40 domains 18 8 0 23 6 16 1 15 26 9 9 20 2 3 336 + + Some counters in the preceding matrix are higher than the number of +visible blocks let us expect. This is because a few extra PO files are +used for implementing regional variants of languages, or language +dialects. + + For a PO file in the matrix above to be effective, the package to +which it applies should also have been internationalized and +distributed as such by its maintainer. There might be an observable +lag between the mere existence a PO file and its wide availability in a +distribution. + + If May 2001 seems to be old, you may fetch a more recent copy of +this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date +matrix with full percentage details can be found at +`http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'. + +Using `gettext' in new packages +=============================== + + If you are writing a freely available program and want to +internationalize it you are welcome to use GNU `gettext' in your +package. Of course the GNU Public License applies to your sources from +then if you include `gettext' directly in your distribution on but +since you are writing free software anyway this is no restriction. + + Once the sources are change appropriately and the setup can handle to +use of `gettext' the only thing missing are the translations. The Free +Translation Project is also available for packages which are not +developed inside the GNU project. Therefore the information given above +applies also for every other Free Software Project. Contact +`translation@iro.umontreal.ca' to make the `.pot' files available to +the translation teams. + diff --git a/tools/glade/AUTHORS b/tools/glade/AUTHORS new file mode 100644 index 00000000..9b0b4b4d --- /dev/null +++ b/tools/glade/AUTHORS @@ -0,0 +1,9 @@ + +Damon Chaplin + Main author. + +Martijn van Beers + Helped with code generation. Wrote the tree view & palette. + +Jacob Berkman + Helped porting to GTK+ 2 & GNOME 2. diff --git a/tools/glade/COPYING b/tools/glade/COPYING new file mode 100644 index 00000000..d60c31a9 --- /dev/null +++ b/tools/glade/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/tools/glade/ChangeLog b/tools/glade/ChangeLog new file mode 100644 index 00000000..31ad4028 --- /dev/null +++ b/tools/glade/ChangeLog @@ -0,0 +1,6446 @@ +2007-12-09 Christian Persch + + * glade/gnome/gnomecontrol.c: Don't define + BONOBO_[UI_]DISABLE_DEPRECATED, or we'll get an undefined symbol "_". + Fallout from bug #419535. + +2007-04-26 Christophe Merlet + + * configure.in: Added "oc" (Occitan) to ALL_LINGUAS. + +2007-03-19 Pema Geyleg + + *configure.in: Added 'dz' to the list + +2007-03-07 Priit Laes + + * configure.in: Added et to ALL_LINGUAS + +2006-12-29 Ilkka Tuohela + + * configure.in: Added fi to ALL_LINGUAS + +2006-05-22 Calum Benson + + * glade-2.desktop.in: + Update Comment, as per http://live.gnome.org/UsabilityTeam/Menu. + +2006-04-17 Kjartan Maraas + + * configure.in: Remove obsolete entry for no_NO. + * po/no.po: And the translation. + +2005-10-09 Damon Chaplin + + * Released Glade 2.12.1 + +2005-09-16 Rodrigo Moya + + * glade/gnome-db/gladegnomedblogindlg.c: added missing header file. + +2005-09-14 Damon Chaplin + + * Released Glade 2.12.0 + +2005-09-14 Damon Chaplin + + * glade/gbwidgets/gbwindow.c: + * glade/gbwidgets/gbfilechooserdialog.c: + * glade/gbwidgets/gbfileselection.c: + * glade/gbwidgets/gbdialog.c: + * glade/gbwidgets/gbfontselectiondialog.c: + * glade/gbwidgets/gbinputdialog.c: + * glade/gbwidgets/gbcolorselectiondialog.c: + * glade/gbwidgets/gbaboutdialog.c: + * glade/gnome/gnomemessagebox.c: + * glade/gnome/gnomeapp.c: + * glade/gnome/bonobowindow.c: + * glade/gnome/gnomeabout.c: + * glade/gnome/gnomedialog.c: + * glade/gnome/gnomepropertybox.c: + * glade/gnome-db/gnomedblogindlg.c: + * glade/gnome-db/gnomedberrordlg.c: added support for "urgency_hint". + + * glade/gbwidgets/gbaboutdialog.c: (gb_about_dialog_write_source): + call gb_window_write_standard_source() to output code for + "destroy_with_parent" property. + + * glade/named_icons.c (GladeNamedIcons): added 9 new stock GNOME icons. + + * tools/geticons.pl: + * tools/getstockitems.pl: only output the lists, not the bits at the + top and bottom. + + * glade/named_icons.c (GladeNamedIcons): added GTK_STOCK_INFO, + GTK_STOCK_FULLSCREEN and GTK_STOCK_LEAVE_FULLSCREEN. + + * glade/gbwidgets/gbmenubar.c: added support for "pack_direction" + and "child_pack_direction". + + * glade/gbwidgets/gbfilechooserbutton.c: + * glade/gbwidgets/gbfilechooserdialog.c: added support for + "do_overwrite_confirmation". (I don't think it is useful for + GtkFileChooserWidget, though I'm not sure.) + + * glade/gbwidgets/gbiconview.c: added support for "reorderable". + + * glade/gbwidgets/gbaboutdialog.c: added support for "wrap_license". + + * glade/gbwidgets/gbwindow.c (gb_window_set_standard_properties): use + icon_name_p rather than IconName, so it works for widgets other than + GtkWindow itself. + +2005-09-13 Damon Chaplin + + * configure.in: + * README: bumped version info ready for 2.12.0. + + * NEWS: added 2.10.1 info. + + * glade/gbwidgets/gbradiobutton.c (gb_radio_button_set_properties): + * glade/gbwidgets/gbradiomenuitem.c + (gb_radio_menu_item_set_properties): + * glade/gbwidgets/gbradiotoolbutton.c + (gb_radio_tool_button_set_properties): output a warning if an unknown + radio group is found in the XML file. (#110181) + + * glade/main.c (main): patch from Bastian Kleineidam to use + gtk_init_with_args() to parse options, so --help works. (#309213) + + * glade/glade_menu_editor.c: use the stock id as the item string for + the "Stock Item" property in GTK+ menus, and the "Icon" property + in GTK+ and GNOME menus, since the old label text wasn't unique. + + * glade/property.c (fill_stock_combo): use the stock id as the item + string rather than the (translated) item text, since that isn't unique. + (find_stock_id, find_stock_item): ifdef'ed out - not used now. + (property_get_stock_item): return the combo text, or NULL if empty. + (property_set_stock_item): set the combo text to the stock id. + (property_get_icon): if the combo text matches the basename of the last + selected file, return the complete filename, otherwise return the combo + text as it is. + (property_set_icon): check if the icon is a stock id, if not assume + it is a filename. (#303105) + +2005-09-12 Damon Chaplin + + * glade/gbwidget.c (get_standard_properties): GtkEventBoxes can + always have tooltips. (#312622) + + * glade/gbwidgets/gblabel.c (gb_label_get_focus_targets): add custom + widgets and file chooser buttons to the combo. (#311804) + + * glade/gnome/gnomecanvas.c: use "aa" rather than "anti_aliased", + otherwise libglade doesn't load the property. (##309412) + + * glade/glade_palette.c (glade_palette_set_show_gnome_widgets): show + the main palette page and make the selector active, to make sure we + don't show GNOME widgets or allow them to be added to GTK+ projects. + (#148423) + + * glade/glade_project_window.c: use a global for the GladeProjectWindow + to avoid problems finding it. (#170758) + + * glade/gbwidget.c (add_standard_bottom_menu_items): add a separator + before the Cut/Copy/Paste items. (#300261) + + * autogen.sh: + * glade/data/gtk/autogen.sh: don't use -path option of find, as + Solaris doesn't have it. (#301929) + + * glade/gbwidget.c (copy_signals): + * glade/load.c (load_date): output a warning if the date is invalid, + and reset the error. + +2005-08-30 Damon Chaplin + + * glade/property.c (create_language_specific_properties): don't + create a table for Perl as we don't support it now. Avoids invalid + write. + +2005-07-31 Pawan Chitrakar + + * configure.in: Added ne in ALL_LINGUAS + +2005-07-08 Rodrigo Moya + + * configure.in: require libgda/libgnomedb-2.0. + + * glade/glade_gnomedblib.c: + * glade/gnome-db/Makefile.am: removed browser, connection selector, + list and query builder widgets, not present anymore on GNOME-DB. + +2005-06-14 Rodrigo Moya + + * glade-2.desktop.in: added MIME type information. + +2005-04-13 Abel Cheung + + * configure.in: Added "zh_TW" to ALL_LINGUAS. + +2005-04-01 Steve Murphy + + * configure.in: Added "rw" to ALL_LINGUAS. + +2005-03-16 Damon Chaplin + + * Released Glade 2.10.0 + +2005-03-16 Damon Chaplin + + * configure.in: turn off gnome-db by default, since it still breaks + backwards compatability occasionally so we can't rely on its API. + + * FAQ: removed some out-of-date info. + * README: updated languages section. + +2005-02-01 Damon Chaplin + + * tools/getstockitems.pl: + * tools/geticons.pl: added the 2 little scripts used to get the stock + items and named icons to go in named_icons.c. + +2005-01-31 Damon Chaplin + + * Released Glade 2.9.0 + +2005-01-31 Damon Chaplin + + * configure.in: bump GTK+ requirement to 2.6.0, and libgnomeui + requirement to 2.9.0. + + * glade/gbwidgets/gbwindow.c: added support for "icon_name" and + "focus_on_map" properties. + + * glade/gbwidgets/gbcolorselectiondialog.c: + * glade/gbwidgets/gbdialog.c: + * glade/gbwidgets/gbfilechooserdialog.c: + * glade/gbwidgets/gbfileselection.c: + * glade/gbwidgets/gbfontselectiondialog.c: + * glade/gbwidgets/gbimage.c: + * glade/gbwidgets/gbinputdialog.c: + * glade/gbwidgets/gbwindow.c: + * glade/gnome/bonobowindow.c: + * glade/gnome/gnomeabout.c: + * glade/gnome/gnomeapp.c: + * glade/gnome/gnomedialog.c: + * glade/gnome/gnomemessagebox.c: + * glade/gnome/gnomepropertybox.c: + * glade/gnome-db/gnomedberrordlg.c: + * glade/gnome-db/gnomedblogindlg.c: used above support for "icon_name" + and "focus_on_map". + + * glade/gbwidgets/gbimage.c: added support for "icon_name" and + "pixel_size" properties. + + * glade/named_icons.c: new file, containing an array of standard named + icons from GTK+ and GNOME. + + * glade/Makefile.am (glade_2_SOURCES): added named_icons.c. + + * glade/gb.h: replaced wmname_p and wmclass_p with icon_name_p and + focus_on_map_p for all the gb_window_* functions. + + * glade/gbwidget.c (gb_widget_input_named_icon) + (gb_widget_output_named_icon): + * glade/property.c (property_add_named_icon) + (property_get_named_icon, property_set_named_icon): added support + for named icons (themed icons). + +2005-01-19 Damon Chaplin + + * glade/gbsource.c (gb_widget_write_accelerators_source): add cast to + keep C++ compiler happy with generated code. Patch from Daniel Pirkl. + +2005-01-01 Damon Chaplin + + * glade/gbwidgets/gbfilechooserbutton.c (gb_file_chooser_button_new): + fixed call to gtk_file_chooser_button_new() - arguments changed. + (gb_file_chooser_button_write_source): use new arguments. + +2004-12-21 Damon Chaplin + + * glade/glade_atk.c (glade_atk_create_property_page): use an int + instead of AtkRelationType to avoid problems with optimizing compilers. + #152008. + +2004-12-13 Damon Chaplin + + * glade/gbwidgets/gbcomboboxentry.c: added support for "add_tearoffs", + "has_frame", and "focus_on_click". + + * glade/gbwidgets/gbcombobox.c: added support for "add_tearoffs" and + "focus_on_click". I don't think "has_frame" is useful here. + + * glade/gbwidgets/gbtreeview.c: added support for "fixed_height_mode", + "hover_selection" and "hover_expand", and added a few example rows. + + * glade/gbwidgets/gbiconview.c (gb_icon_view_new): unref the store. + + * glade/gbwidgets/gbprogressbar.c: added support for "ellipsize". + +2004-12-08 Damon Chaplin + + * glade/gbwidgets/gbaccellabel.c: + * glade/gbwidgets/gblabel.c: added support for "ellipsize", + "width_chars", "single_line_mode" and "angle". + + * glade/gb.h: updated label functions to take new properties. + + * glade/gbwidgets/gbfilechooserbutton.c (gb_file_chooser_button_create_properties): use an int range for "width_chars". + +2004-12-07 Damon Chaplin + + * glade/glade_palette.c (glade_palette_set_show_gnome_widgets): hide + the recently deprecated widgets as appropriate. + + * glade/gbsource.c (init_signal_hash): add signals for GtkIconView. + (init_signal_hash): add GtkRange::change_value, + GtkCellRenderer::editing_started. + + * glade/gbwidgets/gbmenutoolbutton.c: + * glade/gbwidgets/gbcellview.c: + * glade/gbwidgets/gbiconview.c: + * glade/gbwidgets/gbaboutdialog.c: added support for new GTK+ 2.6 + widgets. + + * glade/gbwidgets/gbfilechooserbutton.c: added support for new widget, + based on patch from James M. Cape. + + * glade/glade_gtk12lib.c: added new widgets to the palette and + rearranged a bit. + + * glade/glade_gnomelib.c: rearranged a bit and moved deprecated widgets + to deprecated page. + + * glade/editor.c (placeholder_finish_replace): set scrollbar policy + for scrolled windows for new GtkIconView widgets to automatic. + +2004-12-01 Damon Chaplin + + * glade/gnome/gnomehref.c (gb_gnome_href_set_properties): only look + for the old "label" property when loading, otherwise it crashes. + +2004-11-30 Damon Chaplin + + * Released Glade 2.6.6 + +2004-11-29 Damon Chaplin + + * glade/gbwidgets/gbspinbutton.c (gb_spin_button_write_source): + * glade/gbwidget.c (gb_widget_output_adjustment): + * glade/save.c (save_float): use "%.12g" when outputting floats, so + we keep as many digits as possible. #156016. + We could also update all other places '%g' appears. + + * glade/gbwidgets/gbbutton.c (gb_button_normal_write_source): use the + translation properties from the child label. + + * glade/utils.c (glade_util_copy_translation_properties): new function + to copy translation properties from one widget to another. + + * glade/property.c (copy_translation_properties): use above. + + * glade/gbwidgets/gbbutton.c (gb_button_normal_get_properties) + (gb_button_normal_set_properties): copy the translation properties + from the button to the label and vice versa when necessary, so that + our special code for handling the label from within the button works. + #156350. + +2004-11-27 Damon Chaplin + + * glade/gnome/gnomehref.c: use "text" rather than "label" as the + property name for the text in the button. #112470. + +2004-11-16 Kjartan Maraas + + * configure.in: Add «nb» to ALL_LINGUAS. + +2004-11-06 Amanpreet Singh Alam + + * configure.in: ALL_LINUGUAS is changed by Adding pa Language + +2004-10-24 Damon Chaplin + + * Released Glade 2.6.5 + +2004-10-24 Damon Chaplin + + * glade/editor.c (editor_idle_handler): skip any selected widgets + that aren't realized, or we get invalid windows. #156190. + +2004-10-20 Damon Chaplin + + * Released Glade 2.6.4 + +2004-10-20 Damon Chaplin + + * glade/editor.c (paint_widget, editor_idle_handler): changed again + to not ref the widget, just check if it is NULL instead. It was + crashing when scrolled windows were being deleted. #155916. + +2004-10-13 Damon Chaplin + + * Released Glade 2.6.3 + +2004-10-19 Damon Chaplin + + * glade/editor.c (paint_widget, editor_idle_handler): ref the widget + as well, just to be safe. Apparently this code was causing crashes on + Glade 3, though I haven't seen any in Glade 2. + + * glade/property.c (property_add_string, property_set_string): use a + flag to distinguish string properties from others (e.g. dialog + properties), and only hide the button fro string properties. + It was being hidden for properties like 'Signal:'. + +2004-10-13 Damon Chaplin + + * Released Glade 2.6.2 + +2004-10-13 Damon Chaplin + + * mkinstalldirs: rebuilt with newer tools to get this as well. + +2004-10-12 Damon Chaplin + + * Released Glade 2.6.1 + +2004-10-07 Damon Chaplin + + * glade/glade_atk.c: added new relation type strings. + + * glade/editor.c (editor_idle_handler): ignore the allocation of + toplevel widgets, since these are not useful. This caused the selection + rectangles to be offset by the windows position on the desktop. + + * glade/glade_atk.c (save_atk_property): save the extra translation + properties. + (glade_atk_load_atk_properties): load the translation properties. + + * glade/glade-parser.c (glade_parser_start_element): init + state->prop_context_prefix to FALSE before reading property and + atkproperty elements. It wasn't being reset sometimes. + Also load the "comments" and "context" attributes for atkproperty. + (glade_parser_end_element): copy the "translatable", "comments" and + "context" attributes over to the GladeProperty, and reset + prop_translator_comments to NULL. + + * glade/gnome/gnomeabout.c: set the initial comments for translator + credits. Also updated to use the new translation properties. + + * glade/source.c (source_add_translator_comments_to_buffer): new func. + + * glade/property.c (run_text_property_dialog): only show/set the + translation properties if needed, and always call on_property_changed() + since it may not be called if the main text isn't changed. + + * glade/gbwidget.c (gb_widget_output_child_label): + * glade/gbwidgets/gbbutton.c (gb_button_gnome_get_properties) + (gb_button_normal_get_properties): + * glade/gbwidgets/gbtoolbutton.c + (gb_tool_button_get_standard_properties): Always use + gb_widget_output_translatable_text() for consistency. + + * glade/editor.c (placeholder_finish_replace): set the initial shadow + of the text widget's scrolled window to In. + + * glade/main.c (glade_log_handler): install a tiny log handler to + ignore those warnings about scrolled windows. + + * glade/gbwidgets/gbdialog.c (on_dialog_ok): use Apply, Cancel, OK + order rather than Cancel, Apply, OK. This comes from the HIG 2.0 + in the section Windows/Utility Windows/Explicit Apply Windows. + +2004-09-30 Damon Chaplin + + This is all for #115635. It adds support for 3 extra attributes for + string & text properties: (1) a translatable flag, so you can turn off + translation of a string, (2) a context flag if the string has a context + prefix, and (3) a comments string to help translators. + It also provides a bigger area to enter text, which is useful if you + need to enter a lot of it. I'm not sure about the ATK properties yet. + + * glade/property.c (run_text_property_dialog): new function to show + a dialog for editing string & text properties and their extra + translation properties. + (property_add_string, property_add_text): add a '...' button beside + the property and call above function when it is clicked. + (property_get_string, property_set_string) + (property_set_translatable_string, property_get_text) + (property_set_translatable_text): handle extra translation properties. + + * glade/utils.c (glade_util_get_translation_properties): gets the + extra translation properties which are stored inside the widget's data. + (glade_util_set_translation_properties): set the above. + + * glade/source.c (source_write_support_files): define the Q_ macro + to mark translatable strings that start with a context prefix. + (source_add_translator_comments): new function to output a C comment + containing comments for translators, to be called just before a + translatable string is output. + (source_make_string_internal): updated to take a context flag to + indicate that the Q_ macro should be used. + + * glade/save.c (save_string_internal): save extra translation + properties. + (save_translatable_string_internal): new function to get the extra + translation properties from the widget data and save them as well. + (save_translatable_string, save_translatable_text): + (save_translatable_text_in_lines): call the above. + + * glade/load.c (load_get_value_full): new function to read extra + translation attributes as well. + (load_string, load_text): use the above, and store the extra + translation properties in the widget. + + * glade/glade-parser.h (struct _GladeProperty): add extra translation + properties. + + * glade/glade-parser.c: read the extra translation properties in from + the XML file. + + * glade/gbwidget.h (struct _GbWidgetGetArgData) + (struct _GbWidgetSetArgData): put a pointer to the widget in here as + well, since it meant fewer changes were needed to handle the extra + translation properties. + + * glade/gbwidget.c: set the widget pointer above, and use the new + property_set_translatable_string/text() functions where appropriate. + + * glade/glade_atk.c (glade_atk_source_add_translator_comments): new + function to output a C comment containing comments for translators. + (glade_atk_write_atk_properties_source): use the extra translation + properties when generating the C code. + + * glade/gbsource.c (gb_widget_write_standard_source): + * glade/gbwidgets/gbaccellabel.c: + * glade/gbwidgets/gbbutton.c: + * glade/gbwidgets/gbcheckbutton.c: + * glade/gbwidgets/gbcheckmenuitem.c: + * glade/gbwidgets/gbcolorbutton.c: + * glade/gbwidgets/gbcolorselectiondialog.c: + * glade/gbwidgets/gbcombo.c: + * glade/gbwidgets/gbcombobox.c: + * glade/gbwidgets/gbcomboboxentry.c: + * glade/gbwidgets/gbentry.c: + * glade/gbwidgets/gbfilechooserdialog.c: + * glade/gbwidgets/gbfileselection.c: + * glade/gbwidgets/gbfontbutton.c: + * glade/gbwidgets/gbfontselection.c: + * glade/gbwidgets/gbfontselectiondialog.c: + * glade/gbwidgets/gbimagemenuitem.c: + * glade/gbwidgets/gblabel.c: + * glade/gbwidgets/gblistitem.c: + * glade/gbwidgets/gbmenuitem.c: + * glade/gbwidgets/gbnotebook.c: + * glade/gbwidgets/gbprogressbar.c: + * glade/gbwidgets/gbradiobutton.c: + * glade/gbwidgets/gbradiomenuitem.c: + * glade/gbwidgets/gbradiotoolbutton.c: + * glade/gbwidgets/gbtext.c: + * glade/gbwidgets/gbtextview.c: + * glade/gbwidgets/gbtogglebutton.c: + * glade/gbwidgets/gbtoggletoolbutton.c: + * glade/gbwidgets/gbtoolbutton.c: + * glade/gbwidgets/gbtreeitem.c: + * glade/gbwidgets/gbwindow.c: + + * glade/gnome/bonobowindow.c: + * glade/gnome/gnomeabout.c: + * glade/gnome/gnomeapp.c: + * glade/gnome/gnomecolorpicker.c: + * glade/gnome/gnomedialog.c: + * glade/gnome/gnomedruidpageedge.c: + * glade/gnome/gnomedruidpagestandard.c: + * glade/gnome/gnomefileentry.c: + * glade/gnome/gnomefontpicker.c: + * glade/gnome/gnomehref.c: + * glade/gnome/gnomeiconentry.c: + * glade/gnome/gnomemessagebox.c: + * glade/gnome/gnomepixmapentry.c: + + * glade/gnome-db/gnomedblogindlg.c: + * glade/gnome-db/gnomedbgraybar.c: + * glade/gnome-db/gnomedberrordlg.c: + * glade/gnome-db/gnomedbeditor.c: use the extra translation properties + when generating the source code. + +2004-09-25 Damon Chaplin + + * glade/glade_project_window.c (glade_project_window_new): don't + set the View checkmenuitems here. We do that later. + (glade_project_window_show_quit_dialog): call glade_save_settings() + to save the window geometries and visibility status. + (glade_project_window_refresh_menu_items): new function to set the + View checkmenuitems status according to whether the windows are shown + or not. + + * glade/main.c (final_setup_from_main_loop): call glade_load_settings() + and merge the results with the command-line arguments to get the + windows to show. Also call glade_project_window_refresh_menu_items() + to setup all the checkmenuitems in the View menu according to if the + window is shown or not. + + * glade/palette.c (palette_init): renamed from palette_create and + made public. + (palette_add_gbwidget, palette_show): don't call palette_create as it + is always created when Glade is started now. + + * glade/property.c (property_init): renamed from property_create and + make public. + (property_show): don't call property_create as it is always created + when Glade is started now. + + * glade/glade.c (glade_load_settings, glade_save_settings): new + functions to save and restore window geometries and visibility. + We use a simple XML file in ~/.glade2 for now. #149510. + (Some of the code is from a glade3 patch from Paolo Borelli #142176.) + (glade_app_init): call palette_init() and property_init() to make + sure all windows are created here. + +2004-09-24 Damon Chaplin + + * glade/editor.c: ported newer drawing code from glade3, since that + also works on Windows. There may be a few problems with it though, + especially with odd containers like GtkFixed, GtkLayout, + GtkScrolledWindow. + + * glade/glade_menu_editor.c (glade_menu_editor_update_menu): only set + the GladeIconKey if we created an icon. #137386. + + * glade/gbwidget.c (gb_widget_replace_child): When inserting a + GtkToolItem above a widget, add it to the widget tree as well. + (gb_widget_replace_child): If the user tries to insert a GtkToolItem + inside another GtkToolItem, just replace it instead. #151314. + +2004-09-23 Damon Chaplin + + * glade/gbwidgets/gblabel.c (gb_label_find_mnemonic_widget): for + labels inside a GtkExpander, only return TRUE if the label is the + expander's label. Otherwise access keys for all labels inside a + GtkExpander simply open/close the expander. #141183. + + * 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/gbcomboboxentry.c (gb_combo_box_entry_write_source): + * glade/gbwidgets/gbcombobox.c (gb_combo_box_write_source): always + create the combo with a model. It can cause problems otherwise. + #143563. + +2004-09-23 Mariano Suárez-Alvarez + + * glade/glade_project_window.c(glade_project_window_on_open_project): + add "Glade Files" and "All Files" filters to the file selector dialog. + #145072. + +2004-09-23 Damon Chaplin + + * glade/glade_project_window.c (FileMenu): + * glade/gnome/bonobowindow.c (FileMenu): use GNOMEUIINFO_MENU_QUIT_ITEM + instead of GNOMEUIINFO_MENU_EXIT_ITEM. Fixes part of #142993. + I was going to change it in the .glade files but then saw that + libglade-gnome doesn't support QUIT_ITEM so didn't. + +2004-09-22 Damon Chaplin + + * glade/gnome/gnomefileentry.c: added support for the + "filechooser_action" property. + + * glade/editor.c (placeholder_finish_replace): check we don't try to + add a GtkToolItem to anything other than a toolbar, since it causes + problems otherwise. + + * 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) + +2004-06-26 Damon Chaplin + + * doc/C/glade-user-guide/glade-user-guide-C.omf: updated 'rights' + tag to use only one 'holder' attribute. + +2004-06-23 Damon Chaplin + + * doc/C/glade-user-guide/glade-user-guide.html: + * doc/C/glade-user-guide/glade-user-guide.xml: + * doc/C/glade-user-guide/Makefile.am (figs): + * doc/C/glade-user-guide/glade-user-guide-C.omf: updates from + Pat Costello to ship glade-windows.png and fix a few other errors. + +2004-05-25 Damon Chaplin + + * glade/gbwidgets/gbtoolbar.c (gb_toolbar_write_source): use + GtkIconSize for the icon size rather than gint. + Also #include "../tree.h". + +2004-05-19 Damon Chaplin + + * glade/gbwidgets/gbcomboboxentry.c + (gb_combo_box_entry_set_properties): + * glade/gbwidgets/gbcombobox.c (gb_combo_box_set_properties): + * 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-05-10 Damon Chaplin + + * glade/save.c (save_translatable_text_in_lines): check if tag_value + is NULL. Fixes bug #142251. + +2004-04-15 Damon Chaplin + + * Released Glade 2.6.0 + +2004-04-15 Damon Chaplin + + * 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. + + * README: update links for various languages and mailing list info, + and version requirements. + +2004-04-06 Damon Chaplin + + * glade/glade_project_options.c: + * glade/glade_menu_editor.c: include so plain GTK+ + version compiles. + +2004-03-29 Damon Chaplin + + * Released Glade 2.5.1 + +2004-03-29 Damon Chaplin + + * 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/glade-faq/glade-faq.xml (type): + * doc/C/glade-user-guide/glade-user-guide.xml: + * FAQ (http): remove references to acconfig.h. + + * configure.in: use AC_DEFINE with all 3 args. + + * acconfig.h: removed, to get rid of warnings about AC_DEFINE. + +2004-03-29 Damon Chaplin + + * configure.in: bump GTK+ and GNOME version requirements. + + * glade/gnome-db/gnomedblogindlg.c (gb_gnome_db_logindlg_new): + * glade/gnome-db/gnomedberrordlg.c (gb_gnome_db_errordlg_new): + * glade/gnome/gnomepropertybox.c (on_gnome_property_box_dialog_ok): + * glade/gnome/gnomemessagebox.c (gb_gnome_message_box_new): + * glade/gnome/gnomedialog.c (gb_gnome_dialog_new): + * glade/gnome/gnomeabout.c (gb_gnome_about_new): + * glade/gbwidgets/gbfilechooserdialog.c (gb_file_chooser_dialog_new): + * glade/gbwidgets/gbinputdialog.c (gb_input_dialog_new): + * glade/gbwidgets/gbfontselectiondialog.c (gb_font_selection_dialog_new): + * glade/gbwidgets/gbfileselection.c (gb_file_selection_new): + * glade/gbwidgets/gbdialog.c (create_dialog): + * glade/gbwidgets/gbcolorselectiondialog.c (gb_color_selection_dialog_new): set the initial type hint to dialog. Bug #135893. + + * glade/gb.h (GLADE_TYPE_HINT_DIALOG_INDEX): added a define to + contain the index of the dialog type hint. + + * glade/gbwidgets/gbwindow.c (GbTypeHintChoices): added a note to + make sure the above define is updated if the array is changed. + + * 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. + + * glade/gbwidgets/gbtoolbar.c (gb_toolbar_add_child): insert a + GtkToolItem when loading child widgets that aren't plain/radio/toggle + items. + +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-23 Damon Chaplin + + * glade/property.c (show_filesel_dialog): + * glade/utils.c (glade_util_set_file_selection_filename) + (glade_util_get_file_selection_filename): + * glade/glade_project_window.c: + (glade_project_window_on_open_project): + * glade/glade_project_options.c + (glade_project_options_show_file_selection): + * glade/glade_menu_editor.c (on_icon_button_clicked): use filechooser + rather than old file selection dialog. Bug #132905. + +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. + +2004-03-17 Damon Chaplin + + * Released Glade 2.5.0 + +2004-03-17 Damon Chaplin + + * glade/gbwidgets/gbtoolbar.c: include gtktoolbutton.h. + + * configure.in (AC_OUTPUT): removed turbo start Makefile. + + * NEWS: + * HACKING: + * FAQ: updated a bit. + + * glade/gbwidgets/gbfilechooserwidget.c: removed FolderMode. + Added support for new actions. + + * doc/C/glade-faq/glade-faq-C.omf: + * doc/C/glade-faq/glade-faq.xml: updated a bit. + + * doc/C/glade-user-guide/glade-user-guide-C.omf: use one 'holder' + attribute rather than 2 which is invalid. + + * glade/glade_project_window.c: removed turbo start manual. + + * glade.spec.in (BuildRequires): removed glade-turbo-start.*. + + * doc/C/Makefile.am (SUBDIRS): removed glade-turbo-start directory. + + * doc/C/topic.dat: removed Quick-Start Guide. + + * doc/C/glade-user-guide/glade-user-guide.xml: added 'id' attributes + of a few 'sect1' elements so yelp displays them OK. + Also reworded a few bits and removed old stuff. + +2004-03-08 Damon Chaplin + + * glade/gbwidgets/gbcombobox.c (gb_combo_box_write_source): if no + items have been added, just create a combo box without a model. + + * glade/gbwidgets/gbcomboboxentry.c: use new convenience API in + generated code, and handle no items as above. + + * glade/glade_menu_editor.c (glade_menu_editor_update_menu): + patch from Harsh Jaitly to use GtkSeparatorMenuItem for separators. + Bug #130570. + +2004-02-27 Damon Chaplin + + * glade/gbwidgets/gbfilechooserdialog.c: removed FolderMode. + Added support for new actions. + +2004-02-25 Adam Weinberger + + * configure.in: Added 'en_CA' (Canadian English) to ALL_LINGUAS. + +2004-02-24 Damon Chaplin + + * glade/gbwidgets/gbwindow.c (gb_window_destroy): remove the icon + pixmap from the project. + + * 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. + + * glade/gb.h: added declarations of gb_tool_button_destroy and + gb_window_destroy. + + * glade/gbwidgets/gbtoggletoolbutton.c (gb_toggle_tool_button_init): + * glade/gbwidgets/gbradiotoolbutton.c (gb_radio_tool_button_init): + * glade/gbwidgets/gbtoolbutton.c (gb_tool_button_destroy): + * glade/gnome/gnomepixmap.c (gb_gnome_pixmap_destroy): remove the + pixmap from the project. + +2004-02-24 Damon Chaplin + + * 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/gbwindow.c (GbPositionSymbols): add support for + GTK_WIN_POS_CENTER_ALWAYS and GTK_WIN_POS_CENTER_ON_PARENT. + + * glade/gbwidgets/gbradiomenuitem.c + (gb_radio_menu_item_create_properties): make Group property invisible + since it is only used for loading & saving. + +2004-02-23 Damon Chaplin + + * 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/gbwidgets/gblabel.c (gb_label_get_focus_targets): allow + GtkComboBox/GtkComboBoxEntry widgets to be focus targets. + + * glade/gnome/gnomefileentry.c (gb_gnome_file_entry_write_source): + terminate g_object_set() calls with NULL. + +2004-02-21 Paolo Borelli + + * glade/glade_project_window.c: implement open project by drag&drop. + * glade/utils.c: add glade_util_uri_list_parse, needed for the above. + Bug #134152. + +2004-02-21 Damon Chaplin + + * glade/gnome/gnomepixmapentry.c: Add support for "use_filechooser". + + * glade/gnome/gnomefileentry.c: generate code for "use_filechooser". + +2004-02-19 Fernando Herrera + + * glade/gnome/gnomefileentry.c:: Add support for "use_filechooser" + property. Bug #133885. + +2004-02-19 Damon Chaplin + + * 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 + + * configure.in: quote AC_MSG_ERROR call properly. Patch from + Harsh Jaitly. Fixes bug #129253. + + * glade/gbwidgets/gbtoolbar.c: practically rewritten from scratch + to use the new toolbar items. Old XML files are migrated over + when loading. + + * glade/gnome/gnomeapp.c (gb_gnome_app_add_toolbar_button): use + new toolbar buttons. + + * glade/gbwidgets/gbtogglebutton.c: + * glade/gbwidgets/gbradiobutton.c: + * glade/gbwidgets/gbbutton.c: removed code to handle old toolbar + buttons (yippee!). + + * glade/gbwidgets/Makefile.am: + * glade/utils.h: + * glade/utils.c: + * glade/glade_gtk12lib.c: + * glade/gbwidget.c: + * glade/gbsource.c: + * glade/gb.h: + * glade/gb.c: + * glade/editor.c: updates to handle new toolbar items. + + * glade/graphics/radiotoolbutton.c: + * glade/graphics/separatortoolitem.c: + * glade/graphics/toggletoolbutton.c: + * glade/graphics/toolbutton.c: + * glade/graphics/toolitem.c: new files to support toolbar items. + + * glade/graphics/radiotoolbutton.xpm: + * glade/graphics/separatortoolitem.xpm: + * glade/graphics/toggletoolbutton.xpm: + * glade/graphics/toolbutton.xpm: + * glade/graphics/toolitem.xpm: new icons. + +2004-02-05 Robert Sedak + + * configure.in: Added "hr" (Croatian) to ALL_LINGUAS. + +2003-11-28 Damon Chaplin + + * glade/gbwidgets/gbfilechooserwidget.c: + * glade/gbwidgets/gbfilechooserdialog.c: new files to support + GtkFileChooserDialog and GtkFileChooserWidget. + + * glade/graphics/filechooserwidget.xpm: + * glade/graphics/filechooserdialog.xpm: new icons, basically copied + from old GtkFileSelection icon. + + * glade/glade_gtk12lib.c: added GtkFileChooserWidget and + GtkFileChooserDialog and moved GtkFileSelection to deprecated page. + + * glade/gbwidgets/Makefile.am (libgbwidgets_a_SOURCES): + added gbfilechooserwidget.c and gbfilechooserdialog.c. + + * glade/source.c (source_make_string_internal): just return "" if + the string is NULL. + +2003-11-28 Damon Chaplin + + * 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. + +2003-11-28 Damon Chaplin + + * glade-2.desktop.in: added Encoding property, and used "false" + rather than "0" for Terminal property. Fixes bug #127747. + +2003-11-24 Damon Chaplin + + * glade/editor.c (editor_on_event): use the "event" signal instead + of "button_press" and "button_release", since it is emitted before + them and gives us a better chance of intercepting them and doing our + own thing. I needed this to support selecting the GtkComboBox widget. + With the old method, the widget gets the signal before we do. + Also removed calls to stop signals. We can just return TRUE now. + + * glade/glade_gtk12lib.c: moved GtkCombo and GtkOptionMenu to the + deprecated page, and replaced with GtkComboBoxEntry/GtkComboBox. + + * glade/gbwidgets/gbcomboboxentry.c: new file to support + GtkComboBoxEntry. + + * glade/gbwidgets/gbcombobox.c: new file to support GtkComboBox. + + * glade/gbwidgets/Makefile.am: added gbcombobox.c, gbcomboboxentry.c. + + * glade/graphics/comboboxentry.xpm: + * glade/graphics/combobox.xpm: copied old combo & optionmenu pixmaps. + + * glade/gbsource.c (gb_widget_write_source): rearranged code to + create the standard widgets used for default values, to make it + easier to create GTK+ widgets here. (I did need this for the new + combo widgets at one point, but not any more.) + +2003-11-11 Damon Chaplin + + * configure.in: update version to 2.5.0, and require GTK+ 2.3.0. + + * glade/glade_gtk12lib.c: add GtkExpander, GtkFontButton and + GtkColorButton. + + * glade/glade_gnomelib.c: move GnomeColorPicker and GnomeFontPicker + to deprecated page. + + * glade/glade_palette.c (glade_palette_set_show_gnome_widgets): + hide GnomeColorPicker and GnomeFontPicker in GTK+ projects. + + * glade/gbwidget.c (gb_widget_replace_child): handle GtkExpander's + label widget. + + * glade/gnome/gnomepropertybox.c: + * glade/gnome/gnomemessagebox.c: + * glade/gnome/gnomedialog.c: + * glade/gnome/gnomeapp.c: + * glade/gnome/bonobowindow.c: + * glade/gnome/gnomeabout.c: + * glade/gnome-db/gnomedberrordlg.c: + * glade/gnome-db/gnomedblogindlg.c: + * glade/gbwidgets/gbcolorselectiondialog.c: + * glade/gbwidgets/gbfontselectiondialog.c: + * glade/gbwidgets/gbfileselection.c: + * glade/gbwidgets/gbdialog.c: + * glade/gbwidgets/gbinputdialog.c: + * glade/gbwidgets/gbwindow.c: added support for "role", "type-hint", + "skip-taskbar-hint", "skip-pager-hint", "decorated" and "gravity" + properties. + + * glade/gnome/gnomehref.c: + * glade/gnome/gnomefontpicker.c: + * glade/gnome/gnomecolorpicker.c: + * glade/gbwidgets/gbradiobutton.c: + * glade/gbwidgets/gbcheckbutton.c: + * glade/gbwidgets/gbtogglebutton.c: + * glade/gbwidgets/gbbutton.c: added support for "focus-on-click" + property. + + * glade/gb.h: updated declarations of functions to account for + above properties. + + * glade/gbwidgets/gbtextview.c: added support for "overwrite" and + "accepts-tab" properties. + + * glade/gbwidgets/gbeventbox.c: added support for "visible-window" + and "above-child" properties. + + * glade/gbwidgets/gbalignment.c: added support for 4 padding + properties. + + * glade/gbwidgets/gbfontbutton.c: + * glade/gbwidgets/gbcolorbutton.c: added support for new widgets, + almost the same as the Gnome widgets. + + * glade/gbwidgets/gbexpander.c: patch from Mark McLoughlin to add + support for this widget. + + * glade/gbwidgets/Makefile.am: added above 3 files. + + * glade/graphics/expander.xpm: + * glade/graphics/fontbutton.xpm: + * glade/graphics/colorbutton.xpm: added icons for new widgets. + +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. + +2003-11-07 Damon Chaplin + + * Released Glade 2.0.1 + +2003-11-07 Damon Chaplin + + * glade/glade_project.c (glade_project_write_ada95_source): patch + from Ishan Chattopadhyaya to turn Ada support back on and chdir to + the project directory before calling gate to generate source code + in Windows. + +2003-11-05 Damon Chaplin + + * glade/gbwidgets/gbvbuttonbox.c (gb_vbutton_box_set_properties): + * glade/gbwidgets/gbhbuttonbox.c (gb_hbutton_box_set_properties): + * glade/gbwidgets/gbvbox.c (gb_vbox_set_properties): + * glade/gbwidgets/gbhbox.c (gb_hbox_set_properties): ignore the size + property when loading. Fixes bug #126264. + +2003-10-22 Damon Chaplin + + * glade/utils.c (glade_util_get_next_free_project_directory): on + win32 use 'C:\\Projects' as projects directory. Patch from + Ishan Chattopadhyaya. + + * doc/C/glade-faq/glade-faq.xml: + * FAQ: few minor fixes from Ishan Chattopadhyaya. + + * glade/gbwidgets/gblabel.c (gb_label_create_standard_properties): + use the term 'underlined access key' rather than 'underlined + accelerator character' which may get confused with the other type + of accelerators. Fixes bug #93746. + +2003-10-21 Damon Chaplin + + * glade/gnome/gnomedruidpagestandard.c + (gb_gnome_druid_page_standard_get_properties): handle GdkColor + properties properly. Patch from David Hampton. + + * glade/glade-parser.c (glade_parser_parse_file) + (glade_parser_parse_buffer): patch from Josh Parsons to replace XML + entities while parsing. Fixes bug #124026. + + * glade/glade_project_window.c (glade_project_window_open_project): + clear the project view before loading the project, to ensure we don't + show an invalid project. Hopefully fixes bug #113089. + + * glade/glade_project.c (glade_project_destroy): clear the widget + tree after destroying all the widgets, to be on the safe side. + (Otherwise widgets may have pointers to invalid nodes in the tree.) + + * glade-2.desktop.in (X-GNOME-Bugzilla-Component): removed + X-GNOME-DocPath as it seems we don't need after all. See bug #124818. + +2003-10-20 Damon Chaplin + + * glade/glade-parser.c (create_widget_info): check info->name is not + NULL. Fixes bug #123015. + + * glade/editor.c (editor_delete_widget): If we are deleting a + GtkTextView set the text to "". Fixes bug #111604. + + * glade/gbwidgets/gblabel.c (gb_label_create_standard_properties): + * glade/glade_menu_editor.c (glade_menu_editor_construct): don't + set 'value_in_list' of a GtkCombo to TRUE, as it can result in stuch + pointer grabs if we're not careful. Fixes bug #124276. + +2003-10-17 Damon Chaplin + + * glade/glade_project_window.c: use Ctrl+B accelerator to write + source code instead of Ctrl+W, which is a standard GNOME accelerator + used to close the window. + +2003-10-17 Shakti + + *glade-2.desktop.in: + Set the X-GNOME-DocPath to provide the link for 'help'. + Fix the bug #124818 + +2003-10-15 Damon Chaplin + + * glade/palette.c (palette_create): set the window type hint of the + palette to UTILITY. I'm not sure if any other windows should have + the same type - metacity always places UTILITY windows in front, + which we may not want for the property editor/widget tree as they can + be pretty big windows. Fixes bug #114240. + + * glade/gbwidgets/gblabel.c (gb_label_write_standard_source): the + default justification is now GTK_JUSTIFY_LEFT. + +2003-10-12 Damon Chaplin + + * glade/gbwidget.c (gb_widget_show_properties): hide the packing page + for toplevels. Fixes bug #119345. + + * glade/gbwidgets/gbspinbutton.c (gb_spin_button_create_properties): + updated 'Numeric' tooltip. + + * glade/gbwidgets/gbdialog.c (show_dialog_creation_dialog): + * glade/utils.c (glade_util_spin_button_new): + * glade/property.c (property_add_int_range) + (property_add_optional_int_range, property_add_float_range): set + all spinbuttons to numeric to fix bugs #122914 and #119697. + +2003-10-10 Damon Chaplin + + * glade-2.desktop.in (_Comment): changed comment to agree with HIG. + + * glade/glade_project_window.c (glade_project_window_about): + make sure we only show one About dialog. Patch from Steve Chaplin. + Fixes bug #119410. + + * glade/property.c: (on_signals_dialog_response): + replace '-' with '_' in widget name when constructing handler name. + Patch from Thomas Vander Stichele. Fixes bug #118876. + + * glade/gbwidgets/gbradiobutton.c (get_radio_button_groups): + * glade/gbwidgets/gblabel.c (gb_label_get_focus_targets): use + g_utf8_collate() rather than g_str_equal() to handle UTF-8 properly. + Patch from Doug Quale. Fixes bug #124270. + + * glade/glade_project_options.c: added accessible descriptions. + Patch from Muktha . Fixes bug #90939. + + * glade/editor.c (clear_child_windows): applied patch from bug + #107450 to stop using X-specific calls. + + * glade/glade_menu_editor.c (glade_menu_editor_construct): Removed + long description from tooltip. Fixes bug #106055. + +2003-10-08 Damon Chaplin + + * glade.spec.in: applied patch from Rolando Nieves. Bug #113360. + +2003-10-08 Narayana Pattipati + + * glade/glade/editor.c (editor_on_button_press): + Beep if user tries to add a widget over an existing widget. + Bugzilla bug#115543. + +2003-10-08 Damon Chaplin + + * glade/gbwidgets/gbhbox.c (gb_box_set_size): don't show a warning + dialog if we can't delete any children. It causes weird problems + with the spinbutton in the property editor. Fixes bug #113637. + + * glade/gbwidgets/gbbutton.c (gb_button_toolbar_write_source): fixed + tooltips of stock buttons. Fixes bug #120396. + + * glade/gbsource.c (gb_widget_write_standard_source): use -1 to leave + the size unchanged rather than -2 when calling set_size_request(). + Fixes bug #112772. + + * README: add libxml to requirements. + + * autogen.sh: copy the standard autogen.sh stuff here, so we don't + rely on gnome-common. + +2003-09-02 Hasbullah Bin Pit + + * configure.in: Added 'ms' (Malay) to ALL_LINGUAS. + +2003-08-21 Daniel Baeyens + + * glade/glade_gnomedblib.c: + * glade/graphics/gnome-db-query-builder.xpm: + * glade/gnome-db/Makefile.am: + * glade/gnome-db/gnomedbquerybuilder.c: added support + for GnomeDbQueryBuilder widget + +2003-08-17 Daniel Baeyens + + * glade/glade_gnomedblib.c: + * glade/graphics/gnome-db-connection-properties.xpm: + * glade/gnome-db/Makefile.am: + * glade/gnome-db/gnomedbconnectprop.c: added support for + GnomeDbConnectionProperties widget + +2003-07-25 Pablo Saratxaga + + * configure.in: Added Macedonian (mk) to ALL_LINGUAS + +2003-07-14 Daniel Baeyens + + * glade/glade_gnomedblib.c: + * glade/graphics/gnome-db-editor.xpm: + * glade/gnome-db/Makefile.am: + * glade/gnome-db/gnomedbeditor.c: added support for GnomeDbEditor + widget + +2003-07-11 Daniel Baeyens + + * glade/glade_gnomedblib.c: + * glade/graphics/gnome-db-gray-bar.xpm: + * glade/gnome-db/Makefile.am: + * glade/gnome-db/gnomedbgraybar.c: added support for GnomeDbGrayBar + widget. + + * configure.in: incremented libgda/libgnomedb required versions. + +2003--6-17 Guntupalli Karunakar + + * configure.in: Added "ml" to ALL_LINGUAS. + +2003-05-31 Danilo Šegan + + * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS. + +2003-05-21 Yogeesh MB + + * glade-2.desktop.in:Added %F parameter to handle dnd glade file + on launcher. + Fixes bug #112978 + +2003-04-11 Damon Chaplin + + * Released Glade 2.0.0 + +2003-04-10 Damon Chaplin + + * glade/gbwidgets/gbtoolbar.c (gb_toolbar_new_toolbar_button): init + class_name to NULL. + + * glade/gbwidget.c (gb_widget_replace_child): get x & y of current + child and use for new child. + + * glade/glade_project.c (check_deprecated_widget): new function to + check for deprecated widgets. + (glade_project_write_cxx_source): use the above function and return + an error if deprecated widgets found, since gtkmm-2 doesn't support + them at all. + + * glade/main.c: try to use on-disk or UTF-8 filenames where + appropriate. I'm a bit unsure about what GnomeClient returns though. + I'm assuming it returns on-disk encoded paths. + + * glade/glade.c: removed glade_current_directory global variable + as it wasn't used. + + * glade/utils.c (glade_util_set_file_selection_filename) + (glade_util_get_file_selection_filename): new functions to convert + filenames between UTF-8 and on-disk encoding when using a + GtkFileSelection. + (glade_util_fopen): same as fopen but takes a UTF-8 filename and + converts to on-disk encoding. + + * glade/utils.c (glade_util_file_exists) + (glade_util_file_last_mod_time) + (glade_util_copy_file, glade_util_ensure_directory_exists): assume + filenames are input as UTF-8 and convert to on-disk encoding when + necessary. + + * glade/save.c: + * glade/source.c: + * glade/property.c: + * glade/glade_project_window.c: + * glade/glade_project_options.c: + * glade/glade_menu_editor.c: use the above utility functions. + We now assume all filenames are UTF-8 internally, and only convert to + on-disk encoding when we make system calls like fopen/stat/mkdir, + or we need to pass filenames to GtkFileSelection which expects + on-disk encoding. Fixes part of bug #107696. + + * glade/source.c (source_write_support_files): add a cast to avoid + syntax warning in support.c. Fixes bug #104159. + + * glade/property.c (show_stock_items): only show stock GTK+ items + in GTK+ projects. + (property_set_icon): call show_stock_items() here to make sure we + only show available stock items. (This means we may call it twice + as we call it when setting the icon size as well, but it shouldn't + matter too much.) + + * glade/glade_palette.c (glade_palette_set_show_gnome_widgets): new + function to show/hide the GNOME widgets according to whether we are + editing a GNOME project or not. + + * glade/glade_project_window.c (glade_project_window_setup_interface): + new function to set up the interface according to the project being + edited. Called when a project is created/loaded. + + * glade/glade_gnomelib.c: + * glade/glade_gtk12lib.c: + * configure.in: removed the alternative palette layout option, since + I want to hide GNOME widgets in GTK+ projects and that will make it + more complicated to do. + + * glade/glade_atk.c (glade_atk_load_relations): init relationship. + + * glade/gnome/gnomedruidpageedge.c (gb_gnome_druid_page_edge_create_properties): + * glade/gnome/gnomemessagebox.c (gb_gnome_message_box_create_properties): + * glade/gnome/gnomeabout.c (gb_gnome_about_create_properties): + * glade/gbwidgets/gblabel.c (gb_label_create_standard_properties): + increased height of text fields. + + * glade/property.c (property_add_text): never show the horizontal + scrollbar as it takes up too much vertical space. + + * glade/glade_gnomedblib.c: added GnomeDBDataSourceSelector back. + + * glade/property.c (add_signals_for_type, show_signals_dialog): for + accelerator signals only show ACTION signals, since others won't + work. + + * glade/glade_project.c (glade_project_write_ada95_source) + (glade_project_write_perl_source) + (glade_project_write_eiffel_source): improved error message a bit, + though they still aren't enabled in glade-2 so it doesn't matter yet. + + * glade/save.c (save_requires_tags): require GNOME for all GNOME + projects, even if they don't contain GNOME widgets. We do this as + they may still use GNOME stock items. + + * glade/tree.c (tree_init): use SINGLE selection mode rather than + MULTIPLE. + * glade/editor.c (editor_select_widget): don't allow ctrl-selection + to select multiple widgets, as it causes problems, isn't very useful, + and is a bit confusing since you can't change properties of multiple + widgets or cut & paste them. Should fix bug #99282. + + * glade/gbwidgets/gbimage.c (check_visible_sizes) + (check_icon_size): + * glade/glade_menu_editor.c (glade_menu_editor_construct) + (glade_menu_editor_construct): + * glade/property.c (create_stock_items): check if the icon_set + returned by gtk_icon_factory_lookup_default() is NULL. + May fix bug #105694, a nasty hang bug. + + * glade/property.c (on_signals_dialog_response): check for NULL + widget name (which can happen if you open the signals dialog, then + select a placeholder so no widget is shown in the property editor, + then select a signal and hit OK). Fixes bug #98267. + + * glade/gbwidgets/gbinputdialog.c (gb_input_dialog_write_source): + fixed code to handle the buttons. We were creating new buttons rather + than using the existing ones. + + * glade/gbwidget.c (gb_widget_save): for widgets in toolbars save + the 'new_group' property as a normal property as well as a packing + property, as libglade expects it to be a normal property. + + * glade/property.c: + * glade/palette.c: + * glade/tree.c: + * glade/glade_clipboard.c: + * glade/glade_project_window.c: patch from paolo borelli to make + 'Show XXX' menuitems on View menu into checkmenuitems. Bug #93744. + + * glade/gnome/gnomeapp.c: + * glade/gnome/gnomeiconlist.c (gb_gnome_icon_list_new): + * glade/gbwidgets/gbbutton.c: + * glade/gbwidgets/gbscrolledwindow.c (gb_scrolled_window_set_properties): + * glade/gbwidgets/gbnotebook.c (gb_notebook_set_properties): + * glade/main.c (final_setup_from_main_loop): got rid of warnings. + + * glade/glade_gnomelib.c: + * glade/gnome/Makefile.am (libgnomewidgets_a_SOURCES): removed + BonoboWindow since it isn't used (it was never finished). + + * glade-2.desktop.in: patch from Fernando Herrera to add bugzilla + info. + + * glade/gbwidget.c (gb_widget_new_full): changed 'gint type' to + 'GType type'. + + * glade/gbwidgets/gbtoolbar.c (gb_toolbar_add_child): init class_name + to NULL. May fix bug #98987. (From Glynn Foster.) + + * doc/Makefile.am (EXTRA_DIST): added xmldocs.make. + + * glade/gbwidgets/gbaccellabel.c (gb_accel_label_write_source): added + GTK_LABEL() macro to fix compile warning (Dermot Musgrove). + +2003-03-26 Christian Rose + + * configure.in: Added "yi" to ALL_LINGUAS. + +2003-02-05 Daniel Yacob + + * configure.ac: Added "am" (Amharic) to ALL_LINGUAS. + +2003-01-20 Pablo Saratxaga + + * configure.in: Added Dutch (nl) to ALL_LINGUAS + +2003-01-14 Rodrigo Moya + + * configure.in: require CVS version of libgda/libgnomedb. + + * glade/glade_gnomedblib.c: + * glade/gnome-db/gnomedbsqleditor.c: removed GnomeDbSqlEditor widget. + +2002-12-22 Marius Andreiana + + * configure.in: added doc/ro/Makefile + * doc/Makefile.am: added ro subdir + * doc/ro: added romanian translation + +2002-11-14 Dmitry G. Mastrukov + + * configure.in: Added Belarusian to ALL_LINGUAS. + +2002-11-02 Damon Chaplin + + * Released Glade 1.1.3 + +2002-11-02 Damon Chaplin + + * glade/property.c: include gdkkeysyms.h to fix GTK+ compilation. + + * glade/gbsource.c (lookup_signal_arg_names): rewrote to use a new, + more compact, table of signal argument name data. Updated the name + data for GTK+ 2, and also added names for libgnomeui and libgnomedb. + (get_type_name): set is_pointer to TRUE for POINTER subtypes, and + return GParamSpec* for G_TYPE_PARAM. + (gb_widget_write_signal_handler_source): updated to use new signal + argument name data. + + * glade/editor.c (editor_on_key_press_event): disabled the mouse-over + typing hack. It is difficult to guarantee it will work OK. + + * glade/source.c: use our autogen.sh for GTK+ and GNOME projects, + so generated projects don't depend on gnome-common. + Also removed GNOME_COMPILE_WARNINGS from generated configure.in, + and added back $(INTLLIBS) to the project's LDADD. + + * glade/data/gtk/autogen.sh: add a few bits from the current + autogen.sh in gnome-common. + + * glade/gbwidgets/gbwindow.c (on_toggle_default_width): + (on_toggle_default_height): fixed to pass -1 to reset values, and + to set the width/height again if the toggle is selected. + (Reported by Akihiko Yamawaki.) + + * glade/glade/glade_gnomedblib.c: hid GnomeDBDataSourceSelector as + it can't really be used with Glade - it requires a provider to be + set at init time. + + * glade/glade/gnome-db/*.c: added code generation to the new widgets. + + * glade/glade/graphics/gnome-db-*.xpm: updated a few icons. + +2002-10-16 Damon Chaplin + + * glade/gbwidgets/gbtextview.c (gb_text_view_init): use the GtkCList + emission hook thing to redraw whenever the text view is scrolled. + Otherwise our selection rectangle messes the display up. + + * glade/gbwidgets/gbclist.c (gb_set_scroll_adjustments_hook): + renamed this and made it public so GtkTextView can use it. + + * glade/glade_palette.c (on_notebook_switch_page): make sure the + button corresponding to the new page is depressed, in case accel + keys are used to switch pages. + (new_section): rearranged a little so the deprecated page is always + the last notebook page, so using accel keys to step through pages + steps through in correct order. + + * glade/property.c (propagate_key_press_to_main_notebook): new + function used to propagate Ctrl+PgDn/Up keypresses to the main + notebook to switch pages. Fixes part of bug #90938. + +2002-10-15 Damon Chaplin + + * glade/main.c (final_setup_from_main_loop): only use the saved + session file if it is newer than the real project file. + + * glade/source.c (source_write_main_c): don't translate comments, as + it causes problems with UTF-8. See bug #95435. + (source_write_no_editing_warning): same here. + + * glade/tree.c (tree_on_button_press): show popup menu on right-click. + (tree_add_widget): added icons back. + + * glade/gbwidget.h (struct _GbWidget): added pixbuf field, since we + need pixbufs for the GtkTreeView. + + * glade/gbwidget.c (gb_widget_init_struct): init pixbuf field to NULL. + + * glade/source.c (source_write_gtk_configure_in): bump up the version + check of GTK+ to 2.0.0. + + * glade/glade_project_window.c (glade_project_window_new): use the + global accel group. + + * glade/glade.c (glade_get_global_accel_group): new function to return + the global accelerator group to add to all windows, so that global + accelerators like Ctrl+S work in all windows. + + * glade/tree.c (tree_init): + * glade/palette.c (palette_create): + * glade/property.c (property_create): + * glade/glade_clipboard.c (glade_clipboard_init): + * glade/gbwidget.c (gb_widget_real_initialize): add the global accel + group to any new windows created. + + * glade/glade_project_window.c: when setting the palette sensitive or + insensitive, set the window's child sensitivity rather than the window + so that accelerator keys still work. + +2002-10-10 Damon Chaplin + + * glade/gbwidgets/gbnotebook.c: ifdef'ed out Tab H Border & V Border + properties, as they seem to be deprecated. + + * glade/gbwidgets/gbwindow.c: ifdef'ed out WM_NAME and WM_CLASS + properties, since they aren't needed and we've been using them + incorrectly for years. Oops! Should add Role instead at some point. + + * glade/gnome/gnomemessagebox.c: + * glade/utils.c (glade_util_gtk_combo_func): + * glade/gbwidgets/gblistitem.c (gb_list_item_write_source): + * glade/gbwidgets/gbtreeitem.c (gb_tree_item_write_source): + * glade/gbwidgets/gbvbuttonbox.c: + * glade/gbwidgets/gbhbuttonbox.c: + * glade/gbwidgets/gbradiobutton.c (gb_radio_button_create_properties): + * glade/gbwidgets/gblabel.c (gb_label_create_standard_properties): + * glade/gbwidgets/gbentry.c (gb_entry_write_source) + (gb_entry_set_properties): + * glade/property.c: + * glade/gbwidgets/gbhbox.c (gb_box_set_size): + * glade/gbwidgets/gbradiomenuitem.c: + * glade/glade_project_options.c (glade_project_options_init): + * glade/glade_palette.c (new_section): + * glade/glade_menu_editor.c: + * glade/editor.c (editor_show_grid_settings_dialog): + * glade/gbwidgets/gbdialog.c (show_dialog_creation_dialog): + * glade/gbwidgets/gbcombo.c: + * glade/gbsource.c (gb_widget_write_standard_source): + * glade/source.c: replaced deprecated code with new functions. + + * glade/gbwidgets/Makefile.am (libgbwidgets_a_SOURCES): removed + gbpixmap.c as we don't use it any more. GtkPixmap is deprecated and + GtkImage replaces it. + + * glade/glade_project_window.c (ToolBar): added 'New' command back to + the toolbar, since it is needed frequently now. + +2002-10-08 Damon Chaplin + + * doc/C/glade-user-guide/glade-user-guide-C.omf: + * doc/C/glade-turbo-start/glade-turbo-start-C.omf: + * doc/C/glade-faq/glade-faq-C.omf: patch from Frederic Crozat to + update to newer format. + + * glade.spec.in: Updated help file installation, from Dermot Musgrove. + Also updated the description & URL. + +2002-10-06 Damon Chaplin + + * configure.in (ALL_LINGUAS): removed ar. The po file has no + translated strings, an unset charset, no translator email address, + and no ChangeLogs were added. + +2002-09-25 Damon Chaplin + + * glade/gbwidgets/gbstatusbar.c (gb_statusbar_write_source): output + FALSE to turn resize grip off, not TRUE. Fix from Luc Dufresne. + +2002-09-16 Damon Chaplin + + * Released Glade 1.1.2 + +2002-09-16 Damon Chaplin + + * glade/glade_project_options.c (glade_project_options_init): added + Language option back. glade-- now works with Glade 2 XML files. + + * glade/glade_project.c: Set GladeNumLanguages to 2 (C & C++) for + now. + + * glade/glade_project.c (glade_project_write_cxx_source): updated + error message to suggest running glade-- in a terminal. It is often + intalled but outputs errors and fails. + + * glade/Makefile.am (glade_2_LDADD): added $(INTLLIBS) back. + Fixes bug #82688. + +2002-09-15 Damon Chaplin + + * glade/gnome-db/gnomedblogindlg.c (gb_gnome_db_logindlg_write_source): + use gnome_db_login_dialog_new() rather than old function name. + + * glade/gnome-db/gnomedbcombo.c (gb_gnome_db_combo_new): return a + new combo widget. + + * glade/source.c (source_write_interface_c_preamble): use + rather than the old gda-ui.h. + + * glade/editor.c (editor_set_show_grid) + (on_grid_settings_response): check if there is a project. Patch from + Jody Goldberg. Fixes bug #92733. + + * glade/gbwidgets/gbctree.c: Changed "columns" to "n_columns". Patch + from Owen Taylor. + (gb_ctree_new): Load "columns" or "n_columns" for compatability with + 1.1.1. Fixes bug #92522. + + * glade/gbwidgets/gbctree.c (gb_ctree_add_child): + * glade/gbwidgets/gbclist.c (gb_clist_add_child): Output a warning if + too many column title widgets are found, and skip them. This isn't + ideal, but shouldn't happen anyway. + + * glade/gbwidgets/gbmenubar.c (gb_menu_bar_setup_initial_menus): + * glade/glade_project.c (glade_project_add_pixmap) + (glade_project_remove_pixmap): + * glade/glade_clipboard.c (glade_clipboard_cut_or_copy): + * glade/gbwidget.c (on_widget_destroy): + * glade/editor.c (on_placeholder_destroy): + * glade/debug.c (glade_log_handler): removed debugging messages. + Fixes bug #92736. + +2002-09-12 Damon Chaplin + + * glade/gbwidget.c (gb_widget_replace_child): remove toolbar children + from the tree here, rather than waiting for them to be destroyed. + Something is holding a ref to them which causes a crash later when + they do eventually get destroyed and we try to remove them from the + tree. This is a temporary fix for bug #91116. Hopefully I'll figure + out what is holding the ref at some point. + + * glade/gbwidgets/gbradiomenuitem.c (gb_radio_menu_item_new): + * glade/gbwidgets/gbradiobutton.c (gb_radio_button_new): only set the + default group when creating the button/menuitem, not when loading. + Fixes bug #91101. + + * glade/property.c (property_redirect_key_press): copy the entire + GdkEventKey struct. There are a few new fields in GTK+ 2 that we were + missing. + + * glade/data/gtk/autogen.sh: skip configure.in files in CVS subdir, + since these shouldn't be processed. gnome-common also needs to be fixed + before GNOME projects will be OK. + + * glade/editor.c (editor_select_widget): + (on_size_allocate): + (editor_do_drag_action): GtkFixed doesn't normally have a window now, + so we need to subtract its allocation when handling coordinates of + its children. + + * glade/gbwidgets/gboptionmenu.c (gb_menu_bar_on_edit_menu): reset + the option menu's menu, after creating the menu editor dialog. + + * glade/gbwidgets/gbmenu.c (gb_menu_write_source): create the menu if + it is attached to an option menu. Fixes bug #90042. + + * glade/gbwidgets/gblabel.c (gb_label_write_standard_source): output + GTK_LABEL(%s) to avoid compiler warning. + + * glade/gnome/gnomeabout.c (gb_gnome_about_write_source): create a + pixbuf for the logo, rather than passing a string. Fixes bug #90044. + + * glade/gbwidgets/gbprogressbar.c: removed XAlign & YAlign properties + since GtkProgress is deprecated and GtkProgressBar doesn't allow you + to set these. + Removed 'Show Text' property since it is automatically shown if you + set the 'Text' property. + Removed the 'Activity Mode' property since it is automatically set to + activity mode when the app calls gtk_progress_bar_pulse(). + + * glade/tree.c (tree_init): + * glade/property.c (property_create): + * glade/palette.c (palette_create): + * glade/glade_project_window.c (glade_project_window_new): use + gtk_window_move() to set the initial positions again. Fixes part of + bug #88020 (all windows popping up in the same place). Though there + is still some confusion over what apps are supposed to do about + window positions. + + * glade/gbwidgets/gbtoolbar.c (gb_toolbar_write_source): output + gtk_toolbar_set_orientation() rather than gtk_toolbar_set_style() to + set the orientation. Fixes bug #86252. + + * glade/glade_project_window.c (glade_project_window_show_help_doc): + added #ifdef USE_GNOME around the functions for showing help. + Fixes bug #90009. + + * glade/gbwidget.c (get_standard_properties): output the tooltip for + menuitems. They have GTK_WIDGET_NO_WINDOW set now, but have an + input-only window so they can still have tooltips. + + * glade/glade_project_window.c (HelpMenu): added mnemonics for Turbo + Start and FAQ menuitems. Fixes bug #89984. + + * doc/xmldocs.make ($(docname).xml): changed spaces to tabs. + From Martin Schulze. Fixes bug #90008. + +2002-07-15 Damon Chaplin + + * Released Glade 1.1.1 + +2002-07-15 Damon Chaplin + + * glade/gbwidgets/gbhbuttonbox.c + (gb_hbutton_box_is_dialog_action_area): new function to check if the + hbbox is the GtkDialog action area. + (gb_hbutton_box_get_properties): + (gb_hbutton_box_set_properties): + (gb_hbutton_box_write_source): don't handle the spacing property for + the GtkDialog action area. + + * glade/utils.c (glade_util_uses_border_width): return FALSE for the + GtkDialog action area button box. It uses a style property. + + * glade/gbwidget.c (gb_widget_create_properties): + (get_standard_properties): + (get_standard_properties): always create the border width property, + but hide it for specific widgets that don't need it. + +2002-07-03 Damon Chaplin + + * glade/gbwidget.c (gb_widget_load): skip the "hscrollbar" and + "vscrollbar" children of scrolled windows, as we don't support settings + for them. libglade-convert outputs them. + (gb_widget_replace_child): get rid of any "vscrollbar" or "hscrollbar" + child name. They shouldn't be there, but may be in bad 1.1.0 files. + Fixes bug #84010. + + * glade/utils.c (glade_util_uses_border_width): return FALSE for the + vbox child of a GtkDialog. The border width is set by a GTK+ style + property here. Fixes bug #86307. + +2002-07-02 Damon Chaplin + + * glade/gbwidgets/gbimagemenuitem.c: Use "label" and "use_stock" + properties for stock items, to be compatable with libglade. We still + load in the old "stock" property so 1.1.0 files can be loaded. + The label for the "New" stock item can't be changed now, though. + + * glade/glade_menu_editor.c: stop user editing "New" stock item label. + Also removed lots of debugging messages. + +Tue Jun 25 15:20:33 2002 Jonathan Blandford + + * glade/property.c (add_signals_for_type): Add support for + interfaces in the list of possible signals. + +2002-06-18 Damon Chaplin + + * glade/gbwidget.c (gb_widget_remove_alignment): + (gb_widget_remove_event_box): + (gb_widget_remove_scrolled_window): remove the alignment/event box + from the tree first, before rearranging the widgets. + + * glade/tree.c (tree_remove_widget_parent): get rid of this function, + as it doesn't work. + + Fixes bug #85483. + +2002-06-18 Damon Chaplin + + * glade/gbwidget.c (gb_widget_load): ignore the old + "BonoboDock:contents" child name. It is implicit now. + + * glade/gnome/gnomeapp.c: + * glade/gnome/bonobowindow.c: + * glade/gnome/bonobodock.c: don't use GladeChildBonoboDockContents. + The contents widget is implicit now, to be compatable with libglade. + + * glade/gb.[hc]: remove GladeChildBonoboDockContents child name. + + * glade/editor.c (delete_placeholder): check if parent is a BonoboDock + and don't delete it, rather than checking for the old child name. + + Fixes bug #85637. + +2002-06-16 Havoc Pennington + + * glade/Makefile.am (dist-hook): add simple srcdir != builddir + fix + +2002-06-10 Damon Chaplin + + * glade/gnome/bonobodock.c: use GladeChildBonoboDockContents rather + than the old "BonoboDock:contents". Note that this is still broken wrt + libglade, since libglade creates a vbox automatically. + + * glade/gbwidgets/gbwindow.c (gb_window_write_standard_source): fixed + gtk_window_set_icon() call in generated code. Fixes bug #84434. + + * glade/editor.c (editor_delete_widget): updated code to handle + deleting GnomeDruid pages. + +2002-06-07 Damon Chaplin + + * glade/gnome/gnomecontrol.c (do_query): changed the query to just + "glade:show". So controls have to set that attribute if they want to + appear in Glade. e.g. in the .server.in.in: + + + + Sort of avoids bug #78060, as controls only get shown if they are + intended to be used in Glade. + +2002-06-06 Damon Chaplin + + * glade/Makefile.am (INCLUDES): + * glade/source.c (source_write_gtk_makefile_am): + (source_write_gnome_makefile_am): use $(prefix)/$(DATADIRNAME)/locale + so Glade & the generated apps work with Solaris gettext. Fixes #83646. + +2002-06-04 Damon Chaplin + + * doc/C/glade-user-guide/glade-user-guide.xml: use article rather than + book, as that is what most other apps do and the result in yelp is + nicer. Also changed chapter -> sect1, sect1 -> sect2, sect2 -> sect3. + And fixed the paths to the figures. + + * doc/xmldocs.make: set appid and use that as the directory name + rather than docname. We need this as we have 3 docs. + + * glade/main.c (main): use 'glade-2' as the app-id. It is used to + find the help files, so we have to make sure we install them with + the same directory name. + + * glade/glade_project_window.c (glade_project_window_show_help_doc): + (glade_project_window_show_turbo_start): + (glade_project_window_show_glade_faq): functions to show the help + docs. + (HelpMenu): added menuitems for them. + + Fixes bug #79480, I think. + + * glade/gbwidget.c (gb_widget_save): + * glade/gbsource.c (gb_widget_write_source): + * glade/editor.c (delete_placeholder): use proper child names. + Probably fixes bug #84010. + +2002-06-02 Damon Chaplin + + * glade/gbwidgets/gblabel.c (gb_label_create_standard_properties): + fix typo in tooltip. Bug #83876. + +2002-06-01 Damon Chaplin + + * glade/gbwidgets/gbtoolbar.c (gb_toolbar_insert_toolbar_child): + switch the order of the arguments. Fixes bug #83299. + (gb_toolbar_write_source): generate code to set the style and + orientation. + +2002-05-29 Damon Chaplin + + * glade/property.c: + * glade/glade_project_view.c: + * glade/glade_project_options.c: + * glade/glade_project.c: + * glade/glade_palette.c: + * glade/glade_menu_editor.c: + * glade/glade_keys_dialog.c: + * glade/glade_clipboard.c: Use GType rather than guint, so 64-bit + systems are happy. Patch from George . + +2002-05-24 Damon Chaplin + + * glade/gbwidgets/gbimage.c (check_visible_sizes): use G_N_ELEMENTS + macro here instead of GladeIconSizeChoicesSize. The Sun C 5.0 compiler + doesn't seem to like that. Fixes bug #82667. + +2002-05-21 Damon Chaplin + + * glade.spec.in: applied update from Dermot Musgrove. + +2002-05-17 Damon Chaplin + + * Released Glade 1.1.0 + +2002-05-17 Damon Chaplin + + * glade/glade_project_window.c (HelpMenu): removed help contents item + for now as it doesn't work. + +2002-05-16 Damon Chaplin + + * glade/main.c (final_setup_from_main_loop): in the GNOME version, + if no project is loaded from the command-line arg, set the current + project to NULL and make the palette insensitive. + + * glade/glade_project_window.c (glade_project_window_new_project): + don't prompt about creating a new project if we don't currently have + one, as there is no chance of losing data. And destroy the dialog + before calling on_new_project_ok() in case that pops up another dialog. + (glade_project_window_on_new_project_ok): in the GNOME version show + a dialog for the user to choose between a GNOME and GTK+ project. + Also make the palette sensitive after creating a new project. + (glade_project_window_open_project): make the palette sensitive or not + according to whether we now have a project. + (glade_project_window_show_no_project_warning): new function to show + a warning dialog when the user clicks Save/Options/Build commands when + there is no current project. + + * glade/glade_project_view.c (glade_project_view_set_project): handle + project being NULL. (May need fixing in a few other places as well.) + + * glade/glade_project_options.c (glade_project_options_init): make + Gnome support option insensitive. It can't be changed after creating + the project now. + + * glade/gbsource.c (get_type_name): updated to handle a few new GTK+ + types, so generated signal handler functions should compile. + + * glade/gnome/gnomeabout.c (gb_gnome_about_response_cb): connect our + own response handler to stop the dialog being destroyed. Fixes #81997. + +2002-05-15 Pablo Saratxaga + + * configure.in: Added Vietnamese (vi) to ALL_LINGUAS + +2002-05-13 Damon Chaplin + + * glade/gbwidget.c (gb_widget_save): only check for the Moniker in + the Gnome version. + + * glade/main.c (get_session_file): wrap in '#ifdef USE_GNOME' as it + uses GnomeClient, from Felix Natter . + +2002-05-13 Damon Chaplin + + * glade/gladeconfig.h (_): remove extraneous comma in dgettext call, + from Felix Natter . + +2002-05-08 Duarte Loreto + + * configure.in: Added Portuguese (pt) to ALL_LINGUAS. + +2002-04-22 Damon Chaplin + + * glade/property.c (property_get_choice): use gtk_menu_get_active() + to get the last selected item when the menu is showing. The old way + didn't seem to work any more (if it ever did). + + * glade/glade_project_window.c: Use "Project" instead of "File" in + the menubar, and changed a few item labels. + + * glade/glade_project_options.c (glade_project_options_init): hide + the language option. We'll add it back when generators have been + ported to GTK+/GNOME 2 and the new XML format. + + * glade/glade_palette.c (new_section): create the button label with + a mnemonic accelerator, and place the "Deprecated" section at the end. + + * glade/glade_gnomedblib.c: + * glade/glade_gnomelib.c: + * glade/glade_gtk12lib.c: moved deprecated widgets onto a "Deprecated" + page, rearranged a little, and added mnemonics to the page buttons. + + * glade/gbwidgets/gbaspectframe.c: + * glade/gbwidgets/gbframe.c: use a GbWidget child for the label widget, + rather than just showing a 'Label' text property. We save a special + "type" packing property set to "label_item" to match libglade. + + * glade/gb.h: declare a few gb_frame_XXX() functions, so + gbaspectframe.c can use them. + + * glade/editor.c (delete_placeholder): handle frame's label widget, + which can be deleted on its own. + + * glade/gnome/gnomecontrol.c: use new icon. It isn't very good, but + I couldn't think of anything better. + + * glade/graphics/*: resaved a few of the icons which weren't being + displayed properly. Updated radio/checkbutton to new GTK+ 2 look. + Fixed gnome-db-dsnconfig.xpm which had some strange characters in it. + Updated gnome-about.xpm. Add gnome-control.xpm. + +2002-04-19 jacob berkman + + * COPYING: add + +2002-04-19 Damon Chaplin + + * glade/save.c (save_xml_file_internal): init GbWidgetGetArgData to + { 0 }. + (save_string_internal): save any agent parameter. + + * glade/property.c: removed C++ 'Use Heap' property, and moved + 'Separate Class' above 'Separate File' since the latter depends on + the former. + + * glade/load.c (real_load_project_file): init GbWidgetSetArgData to + { 0 }. + (load_get_value): if data->agent is set, only check for properties with + the same agent, e.g. "glademm". + + * glade/glade_widget_data.[hc] (struct _GladeWidgetData): removed + cxx_use_heap as it isn't used any more. And removed code to init/copy + it. + + * glade/glade_clipboard.c (glade_clipboard_cut_or_copy): init the + GbWidgetGetArgData to { 0 }. + (glade_clipboard_paste): same for the GbWidgetSetArgData here. + + * glade/glade-parser.c (struct _GladeParseState): added prop_agent, + and basically copied what we do for prop_name in most of the code. + + * glade/glade-parser.h (struct GladeProperty): added agent field, to + store any agent parameter. + + * glade/gbwidget.c (get_lang_specific_properties): set data->agent + while we save the C++ properties. Also make the 'Separate File' + property insensitive if 'Separate Class' is off. + (set_lang_specific_properties): set data->agent again, and update + sensitivity of 'Separate File' property if appropriate. + (gb_widget_replace_child): handle the GtkFrame label widget. Not used + yet. + + * glade/gbwidget.h (struct _GbWidgetGetArgData): + (struct _GbWidgetSetArgData): added agent field, to use when loading + or saving properties that need an agent parameter, e.g. "glademm". + +2002-04-18 Damon Chaplin + + * glade/glade_gnomelib.c (gnome_page): moved Bonobo control onto the + Gnome page and removed the Bonobo page. + + * glade/gbwidget.c (gb_widget_load): after calling gb_widget_new_full() + check if the widget was created and just return an error if creation + failed. It could fail for Bonobo controls. + + * glade/gbwidgets/gboptionmenu.c (gb_option_menu_write_source): only + set the history id if it is > 0. It will be -1 if there is no menu. + + * glade/glade_gnome.c (glade_gnome_setup_initial_menus): moved here + from gnomeapp.c. GtkMenuBar uses it as well now. + + * glade/gbwidgets/gbmenubar.c (gb_menu_bar_new): in GNOME projects + use glade_gnome_setup_initial_menus() to add the initial items, since + we need to use the GNOME stock system rather than the GTK+ one. + + * glade/gnome/gnomecontrol.c (on_control_dialog_ok): check if a widget + is returned, and show a warning dialog if it couldn't be created. + Fixes bug #77471. + + * glade/gnome/gnomeapp.c (gb_gnome_app_setup_initial_app): moved the + code to create the initial menus to glade_gnome.c, so we can share it + with GtkMenuBar. + +2002-04-17 Damon Chaplin + + * glade/glade_menu_editor.c (set_submenu): check image is not NULL + before trying to get icon_name from it. + + * glade/glade_gnome.c (glade_gnome_write_menu_item_source): use the + child menu name to create the uiinfo name. In the old Glade the menus + were created automatically and the names were based on the menuitems. + But they are proper GbWidgets now, so we can't assume any names. + + * glade/gbsource.c (gb_widget_write_source): don't create the standard + widget (that we use to get a few default values from) for Bonobo + controls. + + * glade/glade-parser.[hc]: fix comments. + + * glade/gbwidgets/gbhbuttonbox.c (gb_hbutton_box_write_add_child_source): check child_name is not NULL before calling strcmp() with it. + +2002-04-15 Damon Chaplin + + * glade/source.c (source_write_main_c): use GETTEXT_PACKAGE rather + than PACKAGE for the textdomain stuff, and call + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8") to make sure we + get UTF-8. + +2002-04-15 Damon Chaplin + + * glade/glade-parser.[hc]: changed to GPL, as I'm not sure what the + implications of leaving LGPL code in a GPL app are. (The LGPL license + lets you change code to GPL if you want to.) + +2002-04-15 Damon Chaplin + + * glade/gbwidget.c (gb_widget_load): Use the GbWidget pointer in the + widget data, after creating the widget, as it may be different from + the one we started with (for Bonobo controls). + (gb_widget_save): Save Bonobo controls with a class of 'BonoboWidget'. + The 'Moniker' property will store the type of the control. + + * glade/utils.c (glade_util_uses_border_width): new function to return + TRUE if the widget needs a 'Border Width' property. Most containers + do, but Bonobo controls don't. + + * glade/gbwidget.c (set_standard_properties): + (get_standard_properties): + (gb_widget_create_properties): use the above. + + * glade/gnome/gnomecontrol.c: create a GbWidget for each type of + Bonobo control, as needed. We have to do this for the property editor + to work properly. + + * glade/gbwidget.c (add_standard_bottom_menu_items): don't add the + add/remove alignment menu commands for menus or menuitems. Fixes + bug #77361. + +2002-04-11 Damon Chaplin + + * glade/glade_gnome.c (glade_gnome_write_menu_item_source): check + image is not NULL before trying to get the icon name. + + * glade/gbsource.c (gb_widget_write_source): check the menu exists + before checking it is a GbWidget. + + * glade/gb.c: added GladeParentKey, which we use if we need to store + a pointer to the widget's parent. + + * glade/gbwidgets/gbcombo.c (gb_combo_new): save a pointer to the + combo inside the popup window, so we can step up the widget tree. + (gb_combo_write_source): generate code to do the same, so + lookup_widget() will work OK when passed a combo popup window/list. + + * glade/source.c (source_write_support_files): in lookup_widget() use + the special parent pointer if no normal parent is found. + + * glade/gbwidgets/gbbutton.c (gb_button_set_properties): only update + the response id property if it has changed due to a stock id change. + Otherwise it gets confused and doesn't change at all. + + * glade/utils.c (glade_util_check_is_stock_id): keep a static hash + table of all stock ids and check if the given stock id is in there. + gtk_stock_lookup() checks if it is a stock item with a label, which + we don't want. + + * glade/glade_project.c (glade_project_load_option): + (glade_project_load_options): only use the base directory if we have + one. When loading a saved session we may not have an xml filename so + we won't have a base directory. + +2002-04-10 Damon Chaplin + + * glade/glade_atk.c: removed table caption property for now, as it + doesn't work due to a bug in ATK. + +2002-04-10 Damon Chaplin + + * glade/gbsource.c (gb_widget_write_source): check the option menu's + menu is a GbWidget. It won't be for an empty menu. Fixes part of bug + #77973. + + * glade/gnome/gnomepixmap.c (gb_gnome_pixmap_write_source): check + filename is NULL before checking *filename. Fixes part of bug #77973. + + * glade/glade_gnomelib.c (bonobo_page): hide BonoboWindow, until we + support it. + +2002-04-09 Damon Chaplin + + * glade/tree.c: changed to use GtkTreeView rather then GtkCTree. + This should avoid bug #61752. I need to add back the widget icons and + the popup menu at some point. + + * glade/save.c: save to GladeSessionFile if it is set. This is a new + global variable that we only set when saving or loading a session. + When saving a session, we don't backup the files or save translatable + strings. + + * glade/property.c: made win_property global, as we need it for SM. + + * glade/main.c: added support for Session Management. I added new + command-line options to show/hide windows, and code to save the + project files in ~/.gnome2/glade-2.d/session/. + + * glade/load.c (real_load_project_file): use GladeSessionFile if it is + set. + + * glade/glade_project_window.c (glade_project_window_open_project): + only update the current directory if filename is set. When loading + the session it won't be. + + * glade/glade_project.c (glade_project_load_options): use + GladeSessionFile if it is set, and don't change any of the settings + if it is set. + + * glade/editor.c (editor_set_selection): new function to set all the + selected widgets, which the widget tree now uses. + + * doc/C/glade-user-guide/glade-user-guide.xml: fixed XML. + +2002-04-07 Zbigniew Chyla + + glade/main.c (main): Added bind_textdomain_codeset() call to make sure + that gettext returns UTF-8 strings, used GETTEXT_PACKAGE for + localization (not PACKAGE). + glade/gladeconfig.h: s/PACKAGE/GETTEXT_PACKAGE/ + +2002-04-03 Damon Chaplin + + * glade/gbwidgets/gbimage.c: removed debugging messages, one of which + caused a SEGV. Fixes bug #77470. + +2002-04-02 jacob berkman + + * doc/C/glade-faq/legal.xml: + * doc/C/glade-turbo-start/legal.xml: + * doc/C/glade-user-guide/legal.xml: add missing files to fix build + +2002-04-01 Damon Chaplin + + * doc/C/glade-turbo-start/*: + * doc/C/glade-user-guide/*: + * doc/C/glade-faq/*: + * doc/C/Makefile.am: + * Makefile.am: + * configure.in: updated docs for GNOME 2. I've converted the doc + headers to the XML stuff, but I'm not sure if the docs are valid yet, + as I can't test. + + * omf-install/Makefile.am (omf_dest_dir): change to 'glade-2'. + +2002-04-01 Damon Chaplin + + * glade/gbwidgets/gbbutton.c (gb_button_toolbar_write_source): output + a hack to set the "use_underline" property of toolbar button labels, + so mnemonic accelerators work. + + * glade/main.c: started adding session management support. Doesn't + do much yet except restart Glade. + + * glade/tree.c: + * glade/property.c: + * glade/palette.c: + * glade/editor.c: + * glade/glade_project_window.c: commented out set_uposition() calls + to set the initial position of the windows. I'm not sure we should do + that, or if it will cause problems with SM. It should maybe use + gtk_window_move() instead now, if it does set the positions. + + * glade/glade_menu_editor.c (glade_menu_editor_construct): added + mnemonic accels for the buttons. + + * glade/glade_gnome.c (glade_gnome_is_first_radio_menu_item_in_group): + updated so it just checks if the group GSLists are the same. + + * glade/glade_clipboard.c (glade_clipboard_cut_or_copy): if the widget + being cut/copied isn't a toplevel, we insert a dummy toplevel window + so we can still store the packing properties. + (glade_clipboard_paste): init the all_widgets hash so it contains + pointers to all widgets already in the component. Thus ATK relations + to targets in the same component will still work after cut & paste. + Also if a dummy toplevel window was inserted in cut/copy, skip it when + pasting by using the first child. + + * glade/gbwidget.c (gb_widget_load): use widget_info->name when saving + pointers to the widgets in the all_widgets hash, so that when pasting + we store the original names of the widgets, not the name after + renaming. + + * glade/gnome/gnomecontrol.c: defined BONOBO_DISABLE_DEPRECATED and + BONOBO_UI_DISABLE_DEPRECATED to make sure we don't use deprecated + stuff. + + * glade/gbwidgets/gbimage.c (gb_image_set_properties): + (gb_image_get_properties): use "pixbuf" rather than "file" property, + so libglade works OK. + +2002-03-29 Damon Chaplin + + * glade/gnome/gnomedateedit.c (gb_gnome_date_edit_set_properties): + removed some 'ifdef'ed out code that we don't need now. + + * glade/gnome/gnomeapp.c: use "New" rather than "New File" for the + initial menu item. Moved "Preferences" from Settings menu to Edit menu, + and removed Settings menu. However we now have 3 menuitems on the Edit + menu using 'p' as the accelerator - Paste, Properties and Preferences. + I don't know what we should do. + Removed the stock toolbar stuff, and created using normal functions + instead. Also don't set the menubar border width. + + * glade/gnome/bonobowindow.c: remove the stock toolbar stuff, and + don't set the menubar border width. + + * glade/gnome/bonobodockitem.c (gb_bonobo_dock_item_add_child): + removed code to setup menubar/toolbar. I don't think we need it, but + I'm not sure yet. We still have the problem of how to handle specific + settings vs using user default settings. + +2002-03-29 Damon Chaplin + + * glade/gbwidgets/gblabel.c (gb_label_find_mnemonic_widget): only + return TRUE for labels whose parents have an activate_signal method + (i.e. buttons), or menuitems. We were returning TRUE for too many + things. + +2002-03-28 jacob berkman + + * configure.in: add AC_PATH_XTRA check + +2002-03-28 Damon Chaplin + + * glade/gb.h: added declarations for gb_button_find_radio_group() + and gb_button_toolbar_find_child_widgets(), and removed old + gb_toolbar_get_toolbar_radio_group_widget(). + + * glade/glade_gnome.c: removed stock pixmap stuff. We use GTK+ stock + pixmaps now instead. + + * glade/gbwidgets/gbtoolbar.c: removed lots of old code for handling + toolbar buttons. gbbutton.c now does this. + + * glade/gbwidgets/gbradiobutton.c: + * glade/gbwidgets/gbbutton.c (gb_button_find_radio_group): moved this + here from gbradiobutton.c so the code generation stuff can use it. + (gb_button_toolbar_write_source): updated to use the above rather than + the old gb_toolbar_get_toolbar_radio_group_widget(). + +2002-03-27 Damon Chaplin + + * glade/utils.c (glade_util_string_from_flags): fixed this so it + handles enum values of 0. It would get into an infinite loop before. + + * glade/load.c (load_parse_date): check for NULL or empty string + and return 0. + + * glade/glade_menu_editor.c: updated to handle GNOME stock items. + We use the old GNOME stock system for menus in GNOME projects, and + use the GTK+ stock system when Glade is built without GNOME support + or the project has GNOME support turned off. + Also updated the radio group code to use widget names for the groups + rather than the old group names. + This all needs quite a bit more testing. + + * glade/glade_gnome.c: removes stock menu pixmap and stock button + stuff, since we use the GTK+ stock for that now. + (glade_gnome_write_menu_item_source): check for GtkSeparatorMenuItem + as well as empty menuitems now. + (glade_gnome_write_menu_item_source): updated to use GTK+ stock ids + for the pixmaps, rather than our old array. + + * glade/glade-parser.c (handle_signal): load "last_modification_time". + + * glade/glade-parser.h (GladeSignalInfo): added last_modification_time. + + * glade/gbwidget.c (copy_signals): load the last_modification_time. + (gb_widget_save): call gb_bonobo_dock_item_save_packing_properties() + for GnomeDockItems. + + * glade/gbwidgets/gbimage.c (gb_image_write_source): don't generate + code for the GtkImage if it is in a GtkImageMenuItem in a GNOME + project. It is handled by the GnomeUIInfo structs. + + * glade/gbwidgets/gbseparatormenuitem.c: + * glade/gbwidgets/gbimagemenuitem.c: just call + glade_gnome_write_menu_item_source() to generate the code if it is a + GNOME project. + + * glade/gbwidgets/gbimagemenuitem.c: + * glade/gbwidgets/gbmenuitem.c: don't create a 'Label' property in + the property editor. For now we only support editing menu stuff in the + menu editor. + + * glade/gbwidgets/gbimagemenuitem.c: + * glade/gbwidgets/gbradiomenuitem.c: + * glade/gbwidgets/gbcheckmenuitem.c: + * glade/gbwidgets/gbmenuitem.c: don't create a popup menu command + to remove the label. For now we only support editing menu stuff in the + menu editor. + + * glade/gbwidgets/gbradiomenuitem.c: + * glade/gbwidgets/gbcheckmenuitem.c: removed "always_show_toggle" + property since it is deprecated and useless. + + * glade/gbwidgets/gblabel.c: + * glade/gbwidgets/gbaccellabel.c: don't store the label text in the + object's data. Just use the actual label text. I was thinking of + displaying an error message in the label when the markup was invalid, + in which case we needed to store the label text elsewhere. But I + didn't do that, so we can use the normal label text. This was causing + a problem with buttons, which knew nothing about the label in the + object's data. Fixes bug #75621. + + * glade/gnome/bonobodockitem.c (gb_bonobo_dock_item_get_properties): + only output the behavior properties when showing, and don't save + the packing properties here. + (gb_bonobo_dock_item_save_packing_properties): new function to save + the packing properties. gb_widget_save() calls this explicitly. + (gb_bonobo_dock_item_set_properties): when loading, load the behavior + flags from the "behavior" packing property. + + * glade/gnome/bonobodock.c (gb_bonobo_dock_add_child): load the dock + item properties from the packing properties rather than normal + properties. + +2002-03-21 Damon Chaplin + + * glade/glade_atk.c (glade_atk_update_relation_dialogs): new function + that the property editor calls when the widget shown is changed. + It refreshes all the relations dialogs to reflect the relations for + the new widget. + (glade_atk_write_relations_source): generate code for relations. + + * glade/property.c (property_set_widget): call + glade_atk_update_relation_dialogs(). + +2002-03-20 Damon Chaplin + + * glade/glade_gnome.h: removed declaration of GnomeDialogPrivate, as + we don't need it. + + * glade/glade_gnome.c: removed glade_gnome_is_gnome_dialog_button(). + The gbbutton code figures this out now. + + * glade/gbwidget.c (get_standard_properties): allow all GtkButton + subclasses to have tooltips. These use InputOnly windows now, so + tooltips work, even though they are NO_WINDOW widgets. + + * glade/glade_clipboard.c (glade_clipboard_paste): + * glade/gbsource.c (gb_widget_write_source): removed use of old + "GnomeDialog:action_area" child name. + + * glade/editor.c (editor_set_cursor): only set mouse_over_widget to + GbWidgets, or the pointer will become invalid if the widget is + destroyed. Fixes bug #74386. + Removed a lot of debug messages. + + * glade/gbwidgets/gbdialog.c (add_button): make the help button + secondary. + Removed the 'No/Yes' buttons option, as people are not supposed to use + that. + + * glade/gbwidgets/gbbutton.c (gb_button_gnome_find_child_widgets): + check for hbox inside hbox, which is what GNOME uses in buttons. + (gb_button_gnome_recreate_children): create hbox in hbox, rather than + just one hbox, to match what GnomeDialog does. + (gb_button_set_properties): when the response_id changes, set the + child_secondary flag, TRUE for HELP, FALSE otherwise. + + * glade/gnome/gnomemessagebox.c (gb_gnome_message_box_write_source): + removed the hack to create the message box with an OK button and then + remove it. It isn't needed any more. Also removed the other hacks to + handle the action area. We can just do the same as GnomeDialog now. + + * glade/gbwidgets/gbhbuttonbox.c (gb_hbutton_box_write_source): removed + old hack for GnomeMessageBox source code. + +2002-03-18 Damon Chaplin + + * glade/load.c (real_load_project_file): create the all_widgets hash + before loading, and call new function, load_atk_properties(), to load + ATK properties for each component after creating all widgets. + + * glade/glade_widget_data.h (struct _GladeWidgetData): added relations + field, which is a GList of GladeRelation*. + + * glade/glade_widget_data.c: added support for relations. + + * glade/glade_atk.c: added support for relations. Doesn't generate + code yet, though. + + * glade/gbwidget.h: added declaration of GladeWidgetInfoKey, which we + use to store a pointer to the GladeWidgetInfo inside each widget while + loading. We need it to set ATK properties after creating everything. + Also added all_widgets hash to GbWidgetSetArgData which contains all + the widgets in the interface, keyed by their name. We need this to + resolve ATK relations. + + * glade/gbwidget.c (set_standard_properties): remove call to + glade_atk_load_properties(). We now set them after creating all the + widgets, so we can resolve ATK relations. + (gb_widget_load): add the new widget to the all_widgets hash, and + store a pointer to the GladeWidgetInfo in it. + + * glade/glade_clipboard.c (glade_clipboard_paste): initialize + all_widgets to NULL. + + * glade/glade_project.c: + * glade/gbwidgets/gbscrolledwindow.c: + * glade/gbwidgets/gbbutton.c: removed debugging messages. + +2002-03-15 Damon Chaplin + + * glade/source.c (source_write_component): output the GLADE_ATK_SOURCE + buffer after the accelerators. + (source_write_support_files): output the declaration of a new support + function, glade_set_atk_action_description(). + (source_write_support_files): output the function here. + + * glade/save.c (save_buffer_add_indent): renamed from save_indent(), + and now takes a buffer and an indent value so we can call it from the + ATK code. + Made save_add_translatable_string(), save_buffer_add_indent(), and + save_buffer_add_string() global so the ATK code can use them. + + * glade/property.c (property_create): set tab vborder to 0, so it + doesn't get too big when we add the ATK icon. + (property_create): call glade_atk_create_property_page() to create + the a11y page. + + * glade/main.c (main): add "gail" to GTK_MODULES to ensure it is + loaded. We need it loaded to query for accessibility properties. + + * glade/gbwidget.c (set_standard_properties): added call to + glade_atk_set_properties() or glade_atk_load_properties(). + (gb_widget_save): added call to glade_atk_save_properties(). + (get_standard_properties): added call to glade_atk_get_properties(). + + * glade/gbsource.h (enum): added GLADE_ATK_SOURCE buffer. + + * glade/gbsource.c (gb_widget_write_standard_source): added call to + glade_atk_write_source(). + + * glade/Makefile.am: added glade_atk.[hc] + +2002-03-13 Damon Chaplin + + * glade/property.c (property_set_icon_filesel): new function to + turn on/off the file selection in icon properties. + + * glade/glade_project_window.c (FileMenu): use the same icons as the + GTK+ version, GTK_STOCK_CONVERT for 'Build Source' and + GTK_STOCK_PROPERTIES for 'Project Options'. + + * glade/gbwidgets/gbbutton.c: updated to handle GnomeDialog buttons. + These can be stock items or be stock icons with a label. But they can't + have user-defined icons or have user-defined contents. Ugh. + + * glade/gbwidgets/gbimage.c: save the icon size as an integer rather + than the enum symbol string. This sucks, since the saved integer is + the enum value, which is pretty meaningless. + + * glade/gnome/gnomemessagebox.c (gb_gnome_message_box_new): + * glade/gnome/gnomedialog.c (gb_gnome_dialog_new): updated to set + GladeButtonStockIDKey with the stock id strings rather than the old + integer indexes. + + * glade/glade_project_window.c (glade_project_window_about): updated + the GTK+ About dialog to match the GNOME one fairly closely, but + without the Credits button. + + * glade/gbwidgets/gbhbuttonbox.c: include . + +2002-03-11 Johan Dahlin + + * glade/gnome/gnomecontrol.c (do_query): Changed + bonobo_activation_query to skip all panel applets, + because most of them crash at the moment. + +2002-03-11 Damon Chaplin + + * configure.in: removed stuff to set GLADE_LOCALE_DIR and + GLADE_DATA_DIR. We use -D flags instead now. + + * acconfig.h: removed GLADE_LOCALE_DIR and GLADE_DATA_DIR. + + * glade/Makefile.am (INCLUDES): set GLADE_LOCALEDIR here. + (GLADE_DATADIR was already being set here.) + + * glade/source.c (source_write_main_c): use gnome_program_init() rather + than old gnome_init(), and set the APP_DATADIR so we can use it to + find pixmaps. + Removed code to add the source directory as a pixmaps directory for + now. Need to pass in a -DPACKAGE_SRC_DIR and use that if we want to. + (source_write_gtk_autogen_sh): updated to use new GLADE_DATADIR. + (source_write_gtk_configure_in): removed all the rubbish to set + the PACKAGE_LOCALE_DIR and PACKAGE_DATA_DIR in config.h. + (source_write_gtk_makefile_am): We now just use -DPACKAGE_DATA_DIR and + -DPACKAGE_LOCALE_DIR here like everyone else does. + (source_write_gnome_configure_in): ditto for GNOME apps. + (source_write_gnome_makefile_am): ditto for GNOME apps. + (source_write_acconfig_h): removed PACKAGE_LOCALE/DATA/SOURCE_DIR. + (source_write_gnome_create_pixmap_functions): use + gnome_program_locate_file() rather than gnome_pixmap_file(). + (source_write_gnome_create_pixmap_functions): output a create_pixbuf() + function as well. + (source_create_pixbuf): new utility function to output a call to + create_pixbuf() in the code. The output is slightly different for + GTK+ and GNOME apps. + + * glade/save.c (save_color): use %04x rather than %4x for the colors, + so they are zero-padded. + + * glade/main.c: include bonobo.h, use GLADE_LOCALEDIR rather than old + GLADE_LOCALE_DIR. + + * glade/glade_project_window.c (glade_project_window_about): removed + unused hbox, href vars. + + * glade/glade-parser.c: few updates from libglade code. Still a few + changes to incorporate. Though we may have to use more of our own code + to handle agent parameters. + + * glade/gbwidget.h: updated comment to note that the returned value + of gb_widget_input_pixmap_filename() should be freed when loading. + I'd forgotten about that one. + + * glade/gbwidget.c (gb_widget_load): + * glade/gb.c: + * glade/editor.c (editor_can_delete_widget): updated final GladeChild* + names. + + * glade/utils.c: compile warning fixes. + + * glade/gbwidgets/gbwindow.c (gb_window_set_standard_properties): + free the pixmap filename when loading. + (gb_window_write_standard_source): use create_pixbuf() function to + output the code to create the pixbuf. + + * glade/gbwidgets/gbframe.c (gb_frame_get_properties): + * glade/gbwidgets/gbaspectframe.c (gb_aspect_frame_get_properties): + use gtk_frame_get_label() rather than old GTK_FRAME (widget)->label. + + * glade/gnome/gnomepropertybox.c: compile warning fixes. + + * glade/gnome/gnomepixmap.c: finished. use gnome_program_locate_file() + rather than gnome_pixmap_file() in generated code. + + * glade/gnome/gnomedruidpagestandard.c: + * glade/gnome/gnomedruidpageedge.c: + * glade/gnome/gnomedruid.c: finished. + + * glade/gnome/gnomeappbar.c (gb_gnome_appbar_set_properties): use + GTK_WIDGET() to avoid compile warning. + + * glade/gnome/gnomeabout.c: finished. Note that we do special stuff + for the "translator_credits" property. If it is left empty, we save + it with the value "translator_credits". So the translator then replaces + that with their name in each po file. + + * glade/gnome/bonobowindow.c: use GladeChildXXX names. + +2002-03-07 Damon Chaplin + + * glade/save.c (save_requires_tags): added "canvas" lib, used when + GnomeCanvas is in the interface. + (save_color): save color in format '#rrrrggggbbbb'. + + * glade/load.c (load_parse_color): use '#rrrrggggbbbb' format now, as + libglade and some GnomeDruid properties expect. Use gdk_color_parse() + to parse it. If an error occurs set the error code and return white. + (It used to return NULL and then load_color() would SEGV.) + + * glade/glade_gnomelib.c: removed GnomePaperSelector. + + * glade/glade_clipboard.c (glade_clipboard_paste): + * glade/gbwidget.c (gb_widget_load): + * glade/gb.c: removed GladeChildGnomeFileEntry. GnomePixmapEntry is + now a subclass, so doesn't need this internal child. + + * glade/editor.c (paint_widget): only draw the grid for GtkLayout + and GtkFixed, not subclasses. + + * glade/gnome/gnomepropertybox.c: use GladeChildGnomePBoxNotebook. + + * glade/gnome/gnomepixmapentry.c: renamed "preview" to "do_preview". + Added "history_id", "max_saved", "browse_dialog_title", "modal". + It used to have a child GnomeFileEntry where these were set, but it + is now a subclass instead. + + * glade/gnome/gnomeiconlist.c: removed extended selection option, as + it isn't used any more. Output gnome_icon_list_new() rather than + gnome_icon_list_new_flags(). + + * glade/gnome/gnomedruid.c: used gtk_container_children() rather than + including private GnomeDruid struct. + + * glade/gnome/Makefile.am (libgnomewidgets_a_SOURCES): removed + gnomeprintpaperselector.c. It is now in libgnomeprintui, doesn't + support properties, and has no libglade support. + +2002-03-06 Damon Chaplin + + * glade/gnome/gnomeiconentry.c: renamed "title" to + "browse_dialog_title". Stored MaxSaved ourselves. Finished off. + use GLADE_DEFAULT_MAX_HISTORY_SAVED constant rather than '10'. + + * glade/gnome/gnomefileentry.c: renamed "directory" to + "directory_entry", and "title" to "browse_dialog_title".. + use GLADE_DEFAULT_MAX_HISTORY_SAVED constant rather than '10'. + + * glade/gnome/gnomeentry.c (gb_gnome_entry_write_source): use + GLADE_DEFAULT_MAX_HISTORY_SAVED constant rather than '10'. + +2002-03-05 Damon Chaplin + + * glade/gbwidgets/gbtable.c: use "x_padding", "y_padding" rather than + "xpad" & "ypad" for children. Fixes bug #73355. + +2002-03-05 Damon Chaplin + + * glade/source.c: updated the build files that we generate to use + pkg-config etc. + + * glade/save.c (save_requires_tags): oops. I forgot the '/' at the + end of the tags. + + * glade/glade_project_window.c (glade_project_window_about): don't + make this window modal, or the 'Credits' dialog won't close. + + * glade/gbsource.c (gb_widget_write_source): only do the special + option menu and menu code for GbWidgets, not for internal widgets we + know nothing about. + + * glade/gbwidgets/gbtoolbar.c: use gtk_toolbar_remove_space() instead + of our old kludge. Used GladeChild* names. Removed some of the radio + group code, but this is unfinished. + + * glade/gbwidgets/gbradiobutton.c: removed + gb_radio_button_reset_radio_group() as GTK+ does handle this now + (though it doesn't update buttons perfectly). + + * glade/gbwidgets/gbdialog.c: for the standard dialogs use 'okbutton1' + etc. for the names instead of 'ok_button1', or it will get an + underlined accelerator key when switching to a normal button. + + * glade/gnome/gnomehref.c: don't call gnome_href_set_url() with NULL. + Fixed source code output. + + * glade/gnome/gnomefontpicker.c: renamed "use_font" to + "use_font_in_label" and "use_font_size" to "label_font_size". + Only save the title and preview text if different to the default. + + * glade/gnome/gnomepixmapentry.c: + * glade/gnome/gnomeiconentry.c: + * glade/gnome/gnomefileentry.c: + * glade/gnome/gnomeentry.c: use GladeChild* child names. Keep the + history_id property ourselves, as GnomeEntry doesn't let you change it + once it is set. + + * glade/gb.c: + * glade/editor.c: + * glade/gbwidget.c: + * glade/glade_clipboard.c: + * glade/glade_menu_editor.c: + * glade/gbwidgets/gbclist.c: + * glade/gbwidgets/gbctree.c: + * glade/gnome/gnomedialog.c: + * glade/gnome/gnomemessagebox.c: + * glade/gnome/gnomeapp.c: use GladeChild* child names defined in gb.c + rather than hard-coded strings or per-file variables. It makes the + special child code much easier to find. + + * glade/gnome/gnomeabout.c: set Modal to NULL, since modal GnomeAbout + dialogs do not work, as we found out with Glade itself. (The child + 'Credits' dialog causes problems.) + + * glade/gnome/bonobowindow.c (gb_bonobo_window_setup_initial_app): use + GladeChildToolbarButton rather than "Toolbar:button". + + * glade/gbwidgets/gbtreeview.c (gb_tree_view_write_source): fixed the + code output. It was using 'text' instead of 'tree' everywhere. + +2002-03-01 Damon Chaplin + + * glade/save.c: + * glade/glade_clipboard.c (glade_clipboard_cut_or_copy): updated the + SYSTEM identifiers used in the XML. + + * glade/save.c: output the tags if we need the gnome, + gnomedb or bonobo libraries. + + * glade/glade_gnome.h: added GLADE_LIBGNOMEUI_GETTEXT_PACKAGE. + * glade/glade_gnome.c: used above. + + * glade/gbwidget.c (add_standard_bottom_menu_items): only add commands + to add/remove alignments/eventboxes if the widget can be deleted. + + * glade/glade_clipboard.c (glade_clipboard_paste): + * glade/editor.c (editor_can_delete_widget): check the new font/color + selection children. + + * glade/gbwidgets/gbradiobutton.c: updated to use widget names for + the group rather than group names, as that is what libglade wants now. + Not quite finished. + + * glade/gbwidgets/gboptionmenu.c (gb_option_menu_add_child): use + g_type_name (G_OBJECT_TYPE (child)) rather than + g_type_name_from_instance(), as it is what GTK+ does, and doesn't + output a compile warning. + + * glade/gnome/gnomecolorpicker.c: used GLADE_LIBGNOMEUI_GETTEXT_PACKAGE + when getting translated GNOME strings. + + * glade/gnome/gnomefontpicker.c: used GLADE_LIBGNOMEUI_GETTEXT_PACKAGE + when getting translated GNOME strings. + (gb_gnome_font_picker_write_source): possibly translate the preview + text now, since that is what GnomeFontPicker does. + +2002-02-27 Damon Chaplin + + * glade/gbwidget.c (combo_foreach): call the callback for the button + as well. I thought this may help the selection problems in fixed/layout + but it didn't. + + * glade/gb.h: added declarations of GladeFixedChildX/Y and + GladeLayoutChildX/Y. + + * glade/editor.c: update to cope with GtkFixed/GtkLayout. We now have + to do our own pointer grab when moving/resizing or we don't get the + motion notify events. The coordinate calculation in GtkLayout has + changed as well. Note that moving/resizing still isn't perfect. But + it is about as good as Glade 1, I think. + + * glade/gbwidgets/gbscrolledwindow.c: removed "hupdate_policy" and + "vupdate_policy" since they are not really useful. If we still want + them we'd need to use internal children for the scrollbars and use + the "update_policy" of each of those. + + * glade/gbwidgets/gbfixed.c: renamed ChildX/Y to GladeFixedChildX/Y, + and moved to gb.c so editor code can update them. + + * glade/gbwidgets/gblayout.c: renamed ChildX/Y to GladeLayoutChildX/Y, + and moved to gb.c so editor code can update them. + + * glade/main.c (parse_command_line): added support for --version + option, in GTK+ version of Glade (merged from head). + + * glade/gnome/gnomepixmap.c (gb_gnome_pixmap_set_properties): when + loading, set Scaled flag if the width or height are set (merged from + head). + + * glade/gbwidgets/gbgammacurve.c: + * glade/gbwidgets/gbcurve.c: I've taken the 'Curve Type' property out + since GTK+ crashes if this is set to certain values (merged from head). + +2002-02-26 Damon Chaplin + + * glade/source.c: merged in my code to recognize configure.ac files, + and to not output a configure.in if it is found. + + * glade/property.c: merged in my on_property_focus_out() fixes from + head, so int & float properties get updated when they lose focus. + Also used "value_changed" signal of spinbuttons rather than "changed". + +2002-02-26 Damon Chaplin + + * glade/gbwidget.c (gb_widget_replace_child): don't use set_uposition + for GtkFixed children. + (option_menu_foreach): make the temp widget a GtkOptionMenu. That + makes the code generator output the correct code to add the menu to + the option menu. + + * glade/gbsource.c (gb_widget_write_source): added hack to add the menu + to the option menu. + + * glade/editor.c: don't call gtk_widget_set_uposition() for children + of GtkFixed containers any more. + + * glade/gbwidgets/gboptionmenu.c (gb_option_menu_write_add_child_source): + we don't output the code to add the menu to the option menu here. It + must be done after all children are added so I've added a hack for it + in gb_widget_write_source(). + + * glade/gbwidgets/gbfixed.c: added support for child X & Y properties. + + * glade/gnome/gnomecontrol.c (do_query): changed debugging message so + it checked if servers is non-NULL before using it. This is why it was + crashing for me. + +2002-02-26 Johan Dahlin + + * glade/gnome/gnomecontrol.c (do_query): Sort by description instead + of iid + +2002-02-25 Damon Chaplin + + * glade/source.c (source_write_component): output new + GLADE_OBJECT_HOOKUP buffer, and move the tooltips hookup code next to + it. + (source_write_interface_c_preamble): output GLADE_HOOKUP_OBJECT + and GLADE_HOOKUP_OBJECT_NO_REF macros, to make it obvious in the code + output that this is Glade stuff, and make it a bit tidier. + (source_write_main_c): output the PACKAGE_DATA_DIR as the last pixmaps + dir, as it will be checked first. + (source_write_gtk_configure_in): added GETTEXT_PACKAGE and AC_SUBST it. + That is what the glib-gettextize stuff uses. Added it to acconfig.h. + Also switched to AM_GLIB_GNU_GETTEXT, so we don't need the intl/ dir + any more. Yeehaa! + (source_write_gtk_create_pixmap_functions): output find_pixmap_file() + a static support function to find a pixmap file for GTK+ apps, using + the pixmaps_directories. It uses g_file_test() instead of our old + check_file_exists() function. + Updated create_pixmap() to use it. + Added create_pixbuf() which is similar, but returns a GdkPixbuf. + + Removed intl from all SUBDIRS output, and from any -I flags, and from + AC_OUTPUT. + Removed all GNOME macros stuff. Apps don't need them now as they are + provided in gnome-common. + Removed old deprecated get_widget() macro. + + * glade/glade_widget_data.[hc] (struct _GladeWidgetData): removed x & y + fields, and the GLADE_X_SET and GLADE_Y_SET flags. In GtkFixed and + GtkLayout, X & Y are now packing properties. (We may add X & Y + properties for windows at some point, but they will be widget-specific + properties.) + + * glade/property.c: removed code related to the old X & Y properties. + + * glade/glade_gnome.c (glade_gnome_write_menu_item_standard_source): + use new GLADE_HOOKUP_OBJECT() macros in generated code. + + * glade/gbwidget.c: removed code related to the common X & Y properties + + * glade/gbsource.h: added GLADE_OBJECT_HOOKUP source code buffer, + where we output all the code to store the pointers to the widgets. + This means all the code is put in the same place, so yuo can remove + it easily. + + * glade/gbsource.c (gb_widget_write_standard_source): use new + GLADE_HOOKUP_OBJECT() macros in generated code. + removed code to output gtk_widget_set_uposition(). + + * glade/gb.c: added GladeDialogResponseIDKey, and GladeStockResponses + array. + + * glade/editor.c: removed code related to the common X & Y properties. + They have been removed now. + (editor_paint_selections): tried to fix for GtkLayout. No luck yet. + (draw_grid): fixed for GtkLayout. + + * glade/data/gtk/autogen.sh: updated to use glib-gettextize, and to + support intltool. + + * glade/gbwidgets/gbwindow.c: added "resizable", "destroy_with_parent" + and "icon". Removed "allow_grow", "allow_shrink", as they are + deprecated and "allow_grow" is practically the same as "resizable". + "allow_shrink" can be replaced by setting the requested size of the + window to 0x0. + + * glade/gbwidgets/gblayout.c: added support for child X & Y properties. + We now use these instead of X & Y properties on the 'Common' page. + + * glade/gbwidgets/gbhbuttonbox.c (gb_hbutton_box_write_add_child_source): + added special code to output code to add dialog buttons to the dialog. + + * glade/gbwidgets/gbdialog.c: finished, and added functions to convert + a response id to/from a string. + + * glade/gnome/gnomemessagebox.c (gb_gnome_message_box_write_source): + use GLADE_HOOKUP_OBJECT() in source code. + + * glade/gbwidgets/gbbutton.c: use gtk_label_get_label() rather than + gtk_label_get_text(), or we will lose underlined accelerators. Fixes + bug #72397. + Added support for dialog buttons - almost the same as normal buttons + but with a response id. + +2002-02-22 Damon Chaplin + + * glade/gbwidgets/gbnotebook.c: finished this. We now use a special + "type" packing property set to "tab" for the tab widgets. + + * glade/gbwidgets/gbdialog.c: used a creation dialog so you can select + standard button layouts or choose the number of buttons. Unfinished. + + * glade/property.c (property_create): made it a little wider. + + * glade/debug.h: don't use G_GNUC_PRETTY_FUNCTION as a static string. + I think the newer gcc doesn't support that. Use it as a function arg + instead. + + * glade/gbwidget.c (set_standard_properties): reserve the widget names + when loading. + + * glade/gb.c: removed GladeChildNotebookTab. We use a special "type" + packing property in the XML now set to "tab". Within Glade we figure + it out from the widget's position. + Moved GladeButtonStockIDKey here so GtkDialog code can use it. + + * glade/gnome/gnomepropertybox.c (gnome_property_box_new_tab_label): + don't set the child name of the tab. + + * glade/gbwidgets/gbcolorselection.c (gb_color_selection_write_source): + fix output of set_has_opacity_control(). + +2002-02-20 Damon Chaplin + + * glade/editor.c (editor_select_widget): use our own function + get_notebook_page() to find the correct notebook page. The GTK+ + function doesn't work with the tab label widgets. + + * glade/gbwidget.c: made GladeMenuItemStockIDKey different from + GladeMenuItemStockIndexKey, as they are used for different things. + This stops the crash in bug #69959 (though GnomeApp still doesn't work) + + * glade/gb.c: added GladeChildNotebookTab. + + * glade/gbwidgets/gbnotebook.c: added support for "tab_expand", + "tab_fill", "tab_pack" & "menu_label" packing properties, and added + a "position" packing property which is only used within Glade. + + * glade/gnome/gnomepropertybox.c (gnome_property_box_new_tab_label): + use GladeChildNotebookTab as the child name. + + * glade/gnome/gnomeapp.c (gb_gnome_app_add_child): + * glade/gnome/bonobowindow.c (gb_bonobo_window_add_child): + * glade/gnome/bonobodock.c (gb_bonobo_dock_add_child): use the + GladeChildInfo internal_child field to get the child name rather than + load_get_value ("child_name"), since that doesn't work any more. + + * glade/gbwidgets/gbbutton.c: made sure all debugging g_print's do not + pass NULL as a string. Fixes bug #70273. + +2002-02-20 Damon Chaplin + + * glade/editor.c (editor_add_draw_signals): don't try to change event + mask if realized. GtkCombo realizes widgets when it is created, so + this generated warnings. Maybe we should set the mask on the windows + directly, but for GtkCombo it doesn't really matter as the popup + isn't really editable directly anyway. + + * glade/gbwidget.c (option_menu_foreach): tried to fix source code + output, but failed. + (combo_foreach): call callback for list as well. + (gb_widget_children_foreach): use combo_foreach. + + * glade/utils.c (glade_util_gtk_combo_find): + (glade_util_gtk_combo_func): use gpointer rather than GtkListItem, as + that is deprecated, so we'll only declare it when needed, I think. + + * glade/gb.c: added child names for the combo, fontsel & colorsel. + + * glade/gbwidgets/gboptionmenu.c: tried to fix code output. failed. + + * glade/gbwidgets/gbcombo.c: made the popup list an internal child and + used GbWidgets for the listitems, so they now get saved individually, + which is what libglade wants now. We only support simple text items, + though. + + * glade/gbwidgets/gbtreeview.c: finished this. GTK+ seems to have been + fixed so it doesn't crash on creation now. + + * glade/gbwidgets/gbtable.c (gb_table_set_child_properties): fixed + packing properties - use GTK_EXPAND/FILL/SHRINK flags rather than + TRUE and FALSE. + + * glade/gbwidgets/gbfontselectiondialog.c: made "font_selection" an + internal child, so its properties can be changed. + + * glade/gbwidgets/gbcolorselectiondialog.c: made "color_selection" an + internal child, so its properties can be changed. + + * configure.in (GLADE_DEPRECATION_CFLAGS): added this, but it isn't + finished and we don't use it yet. It will use a --disable-deprecated + configure flag eventually. + + * glade/gnome-db/Makefile.am (INCLUDES): + * glade/gnome/Makefile.am (INCLUDES): + * glade/gbwidgets/Makefile.am (INCLUDES): + * glade/Makefile.am (INCLUDES): added GLADE_DEPRECATION_CFLAGS. + +2002-02-06 Damon Chaplin + + * glade/gb.c: use const for all the size ints, avoids error with gcc 3. + +2002-02-05 Damon Chaplin + + * glade/gbwidgets/gbtextview.c: added source code generation, fixed + a minor bug, use '_' instead of '-' in property names, and changed + a few property names so they fit in the normal property editor. + +2002-02-05 Damon Chaplin + + * glade/property.c (create_signals_property_page): hide the signal + 'Data' field, as it isn't in the DTD and shouldn't really be used. + + * glade/load.c (load_get_value): return NULL if widget_info is NULL, + which can now happen for placeholders. + + * glade/glade-parser.c: updated to latest libglade version, which + supports the new tags. Except we leave the empty + childinfo struct there, so we can detect placeholders. Special Glade + code has 'GLADE:' comments. + + * glade/gbwidget.c (gb_widget_load): handle widget_info being NULL for + placeholders. + Add the child names for clist/ctree titles, so old code still works. + (gb_widget_save): don't save the child name for clist/ctree titles. + Save tags for placeholders. + + * glade/save.c (save_placeholder): new function to save a + tag. + + * glade/gbwidgets/gbctree.c (gb_ctree_add_child): + * glade/gbwidgets/gbclist.c (gb_clist_add_child): don't check the child + name, as it won't be set at this point. It shouldn't matter, as the + titles are the only children of clist/ctree. + +2002-02-04 Damon Chaplin + + * glade/utils.c: remove find_parent_button() since gblabel.c does that + itself now. + (glade_util_find_default_accelerator_target): this now assumes the + label is not inside a button/menuitem, and it tries to find the widget + to the right of the label to set the focus to. It doesn't return the + signal to emit any more, since that is implicit. + + * glade/glade_gtk12lib.c: added GtkTreeView. Removed GtkPacker and + GtkPixmap completely. + + * glade/glade_gnomedblib.c: changed '//' comments to /* */. We've had + portability problems with '//' before. + + * glade/gbwidgets/gblabel.c: added "use_markup", "use_underline", + "selectable". Renamed "focus_target" to "mnemonic_widget". + Removed "default_focus_target" from output to XML. + If the user selects "use_markup" we check if the text is valid markup + each time we set it. If it isn't we turn "use_markup" off for the + widget. This avoids warnings after each character is typed. + Also used common code so we can share it with gbaccellabel.c + + * glade/gbwidgets/gbaccellabel.c: call the shared gblabel.c functions. + + * glade/gb.h: added declarations for shared label functions. + + * glade/gbwidgets/Makefile.am (libgbwidgets_a_SOURCES): added + gbtreeview.c. + + * glade/gbwidgets/gbtreeview.c: new file. Doesn't work yet, though. + + * tools/mkskel.pl: updated a few bits of text. + +2002-01-29 Seth Nickell + + * Makefile.am: + + Install .desktop file into the proper location for GNOME2 + (PREFIX/share/applications). + + * glade-2.desktop.in: + + Add a Categories field for GNOME 2 panel. + Tweak the Name to follow the HIG. + +2002-01-28 Damon Chaplin + + * glade/gbwidgets/gbtextview.c (gb_text_view_set_properties): free + the value returned from gb_widget_input_text() if action is GB_APPLYING + rather than GB_LOADING. + + * glade/glade_menu_editor.c: use a child GtkImage GbWidget for + non-stock items, so they get saved as children. Also allow the stock + 'New' item to have its label changed, e.g. to 'New Project' etc. + + * glade/glade_gnome.c (glade_gnome_write_menu_item_source): get the + icon_name from the GtkImage widget, as that is where it is always kept + now. But hopefully this code will be removed anyway. + + * glade/gbwidget.c (gb_widget_output_child_label): output + "use_underline" for menuitem labels. + + * glade/gbwidget.c (set_standard_properties): set the widget name from + the GladeParser info when loading. + + * glade/gbwidgets/gbmenubar.c: add some initial items to the menubar, + like we do in GNOME. + + * glade/gbwidgets/gbimagemenuitem.c: use a proper GtkImage child for + non-stock items, so it is written out as a child in the XML, which + libglade expects. + + * glade/gbwidgets/gbcolorselection.c: added "has_opacity_control" and + "has_palette". + + * glade/gbwidgets/gbbutton.c (gb_button_normal_get_properties): don't + output "use_underline" for stock items as it is implied. + (gb_button_toolbar_get_properties): save stock icon as "stock_pixmap", + to agree with libglade. + (gb_button_toolbar_set_properties): check for "stock_pixmap" when + loading. + + * glade/gbwidget.c (gb_widget_input_child_label): + * glade/gbwidgets/gbmenuitem.c (gb_menu_item_set_properties): + * glade/gbwidgets/gblabel.c (gb_label_set_properties): + * glade/gbwidgets/gbaccellabel.c (gb_accel_label_set_properties): use + gtk_label_set_text_with_mnemonic() instead of gtk_label_parse_uline() + which is deprecated. + + * glade/gbwidgets/gbdialog.c: added "has_separator". + + * glade/gbwidgets/gbwindow.c: + * glade/gbwidgets/gbinputdialog.c: + * glade/gbwidgets/gbfontselectiondialog.c: + * glade/gbwidgets/gbfileselection.c: + * glade/gbwidgets/gbdialog.c: + * glade/gbwidgets/gbcolorselectiondialog.c: + * glade/gnome/bonobowindow.c: + * glade/gnome/gnomeapp.c: + * glade/gnome/gnomepropertybox.c: + * glade/gnome/gnomemessagebox.c: + * glade/gnome/gnomeabout.c: + * glade/gnome/gnomedialog.c: + * glade/gnome-db/gnomedblogindlg.c: + * glade/gnome-db/gnomedberrordlg.c: started adding support for new + window properties "resizable", "destroy_with_parent" & "icon". + +2002-01-26 Rodrigo Moya + + * glade/glade_gnomedblib.c: + * glade/gnome-db/Makefile.am: + * glade/gnome-db/gnomedbdsnconfig.c: re-enabled GnomeDbDsnConfig + widget. + +2002-01-23 Damon Chaplin + + * glade/gbwidget.c (gb_widget_input_enum): don't g_free the value + returned from load_string(). You never need to free loaded values. + Also check data->apply before using the results. Jody reported a crash. + +2002-01-22 jacob berkman + + * glade/gbwidgets/gboptionmenu.c: get rid of the + options-as-text-list and use the menu editor instead. this makes + it compat with libglade and is also nicer in general + + * glade/gbwidget.c (option_menu_foreach): iterate through the menu + of an option menu + +2002-01-21 jacob berkman + + * glade/utils.[ch] (glade_enum_from_string): + (glade_string_from_enum): steal from libglade + + * glade/gbwidget.[ch] (gb_widget_output_enum): + (gb_widget_input_enum): some more useful functions for using + choice inputs + + * glade/glade_gtk12lib.c (gtk_standard): add textview + + * glade/gbwidgets/gbtextview.c: implement GtkTextView (sans signals) + + * glade/gbwidgets/Makefile.am (libgbwidgets_a_SOURCES): add textview + + * glade/gnome-db/Makefile.am (INCLUDES): set correctly + +2002-01-21 Damon Chaplin + + * tools/mkskel.pl (OutputWidgetFile): split 'volatile GtkType type' + line in two, otherwise the XXX_get_type() function may not be called. + (GTK+ 2.0 strangeness) + + * glade/gnome/gnomedateedit.c (gb_gnome_date_edit_set_properties): + don't free the string returned by gb_widget_input_string(). + I think the only time you need to free a string is after + gb_widget_input_text() when data->action == GB_APPLYING. + (gb_gnome_date_edit_set_properties): Also checked for data->apply + after getting properties. + + * glade/gbwidgets/gbscrolledwindow.c: added 'window_placement', + 'shadow_type'. + + * glade/gbwidgets/gbprogressbar.c: added 'fraction', 'pulse_step' + and 'text'. Removed 'value', 'lower', 'upper', 'bar_style', 'format'. + + * glade/gbwidgets/gbentry.c: added 'has_frame', 'invisible_char', + 'activates_default' and 'width_chars'. + + * glade/gbwidgets/gbcalendar.c: save all 5 boolean options in a single + XML property. + + * glade/glade_gtk12lib.c: removed GtkAccelLabel from palette, since + it is practically unusable, except in menus. + + * glade/gb.[hc]: added Shadow and Corner choices and GLADE_EPSILON + #define for comparing floats. + + * glade/gbwidgets/gbarrow.c: use the common Shadow choices. + +2002-01-14 Damon Chaplin + + * glade/gbwidgets/gbstatusbar.c: added "has_resize_grip". + + * glade/gbwidgets/gbvscrollbar.c: + * glade/gbwidgets/gbhscrollbar.c: + * glade/gbwidgets/gbvscale.c: + * glade/gbwidgets/gbhscale.c: added "inverted". + + * glade/gbwidgets/gbfontselection.c: added "preview_text". + + * glade/gbwidgets/gbtogglebutton.c: + * glade/gbwidgets/gbradiobutton.c: + * glade/gbwidgets/gbcheckbutton.c: added "inconsistent". + + * glade/gbwidgets/gbbutton.c (gb_button_set_standard_properties): use + relief_p instead of Relief, so subclasses that call this work OK. + + * TODO: updated. + +2002-01-13 Rodrigo Moya + + * configure.in: enabled gnome-db support by requiring a current + version, not a future one + + * glade/gnome-db/gnomedbbrowser.c: + * glade/gnome-db/gnomedberror.c: + * glade/gnome-db/gnomedberrordlg.c: + * glade/gnome-db/gnomedbgrid.c: + * glade/gnome-db/gnomedblist.c: + * glade/gnome-db/gnomedblogin.c: + * glade/gnome-db/gnomedblogindlg.c: + * glade/gnome-db/gnomedbtableeditor.c: + * glade/gnome-db/gnomedbwindow.c: + * glade/gnome-db/gnomedbcombo.c: ported to libgnomedb-2 + + * glade/gnome-db/Makefile.am: disabled GnomeDbDesigner, + GnomeDbEntry, GnomeDbExport, GnomeDbLabel, GnomeDbLogViewer, + GnomeDbIconList, GnomeDbDsnConfig, GnomeDbDataset, and + GnomeDbReport, not yet available in libgnomedb-2 + + * glade/glade_gnomedblib.c: removed disabled widgets + +2002-01-10 jacob berkman + + * glade/gnome/gnomehref.c (gb_gnome_href_set_properties): call + gnome_href_set_text as _set_label is deprecated and prints a + warning + + * glade/gnome/gnomedruidpagestandard.c + (gb_gnome_druid_page_standard_create_properties): add contents + background color and top_watermark properties + (gb_gnome_druid_page_standard_get_properties): get new props + (gb_gnome_druid_page_standard_set_properties): set new props + + * glade/gnome/gnomedruidpageedge.c + (gb_gnome_druid_page_edge_create_properties): add top_watermark + property + (gb_gnome_druid_page_edge_get_properties): save the position, and + top_watermark + (gb_gnome_druid_page_edge_set_properties): set the top_watermark + + * glade/gnome/gnomedruid.c: remove FIXMEs around stuff. for now, + just include the definition of GnomeDruidPrivate so we can poke at + the children. also, add show-help property to turn on / off the + help button + + * glade/gnome/gnomecontrol.c (gb_bonobo_control_get_properties): + save the moniker property + + * glade/gnome/gnomeabout.c (gb_gnome_about_create_properties): add + logo padding, background, and background opacity / position + properties + (gb_gnome_about_get_properties): add new properties + (gb_gnome_about_set_properties): add new properties and fixup to + actually work + also removed some un-needed code now that there are properties + + * glade/editor.c (paint_widget): only draw the grid for GbWidgets + + * glade/glade_gnomelib.c (bonobo_page): call the bonobo widget + BonoboWidget like libglade expects + + * TODO: add status of GNOME / Bonobo widgets + +2002-01-08 Damon Chaplin + + * glade/source.c (source_create_pixmap): fixed generated call to + create_pixmap(). + + * glade/glade_project_window.c: #ifdef'd out unused code. + + * glade/gbwidgets/gbnotebook.c: renamed 'popup_enable' to + 'enable_popup'. + + * glade/save.c: + * glade/gbwidgets/gbbutton.c: + * glade/gbwidgets/gbradiobutton.c: removed unused variables. + (I am now using -Wall again!) + + * glade/gbwidgets/gbvbuttonbox.c: + * glade/gbwidgets/gbhbuttonbox.c: removed old min width/height & + child padding properties. + +2002-01-07 jacob berkman + + * glade/glade_gnomelib.c (sections): add a bonobo tab with + BonoboWindow and BonoboControl on it + + * glade/gnome/gnomecontrol.c: create only one palette entry, and + pop up a dialog with a list of controls. this is better than + looking through tooltips. also, you get new controls right away + if they are installed while gnome is running. + + * glade/utils.c (glade_util_show_message_box): re-implement with + GtkMessageDialog + (glade_util_create_dialog): remove gnome version and simplify a + lot + + * glade/glade_palette.c (glade_palette_init): remove the border of + the notebook + (glade_palette_init): turn off this unnecessary border + + * glade/gbwidget.c (gb_widgets_init): remove call to initialize + bonobo controls, as they are done a little differently now. + +2002-01-07 Damon Chaplin + + * glade/glade-parser.c (create_widget_info): only insert the info into + the hash if the info->name is not NULL. Stops it crashing. I'm not + sure if it is a memory leak. And don't warn about missing id for + placeholders. + (handle_signal): ignore last_modification_time attribute. + + * glade/gbwidgets/gbimage.c: added support for this, including stock + icons. + + * glade/gbwidgets/gbbutton.c: now works for normal buttons and buttons + in toolbars. Still need to to buttons in dialogs. + + * glade/gbwidget.c (gb_widget_input_adjustment): + (gb_widget_output_adjustment): save as a single property in the XML, + to match libglade. Also updated the widgets that use these. + + * */*: lots of changes everywhere. Mainly property name changes, + and changes in the 'internal-child' names. See TODO for status of each + widget. + +2002-01-03 jacob berkman + + * glade/gnome/gnomecontrol.c (widget_get_uic): util to get the ui + container from the toplevel bonobo window + (control_create): accept a ui container param + (gb_bonobo_control_new): pass the uic when creating the control + +2002-01-02 jacob berkman + + * glade/gnome/Makefile.am (libgnomewidgets_a_SOURCES): add + bonobowindow.c + + * glade/glade_gnomelib.c (gnome_page): add a BonoboWindow. + + * glade/gnome/bonobowindow.c: initial hack at BonoboWindow support + + * glade/gnome/gnomeapp.c: s/GnomeDock/BonoboDock/ + + * acconfig.h: remove ENABLE_BONOBO and USING_OAF + + * glade/gnome/gnomecontrol.c (gb_bonobo_control_create_properties): + (gb_bonobo_control_get_properties): + (gb_bonobo_control_set_properties): small porting fixes + (gb_bonobo_control_init): the bonobo api we used got removed so + use bonobo_activation_query() directly instead + + * glade/glade_gnomelib.h: always declare gb_bonobo_control_init() + + * glade/gbwidget.c (gb_widgets_init): init bonobo controls if + gnome is enabled + + * glade/main.c (main): run bonobo_main() rather than gtk_main() if + we are gnome enabled + + * Makefile.am (install-data-local): install into pixmaps/glade-2 + + * glade/glade_project_window.c (glade_project_window_about): use + glade-2.png for now, as the other icon is too big + + * glade/main.c (main): use the gnome_program_init stuff, and set + the default window icon + + * glade/Makefile.am (INCLUDES): define GLADE_DATADIR + +2001-12-29 jacob berkman + + * glade-2.desktop.in: forgot to add -2 to the icon and exec lines + +2001-12-28 jacob berkman + + * glade/utils.[ch] (glade_util_flags_from_string): util function + from libglade to parse flags + (glade_util_string_from_flags): util function which is the inverse + of the above + + * glade/gnome/gnomedateedit.c (gb_gnome_date_edit_get_properties): + remove FIXME's, and only have 1 flags property in the XML whilst + showing 3 toggles in the gui + (gb_gnome_date_edit_set_properties): ditto + (gb_gnome_date_edit_write_source): remove FIXME's + + * glade/gnome/gnomecanvas.c (gb_gnome_canvas_write_source): we + don't need to push/pop colormap stuff any more + +2001-12-27 jacob berkman + + * glade/utils.c (gnome_dialog_button_clicked): ok button is now + button 1 + (glade_util_create_dialog): use the new button layout + + * glade/gnome/gnomedialog.c (gb_gnome_dialog_new): create the + dialog with the new button layout style (ok at end) + + * glade/gnome/gnomefontpicker.c: remove FIXMEs by using new api + + * glade/gnome/gnomedialog.c: + * glade/gnome/gnomemessagebox.c: fixup for deprivatization of + GnomeDialog + +2001-12-21 jacob berkman + + * glade/gnome/gnomeapp.c (gb_gnome_app_new): BonoboDockLayout is + not a GtkObject. + + * glade/gnome/gnomedialog.c: + * glade/gnome/gnomemessagebox.c: un-FIXME stuff that needed the + private fields from GnomeDialog, and fix GnomeMessageBox icon + handling. + + these things should mostly work now. + + * glade/glade_gnome.h: the definition of _GnomeDialogPrivate from + libgnomeuiP.h here until it gets unprivatized. + +2001-12-19 jacob berkman + + * glade/gnome/bonobodockitem.c (gb_bonobo_dock_item_add_child): + removed a bit of FIXME + + * glade/gnome/gnomeabout.c: make the properties work + + * configure.in: may as well turn gnome support on now as it should + build and link + + * glade/glade_menu_editor.c: comment out a bunch of GnomeStock + stuff, as it will be the same as GtkStock + + * glade/glade_project_window.c: port to new GnomeAbout API + + * glade/glade_palette.c: remove references to gnome_preferences + + * glade/glade_gnomelib.c: fixup to reflect removed / renamed + widgets + + * glade/glade_gnome.c: replace GnomeDock with BonoboDock + + * glade/gbwidgets/gbtoolbar.c (gb_toolbar_set_stock_child_icon): + comment this out, as it will use the same stuff as the gtk stock + toolbar icons (when that works) + + * glade/gnome/Makefile.am (libgnomewidgets_a_SOURCES): remove + gnomestock.c + + * glade/gnome/gnomeentry.c (gb_gnome_entry_write_source): + (gb_gnome_entry_set_properties): + s/gnome_entry_max_saved/gnome_entry_get_max_saved/ + + * glade/gnome/gnomedruidpagestandard.c: make it build + + * glade/gnome/gnomeappbar.c (gb_gnome_appbar_get_properties): fix + tyop + + * glade/gnome/bonobodockitem.c: comment out gnome_preferences_* + references + +2001-12-18 jacob berkman + + * glade-2.desktop.in (_Name): add a '2.0' to differentiate from + glade 1 + + * Makefile.am (install-data-local): install into glade-2 rather + than glade + + * glade/gnome/Makefile.am (libgnomewidgets_a_SOURCES): add back + gnomedruidpagestandard.c even though it doesn't build since it's + referenced in po/POTFILES.in + + * configure.in: fixup gnome support checking etc. do not turn on + by default as we don't link + + * various files: make it parallel installable with glade 1, i + think + + * glade/*.c: + * glade/gnome/*.c: initial make-it-compile-with-gnome-support + port. it doesn't link, though. + +2001-12-10 Damon Chaplin + + * glade/gbwidgets/*.c: + * glade/gnome/*.c: + * glade/gnome-db/*.c: used 'volatile GtkType type' to make sure the + type init functions get called. This is a quirk in GTK+ 2. It meant + most of the dialogs didn't work for us, as we couldn't get the type + from the class name, as the type init function never got called. + + * glade/editor.c: stopped turning buffered drawing off for widgets, + and used an idle handler to draw the selection rectangles, like we used + to do for GnomeCanvas. Chema's idea, and seems to work fine. + + * lots of other minor changes. I'm in the middle of updating buttons to + handle stock stuff. + +2001-12-10 jacob berkman + + * glade/load.c (load_parse_bool): accept yes/no for bools + +2001-12-07 Damon Chaplin + + * glade-gnome2-branch created. + +2001-12-05 Damon Chaplin + + * glade/source.c (source_write_check_file_exists_function): output + 'static'. From Rob Lahaye . + +2001-09-19 José Antonio Salgueiro Aquino + + * glade/gnome-db/gnomedbdesigner.c: + * glade/gnome-db/gnomedbentry.c: + * glade/gnome-db/gnomedbexport.c: + * glade/gnome-db/gnomedblabel.c: + * glade/gnome-db/gnomedblogviewer.c: + * glade/gnome-db/gnomedbtableeditor.c: + * glade/gnome-db/gnomedbwindow.c: added support for missing GNOME-DB + widgets + + * glade/glade_gnomedblib.c: initialize new widgets + +2001-09-13 John Gotts + + * glade.spec.in: Should close bug #58220. + +2001-09-01 Wang Jian + + * configure.in(ALL_LINGUAS): Added zh_CN for Simplified Chinese + +2001-08-18 Damon Chaplin + + * glade/palette.c (palette_add_gbwidget): translate the section name + (but after we compare it to "NotShown"). + + * glade/glade_gtk12lib.c (sections): removed N_() from "NotShown" + since it is not meant for display. + + * glade/utils.c (gnome_dialog_button_clicked): added (GtkSignalFunc) + cast. Patch for IRIX from drk@sgi.com. + +2001-08-14 Marius Andreiana + + * configure.in: Added ro (Romanian) to ALL_LINGUAS + +2001-08-14 Kjartan Maraas + + * doc/C/faq.sgml: Fix up sgml a bit. + * doc/C/user-guide.sgml: Same here. + +2001-08-03 jacob berkman + + * glade/main.c (main): + * glade/glade.c (glade_app_init): + * glade/glade.h: rename glade_init() to glade_app_init(), so that + it doesn't conflict with the libglade function when using shlib + bonobo components which use libglade + +2001-07-30 Rodrigo Moya + + * configure.in: s/$gnomedb_config/gnomedb-config, and require + GNOME-DB >= 0.2.90 for GNOME-DB support + + * glade/gnome-db/*: updated to the CVS version of GNOME-DB + +2001-06-25 Damon Chaplin + + * FAQ: fixed link to http://glade.gnome.org + +2001-05-24 Damon Chaplin + + * glade/editor.c (get_widget_window): return the widget owning the + window as well, so we know which gc to use. + (editor_paint_selections): use the correct gc for the window, to avoid + BadMatch errors on multi-depth type displays. Patch from Dave Camp + + +2001-05-09 Rodrigo Moya + + * glade/graphics/: added new pixmaps by Daniel Wagner + +2001-05-02 Rodrigo Moya + + * configure.in: check for gnome-db >= 0.2.4 + * glade/gnome-db/: updated to match the recent changes in + gnome-db CVS + +2001-04-19 Dan Mueth + + Changing web site URL from http://glade.pn.org to + http://glade.gnome.org + + * FAQ: + * README: + * doc/C/faq.sgml: + * doc/C/turbo-start.sgml: + * doc/C/user-guide.sgml: + * doc/it/faq.sgml: + * doc/it/turbo-start.sgml: + * doc/it/user-guide.sgml: + * glade/glade_project_window.c: (glade_project_window_about): + +2001-03-28 Damon Chaplin + + * Released Glade 0.6.2 (for Gnome 1.4) + +2001-03-25 Dan Mueth + + Setting up OMF metadata and integration with scrollkeeper + + * Makefile.am: + * configure.in: + * doc/C/Makefile.am: + * doc/C/faq-C.omf: + * doc/C/turbo-start-C.omf: + * doc/C/user-guide-C.omf: + * glade.spec.in: + * omf-install/Makefile.am: + +2001-03-25 Dan Mueth + + Fixing some of the markup to be gnome-db2html2 compliant. It + doesn't spew errors now, but still TOC extraction is broken. + + * doc/C/user-guide.sgml: + +2001-03-21 Dan Mueth + + Fixed FAQ so it renders with gnome-db2html2 properly. + + * doc/C/faq.sgml: + +2001-03-12 Damon Chaplin + + * Released Glade 0.6.1 (for Gnome 1.4 RC1) + +2001-03-12 Damon Chaplin + + * doc/C/turbo-start.sgml: + * doc/C/user-guide.sgml: changed my email address to damon@ximian.com + +2001-02-23 Carlos Perelló Marín + + * Makefile.am: Updated to really use xml-i18n-tools + * glade.desktop: Removed, now is automaticly generated. + +2001-02-22 + + * INSTALL_FROM_CVS: added xml-i18n-tools to requirements. + +2001-02-22 Damon Chaplin applied patch from + Carlos Perelló Marín + + * glade/gnome-db/gnomedbiconlist.c: Added + * glade/gnome-db/gnomedbdsnconfig.c: Added + * glade/gnome-db/gnomedbdataset.c: Added + * glade/gnome-db/gnomedbbrowser.c: Updated to the new Gnome-DB version + (a Pau 's patch modification) + * Makefile.am, configure.in, glade.desktop.in: Adapted to use the + xml-i18n-tools + +2001-02-16 Damon Chaplin + + * glade/utils.c (glade_util_close_window): check the window exists. + +2001-02-16 Christopher R. Gabriel + + * configure.in (AC_OUTPUT): added italian translation of the Glade + FAQ. + +2001-02-15 Damon Chaplin + + * Released Glade 0.6.0 (for Gnome 1.4 beta 1) + +2001-02-15 Damon Chaplin + + * FAQ: added a few more questions & answers. + + * doc/C/faq.sgml: updated. + + * glade/glade_project_window.c (glade_project_window_about): added + Martijn to the authors list, and added a link to Glade's home page. + + * glade/utils.c: added functions to set and reset the TZ environment + variable. + + * glade/glade_clipboard.c (glade_clipboard_paste): + * glade/load.c (load_project_file): used the above functions for + setting TZ, and tidied up a little. + + * glade/utils.c (glade_util_ensure_directory_exists): check that + it has a parent directory before trying to create it. + + * glade/utils.c (glade_util_parent_directory): handle case where the + parent directory is the root directory. + + * glade/property.c (property_create): changed "Basic" property page + to "Common", since these are properties common to all widgets. + + * glade/utils.c (glade_util_get_label_text): fixed to handle '_' + characters which are part of the label. We need to repeat these since + GTK+ uses them to denote keyboard accelerators. + + * glade/gbwidgets/gbcombo.c (write_items_source_callback): used a + (gpointer) cast to keep g++ happy. + + * glade/gnome/gnomeanimator.c: set widget_data->width & height when + created, and use these when creating the source code, NOT the widget's + allocation which may not even be set if the dialog hasn't been shown. + + * glade/gbwidgets/gbbutton.c (gb_button_get_properties): don't show + the Icon property for normal buttons in the GTK+ version. + +2001-01-15 Stanislav Brabec + + * glade.desktop: Updated cs. Changed da->de for German. + +2001-01-06 Damon Chaplin + + * glade/glade_clipboard.c (glade_clipboard_paste): + * glade/load.c (load_project_file): reverted most of Morten's changes + since it wasn't compiling. + I did remove the 'g_free (new_timezone)' since putenv() doesn't make a + copy of it. This means we leak a bit of memory at the moment, but I'll + fix it later. + I left the tzset() calls in, though I'm not sure we need it. + + * glade/gbwidgets/gbmenuitem.c (gb_menu_item_write_accel_source): + * glade/gbwidgets/gblabel.c (gb_label_write_source): + * glade/gbwidgets/gbbutton.c (gb_button_write_uline_accel_source): + add cast to (GtkAccelFlags) to avoid problems compiling the Glade C + output with a C++ compiler. + + * glade/gbsource.c (get_type_name): updated to use the type numbers + rather than the type names, which were changed in GTK+ 1.2. + + * glade/gbwidgets/gbfixed.c (gb_fixed_write_add_child_source): output + the position using wdata->x and wdata->y rather than the allocation, + which won't even be set if the window hasn't been shown. + + * configure.in (using_oaf): fixed the AM_CONDITIONAL test arg and typo. + +2000-12-27 Morten Welinder + + * glade/gbwidgets/gbbutton.c (gb_button_set_stock_button): Plug + leak. + + * glade/gbwidget.c (gb_widget_create_from_full): Plug leak. + + * glade/gnome/gnomecontrol.c (gb_bonobo_control_init): Plug leaks. + + * glade/editor.c (clear_child_windows): Properly free children, + not the empty list. + + * glade/load.c (load_project_file): Better way of restoring TZ. + (Leaving freed pointers in the environment is inadvisable.) + Also call tzset as needed. Avoid g_strdup-ing NULLs. + + * glade/glade_clipboard.c (glade_clipboard_paste): Ditto. + +2000-12-22 Stanislav Visnovsky + + * configure.in: Added Slovak [sk] to ALL_LINGUAS. + +Tue Nov 07 21:14:27 2000 George Lebl + + * glade/glade_project_view.c + (glade_project_view_clear_component_selection): copy the + selection list first as it will be modified during the iteration. + +2000-11-02 Michael Meeks + + * configure.in: require Bonobo >= 0.27 + +2000-10-25 Federico Mena Quintero + + * glade/glade_project_window.c (EditMenu): The menu item should + say "Delete", not "Clear", since it deletes the selected widget. + Also, give it a trash stock icon. And stupid GTK+ won't display + the GDK_DELETE accelerator even though we have set it to be just + that. + +2000-10-22 John Gotts + + * glade.spec.in: Changed group from X11/Libraries to Development/Tools. + +2000-10-21 Damon Chaplin + + * glade/property.c (property_add_int): + (property_add_float): connect to the "activate" + signal of the entry rather than the "changed" signal, since we only + want to be notified after the user has finished typing in the value. + We may also need to think some more about other types of properties, + e.g. it may not be wise to update some string properties after each + letter is added, as we do now. Maybe we need an option for this. + (property_create): changed "Place" page label to "Packing", since that + is more descriptive of what those properties are for. + +2000-10-17 Szabolcs BAN + + * po/hu.po, configure.in: Added Hungarian support. + +2000-10-13 Damon Chaplin + + * glade/utils.c (glade_util_show_message_box): + (glade_util_create_dialog_with_buttons): + (glade_util_show_entry_dialog): added transient_widget argument to + make it easy to set the transient_parent. + + * *.c: updated all calls to glade_util_show_message_box to set the + transient widget if we can. + + * glade/gbwidgets/gbmenubar.c (dialogize): + * glade/glade_project_window.c (glade_project_window_new_errors_dialog): + * glade/editor.c (editor_show_grid_settings_dialog): + (editor_show_snap_settings_dialog): + * glade/tree.c (tree_init): + * glade/property.c (show_style_dialog): + (property_create): + * glade/glade_project_options.c (glade_project_options_init): + * glade/glade_palette.c (glade_palette_init): + * glade/glade_clipboard.c (glade_clipboard_init): used a TOPLEVEL + window instead of a DIALOG. DIALOG windows should only be used for + short-lived modal dialogs (i.e. hardly ever). + + * glade/glade_clipboard.c (glade_clipboard_init): set a reasonable + default size. + + * glade/glade_project_window.c (glade_project_window_show_quit_dialog): + changed button labels to 'Quit' & 'Cancel'. + + * glade/glade_project_window.c (glade_project_window_new_project): + changed button labels to 'OK' & 'Cancel'. + + * glade/glade_menu_editor.c (glade_menu_editor_update_menu): update + the gbwidget in the widget data since we may have changed the menu item + type. + +2000-10-11 Christophe Merlet + + * glade/property.c: Marked somes strings for translations. + +2000-10-01 Damon Chaplin + + * Released Glade 0.5.11 + +2000-10-01 Damon Chaplin + + * glade/gnome/gnomemessagebox.c: added workaround for bug in gnome-libs + 1.2.3. We create the GnomeMessageBox with one button and then remove + it. Otherwise it will SEGV. Also changed the generated code to do this. + + * glade/gbwidgets/gbbutton.c: + * glade/glade_gnome.c: patch from Fernando Pereira + to avoid warnings when using g++. + + * glade/property.c (create_signals_property_page): + * glade/gbsource.c (gb_widget_write_signals_source): added + gtk_widget_grab_focus() and gtk_widget_activate_default() to the + lists of standard signal handlers. + +2000-09-25 Federico Mena Quintero + + * glade/tree.c (select_node): New function to select the node in + the tree in addition to ensuring it is visible on the tree view. + This makes the widget tree much more usable. + (tree_select_widget): Use select_node(). + +2000-09-24 Damon Chaplin + + * Released Glade 0.5.10 + +2000-09-24 Damon Chaplin + + * configure.in: changed version to 0.5.10. + + * NEWS: + * TODO: updated. + + * README: + * AUTHORS: changed glade@glade.pn.org to damon@helixcode.com + There are still a few references in the code but I don't want to + change a translated string just before a release. + +2000-09-24 Carlos Perelló Marín + + * glade/glade_gtk12lib.c: Marked some strings to translate. + +2000-09-23 Damon Chaplin + + * glade/source.c (source_write_gtk_makefile_am): in bin_PROGRAMS use + the actual program name, not the name used as the Makefile.am target. + This should fix the bug where a program name given as e.g. glade-editor + ended up as glade_editor. + +2000-09-22 Damon Chaplin + + * glade/gbwidget.c (get_standard_properties): allow GtkCheckButton + and GtkRadioButton widgets to have tooltips, since they do work even + though these are sometimes NO_WINDOW widgets. (They create their own + InputOnly windows and still get enter/leave events which tooltips use.) + +2000-09-21 Damon Chaplin + + * glade/gbwidget.c (add_standard_bottom_menu_items): Only show the + Cut, Paste & Delete items if the widget can be deleted. + + * glade/editor.c (editor_can_delete_widget): don't let child menus + be deleted. + +2000-09-18 Damon Chaplin + + * doc/C/.cvsignore: added *.junk + + * glade/editor.c (editor_on_widget_destroyed): new function to remove + any references to a widget being destroyed. Fixes bug where the + mouse_over_widget was destroyed leaving us with an invalid pointer. + + * glade/gbwidget.c (on_widget_destroy): call the above function. + + * glade/gbwidgets/gblabel.c (gb_label_new): set labels in tables to + be left-aligned by default. + + * glade/gbwidget.c (gb_widget_replace_child): when adding labels/ + buttons etc. to tables set the default x options to GTK_FILL, since + I think that is more useful (especially when you want to left-align + labels. + +2000-09-17 Damon Chaplin + + * doc/C/faq.sgml: + * FAQ: added Q2.3 about problem trying to use Gnome stock items in + a GTK+ app. + + * glade/glade_project_options.c (glade_project_options_check_valid): + accept an empty source directory, used when the source files are + output in the project's toplevel directory. + + * glade/source.c: output EXTRA_DIST in the project's toplevel + Makefile.am to contain the XML file and autogen.sh. + + * glade/glade_menu_editor.c (glade_menu_editor_init): added a "None" + item first, so it is easy to reset the icon to none. + (on_entry_changed): checked if "None" was selected, and if it was + set the entry text to "". + +2000-09-16 Damon Chaplin + + * glade/glade_menu_editor.c (set_interface_state): made the Icon + property insensitive for check/radio items since it can't be used. + + * glade/gbwidgets/gbtogglebutton.c (gb_toggle_button_get_properties): + * glade/gbwidgets/gbradiobutton.c (gb_radio_button_get_properties): + hid the Icon property when not in a toolbar, since it can't be used. + + * glade/Makefile.am (glade_DEPENDENCIES): added this since the one + automatically generated by automake would not include + $(GLADE_GNOME_LIB) etc. So the glade app would not be automatically + rebuilt when the files in gnome/ or gnome-db/ were changed. + + * glade/property.c (create_widget_property_page): Make the Class + property sensitive but not editable. + + * glade/gbwidget.c (gb_widget_redisplay_window): + * glade/editor.c (editor_on_key_press_event): queued a resize when + Crl+R or the Redisplay popup command is used so it works again. + (It is supposed to redisplay the window in roughly what will be its + final size. Of course it may be slightly messed up by placeholders + and custom widgets.) + + * glade/gbwidgets/gbbutton.c: added "relief" property, but this is not + used for toolbar button items or Gnome dialog buttons. + + * glade/gbwidgets/gbtogglebutton.c: added "relief" property, but not + for toolbar items. + +2000-09-15 Damon Chaplin + + * glade/gnome/gnomedruid.c: allowed the start & finish pages to be + removed and added again, so people can use their own start/end pages. + + * glade/glade_widget_data.[hc]: new files. Moved the code related to + the GbWidgetData struct here, and added a copy function. + + * *.[hc]: renamed GbWidgetData to GladeWidgetData, and all the flags + from GB_xxx to GLADE_xxx. + +2000-09-14 Damon Chaplin + + * glade/gbwidget.c (gb_widget_output_translatable_text_in_lines): new + function like gb_widget_output_translatable_text() but the text is + split into lines when output to the translatable strings file. + + * glade/save.c (save_translatable_text_in_lines): similar to above. + + * glade/gbwidgets/gboptionmenu.c (gb_option_menu_get_properties): + * glade/gbwidgets/gbcombo.c (gb_combo_get_properties): use + gb_widget_output_translatable_text_in_lines() to split the items into + single lines in the translatable strings file. + + * glade/glade_menu_editor.c (glade_menu_editor_update_menu): reserved + the names of the new menu widgets. Previously it was destroying the old + widgets, which resulted in the old names being released, but it wasn't + reserving the new names, which meant that name clashes happened + occasionally. I noticed this problem ages ago but couldn't spot it. + + * glade/glade_project.c (glade_project_new_widget_name): removed any + existing id on the end of the name. Otherwise if you pass "label1" + as the base_name, it would return "label11" and set the last id of + "label1" to 1, which could mess up other label names. + + * glade/gnome/gnomeabout.c (find_gnome_about_info): declared + gtk_handler_quark as a GQuark. + + * configure.in: turned Bonobo off by default (again!). I don't want + to turn it on until Bonobo is stable, or we'll just cause problems + for users with different versions of Bonobo lying around, and I'll + have to release new versions of Glade each time Bonobo changes. + + * glade/glade_gnome.c: added #include "glade_project.h". + +2000-09-13 Damon Chaplin + + Applied most of patch from Jon K Hellan , except + I think should only activate the default action in small dialogs + with only 1 or 2 fields, so I took out the changes to the project + options & menu editor dialogs. Also changed glade_util_spin_button_new + so it uses climb_rate & digits. + + Jon's patch comments: + + A bunch of changes to + - make sure that dialogs become transient children of the windows + they are invoked from. + - make the GUI easier to use from the keyboard: works as a + synonym for cancel, and in entry fields and spinbuttons + invoke the default action for the dialog. Finally, keyboard + focus should be set when a dialog is popped up, but we've only + just started fixing up that. + Still to be done is assigning underline accelerators to buttons + and fields in dialogs. + + * glade/utils.h: Include gtkwindow.h and gtkobject.h. + (GladeEscAction): New typedef. + + * glade/utils.[ch] (glade_util_check_key_is_esc): New keypress + event handler: Make work as Cancel in dialog. + (glade_util_entry_new): New constructor. Returns a new entry ready + to insert in a dialog. The entry is set up so that will + invoke the default action. The returned widget must be added to a + container in the dialog. + (glade_util_spin_button_new): New constructor. Returns a new + spinbutton ready to insert in a dialog. A pointer to the spin + button is added as object data to the dialog. The spinbutton is + set up so that will invoke the default action. The + returned widget must be added to a container in the dialog. + + * glade/utils.c (glade_util_show_message_box, + glade_util_show_entry_dialog): Added FIXME comment. + (glade_util_show_message_box): Set initial focus to OK button. + (glade_util_create_dialog_with_buttons): Set initial focus to + default button. + (glade_util_show_message_box): Make work as Cancel in dialog + - non Gnome. Gnome case was already OK. + (glade_util_create_dialog_with_buttons, + glade_util_show_entry_dialog, glade_util_create_dialog): Make + work as Cancel in dialog. + (glade_util_show_entry_dialog): Make in entry fields invoke + default by using glade_util_entry_new constructor. + + * glade/editor.c (editor_show_grid_settings_dialog, + editor_show_snap_settings_dialog): Make dialog a transient child + of window called from. Add widget parameter to make this possible. + Rename window variable to dialog. Make work as Cancel. + (editor_show_grid_settings_dialog): Make in spinbuttons + invoke default by using glade_util_spin_button_new constructor. + Set initial focus to first spinbutton. + (editor_show_snap_settings_dialog): Set initial focus to first + checkbutton. Make work as Cancel. + (on_grid_settings_ok, on_snap_settings_ok): Rename window variable + to dialog. + + * glade/editor.h (editor_show_grid_settings_dialog, + editor_show_snap_settings_dialog): Declare new signature with + widget parameter. + + * glade/glade.[ch] (glade_show_grid_settings, + glade_show_snap_settings): These functions call + editor_show_(grid|snap)_settings_dialog, but those now take a + widget parameter. Here, we don't know any widgets. Since the + functions are unused, they're commented out. I guess it would be + even better to remove them outright. + + * glade/glade_clipboard.c (glade_clipboard_init): Added "FIXME" + comment. + + * glade/glade_menu_editor.c (glade_menu_editor_init): Make + in entry fields invoke default by using glade_util_entry_new + constructor. + (on_icon_button_clicked): Make work as Cancel in dialog. + Make it a transient child of window called from. + + * glade/glade_project_options.c (glade_project_options_init): Make + in entry fields invoke default by using glade_util_entry_new + constructor. Make work as Cancel in dialog. + (glade_project_options_show_file_selection): Make dialog a + transient child of window called from. + + * glade/glade_project_window.c + (glade_project_window_on_open_project, + glade_project_window_edit_options, + glade_project_window_save_project_as, + glade_project_window_show_error): Make dialog a transient child of + project window. + (glade_project_window_on_open_project, + glade_project_window_new_errors_dialog, + glade_project_window_save_project_as): Make work as Cancel + in dialog. + (glade_project_window_save_project_as): Make work as Cancel + in dialog. + (glade_project_window_edit_grid_settings): Call + editor_show_grid_settings_dialog with widget parameter. + (glade_project_window_edit_snap_settings): s/grid/snap/. + (glade_project_window_about): Make dialog a transient child of + project window. Gnome only - non Gnome cases uses + glade_util_show_message_boxm where this is impossible until the + signature is changed. + + * glade/property.c (property_create, create_accelerators_dialog): + Added FIXME comment. + (show_colorsel_dialog, show_filesel_dialog, + create_accelerators_dialog, show_events_dialog, show_keys_dialog, + show_signals_dialog, show_font_dialog, show_style_dialog): Make + work as Cancel in dialog. Make dialog a transient child of + window called from. + + * glade/tree.c (tree_init): Added FIXME comment. + + * glade/gbwidgets/gbclist.c (show_clist_dialog): Make in + spinbuttons invoke default by using glade_util_spin_button_new + constructor. + + * glade/gbwidgets/gbmenubar.c (dialogize): New function - make + window behave like a dialog. For use when called from the + properties window. + (gb_menu_bar_on_edit_menu, gb_menu_bar_on_edit_menu_activate): Use + it. + + * glade/gbwidgets/gbctree.c (show_ctree_dialog): Ditto. + + * glade/gbwidgets/gbhbox.c (show_hbox_dialog): Ditto + + * glade/gbwidgets/gbhbuttonbox.c (show_hbbox_dialog): Ditto + + * glade/gbwidgets/gbimage.c (show_image_dialog): Ditto. + + * glade/gbwidgets/gbnotebook.c (show_notebook_dialog): Ditto. + + * glade/gbwidgets/gbtable.c (show_table_dialog): Ditto. + + * glade/gbwidgets/gbtoolbar.c (show_toolbar_dialog): Ditto. + + * glade/gbwidgets/gbvbox.c (show_vbox_dialog): Ditto. + + * glade/gbwidgets/gbvbuttonbox.c (show_vbbox_dialog): Ditto. + + * glade/gnome/gnomedruid.c (show_druid_dialog): Ditto. + + * glade/gnome/gnomepropertybox.c (show_gnome_property_box_dialog): + Ditto. + + * glade/property.[ch]: Add GbClass property name for widget class. + + * glade/property.c (property_set_widget, + create_widget_property_page): Add widget class to property editor + display. Make it insensitive. + + * glade/gbwidget.c (get_standard_properties): + Ditto. + +2000-09-13 Damon Chaplin + + * glade/utils.c (glade_util_ensure_directory_exists): + * glade/save.c: + * glade/editor.c: applied most of patch from Arnaud Charlet + to compile on Win32. + +2000-09-12 Damon Chaplin + + * configure.in: removed setting of PACKAGE_PIXMAPS_DIR. + * Makefile.am: install the logo in $(datadir)/pixmaps/glade rather + than using PACKAGE_PIXMAPS_DIR (`gnome-config --datadir`/pixmaps/glade) + This avoids problems when people want to install in their home + directories etc. + + * glade/source.c (source_write_gnome_configure_in): + (source_write_gnome_makefile_am_pixmaps_targets): remove use of + PACKAGE_PIXMAPS_DIR, and just install pixmaps in + $(datadir)/pixmaps/$(PACKAGE). This means the person installing the + package will have to make sure pixmaps get picked up by Gnome. + +2000-08-26 Damon Chaplin + + * glade/gbwidget.c (gb_widget_show_popup_menu): unref the menu on + the "hide" signal. Should fix leak spotted using Purify by + SigWait . + + * glade/glade_project.c (glade_project_destroy): free program_name, + fix from SigWait . + + * glade/gbwidgets/gbtoolbar.c (gb_toolbar_write_add_child_source): + patch from Josh Green to add space before toolbar + widgets, if needed. + + * glade/main.c (write_source): patch from Rick Niles + to handle relative paths to the XML file. + +2000-08-12 Michael Meeks + + * glade/gnome/gnomecontrol.c: Revise for new Bonobo. + (gb_bonobo_control_set_properties): add ugly hack to get some items + to have icons. + +2000-08-09 Dan Mueth + + * doc/C/user-guide.sgml: Put Michael Vance as author and + updated license to FDL. + +2000-08-03 JP Rosevear + + * configure.in : Check for bonobo > 0.15 and use bonobox to build. + +2000-07-21 Fatih Demir + + * glade.desktop: Added the Turkish desktop entries. + +2000-07-15 Michael Meeks + + * configure.in (Configuration): add std. configuration summary. + update bonobo check so it works with recent bonobos & depend on + 0.15 at least. (try_bonobo): use unless called --without-bonobo + +2000-06-25 Damon Chaplin + + * doc/C/.cvsignore: added. + +2000-06-25 Damon Chaplin + + * configure.in (ALL_LINGUAS): added ko (Korean). + +2000-06-10 Fatih Demir + + * configure.in: Added tr to ALL_LINGUAS. + +2000-06-09 Damon Chaplin + + * glade/gbwidgets/gbwindow.c (gb_window_write_standard_source): + check widget->title is non-NULL. Fixes SEGV in GnomePropertyBox. + +2000-05-31 Carlos Perelló Marín + + * Updated Spanish translation + +2000-05-23 Damon Chaplin + + * doc/C/turbo-start.sgml: added to CVS. This was in 0.5.9. + +2000-05-21 Damon Chaplin + + * glade/property.c (create_standard_property_page): mark GbX tip for + translation. + +2000-05-20 Damon Chaplin + + * Released Glade 0.5.9 + +2000-05-20 Damon Chaplin + + * glade/gnome/gnomepropertybox.c: + * glade/gnome/gnomemessagebox.c: patch from James M. Cape + to allow setting of the Title in + GnomeMessageBox, and remove the Type property, and allow setting of + all the standard window properties in GnomePropertyBox except Type. + + * glade/glade_palette.c: patch from James M. Cape + to use the toolbar relief set in the Gnome + user preferences (i.e. the Control Panel) for the palette. + + * doc/C/turbo-start.sgml: + * doc/C/Makefile.am: + * doc/C/topic.dat: added Turbo-Start from Paul J. Drongowski + . + +2000-05-14 Damon Chaplin + + * Released Glade 0.5.8 + +2000-05-13 Damon Chaplin + + * doc/file_format.txt: + * glade/glade_project_options.[hc]: + * glade/glade_project.[hc]: added gnome_help_support project option. + Currently we just output the GNOME_UIINFO_HELP macro at the top of + the Help GnomeUIInfo structs, but we will output a template help + file with build files in future. + + * glade/gnome/gnomedockitem.c (gb_gnome_dock_item_write_add_child_source): + install the menu's hints in the status bar if the GnomeApp has one. + + * glade/glade_gnome.c (glade_gnome_is_app_dock_item): changed it so + it returned the GnomeApp rather than TRUE. + + * glade/main.c: applied modified version of a patch from Jan Kratochvil + to support a --write-source command-line option. + Note that it will need an X connection to work. Jan also sent a patch + to set up batch building of Glade projects, though I haven't applied + that. + +2000-05-11 Damon Chaplin + + * glade/glade_project_window.c (HelpMenu): added GNOMEUIINFO_HELP + macro, to automatically add the stuff from topic.dat. + + * doc/C/*: Glade User Guide & FAQ added. + + * doc/Makefile.am: added SUBDIRS = C + + * configure.in (AC_OUTPUT): added doc/C/Makefile + +2000-05-10 Damon Chaplin + + * glade/gbwidget.c (set_position_properties): workaround for GTK+ bug + - when loading, hide widgets before calling set_uposition() or we may + get a warning like this: + Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width 65519 and height 65535 + +2000-05-01 Michael Meeks + + * glade/gnome/gnomecontrol.c: kill nasty hacked prototypes, include + bonobo-object-directory.h + + * glade/main.c (main): oafize. + + * configure.in (have_bonobo): Move check around. + +2000-05-01 Anders Carlsson + + * glade/main.c: oafize. + +2000-04-23 JP Rosevear + + * glade/glade_project_window.c (glade_project_window_about): Combine + separate NLS strings into one (compiler doesn't concat them like + regular const strings). + +2000-04-20 Martin Norbäck + + * glade/glade_project_window.c: made more strings translatable + +2000-04-18 Pablo Saratxaga + + * configure.in (ALL_LINGUAS): added Catalan + +2000-04-16 Damon Chaplin + + * glade/gbwidget.c (gb_widget_get_class_id): If the widget does not + have an associated GbWidget, just return the widget's class name. + +2000-04-15 Pablo Saratxaga + + * configure.in (ALL_LINGUAS): Added Greek language to list + +2000-04-08 Ruben Lopez + + * glade.desktop: Added Galician (gl) translation. + * configure.in: Added Galician (gl) translation to ALL_LINGUAS. + +2000-04-02 Damon Chaplin + + * configure.in: added GnomeDB support and tidied up a bit. + + * glade/gnome-db/*: New directory to support GnomeDB. + + * glade/gnome/gnomemessagebox.c (gb_gnome_message_box_write_source): + patch from Ralf Corsepius to fix default + click_closes property (the default is TRUE for GnomeMessageBox). + + * glade/gbwidgets/gbpixmap.c (gb_pixmap_write_source): always create + a pixmap, even if the filename isn't set. Otherwise there are problems + in widgets like notebooks where all children must exist or the order + of the children is messed up. + + * glade/source.c (source_create_pixmap): handle empty filenames. + + * glade/source.c (source_write_gnome_create_pixmap_functions): + (source_write_gtk_create_pixmap_functions): if the filename is empty + return a dummy pixmap. + + * glade/gbwidget.c (gb_widget_lookup): Added a fallback to the original + way we looked up the GbWidget*, for cases in which widgets do not have + a GbWidgetData attached (e.g. popup menus seems to have a problem when + the source code is generated). + + * glade/source.c (source_write_gnome_macro_files): added gperf-check.m4 + to the macros files to fix problem with 'make dist' on a project. + + * glade/gnome/gnomeiconlist.c (gb_gnome_icon_list_write_source): patch + from Jens Finke to output code to set selection + mode if needed. + + * glade/gbsource.c (gb_widget_write_signals_source): + * glade/property.c (create_signals_property_page): updated lists of + built-in GTK+ signal handler functions. We shouldn't duplicate these, + and they should change according to the project's language. + + * glade/glade_gnome.c (glade_gnome_write_menu_item_standard_source): + set check/radiomenuitems active if needed. Also set sensitivity. + + * glade.spec.in: patch from John GOTTS . + + * tools/mkskel.pl (OutputWidgetFile): output "#include " + +2000-04-01 Michael Meeks + + * configure.in (have_bonobo): Ask for 0.10. + + * glade/gnome/gnomecontrol.c (gb_bonobo_control_create_properties), + (gb_bonobo_control_set_propertiesm gb_bonobo_control_get_properties): + Update for CVS bonobo, hopefully this finishes property API breakage + for good. + +2000-03-28 Michael Meeks + + * glade/gnome/gnomecontrol.c: conditional compile whole file. + + * glade/gnome/Makefile.am: back out yesterday's fix: Damon + doesn't like it. + +2000-03-27 Michael Meeks + + * glade/gnome/Makefile.am (BONOBO_FILES): add. + + * configure.in (have_bonobo): fixup. + +2000-03-13 Alastair McKinstry + + * glade.desktop: Added Irish (ga) translation. + * configure.in (ALL_LINGUAS): Added Irish (ga). + +2000-03-10 Michael Meeks + + * glade/gnome/gnomecontrol.c (gb_bonobo_control_init): Use + IDL:Bonobo/Control; doh. + +2000-03-10 Michael Meeks + + * glade/gnome/gnomecontrol.c (create_prop_name): kill case bending + since case problems have disappeared. + +2000-03-08 Michael Meeks + + * glade/main.c: include bonobo headers. + (final_setup): create, (main): farm final setup bits off into a + one shot idle handler, since we can't do CORBA stuff until we + hit the main loop. On load we need to use CORBA. + + * glade/load.c (real_load_project_file): correct case on GTK-Interface. + (load_token): kill g_strdown fixing xml case problems. + + * glade/glade_project.c: s/class_name/class_id/ + + * glade/glade_palette.c: s/classname/classid/ + + * glade/glade_gnomelib.h: add gb_bonobo_control_init + + * glade/gbwidget.h: kill gb_widget_real_initialize + + * glade/gbwidget.c (gb_widgets_init): add gb_bonobo_control_init + (gb_widget_register_gbwidget): store the class_id in the gbwidget. + (gb_widget_lookup): Use the object_data & GbWidgetData gbwidget + pointer. Kill special Custom code. + (gb_widget_get_type_name): rename to (gb_widget_get_class_id): re-write. + (gb_widget_init_struct): init class_id. + (gb_widget_create_from): Setup class_id & fix custom widgets. + (gb_widget_new_widget_data): add gbwidget parameter. + (gb_widget_real_initialize): moved up and made static. + (set_special_child_properties): add debug. + (gb_widget_new_full): add warnings & pass gbwidget to gb_widget_new_widget_data + s/class_name/class_id/ + + * glade/gbsource.c: s/class_name/class_id/ + + * glade/glade.[ch]: s/class_name/class_id/ + + * configure.in: add bonobo support. + + * acconfig.h: #undef ENABLE_BONOBO + + * glade/gnome/gnomecontrol.c: Created. + + * glade/gnome/Makefile.am: Add gnomecontrol.c + +2000-02-20 Andreas Hyden + + * src/utils.c: Added _() around buttons[i] + in gtk_button_new_with_label () so they + get marked for translation. + +2000-02-19 Damon Chaplin + + * Released Glade 0.5.7 + +2000-02-19 Damon Chaplin + + * glade/source.c (source_write_gnome_macro_files): commented out + gnome-gettext.m4 since it has been removed. + +2000-02-12 Damon Chaplin + + * Released Glade 0.5.6 + +2000-02-12 Damon Chaplin + + * glade/editor.c (editor_on_button_press): patch from + to show a message & tip about containers + when the user tries to add a widget in an invalid position. + + * README: + * TODO: + * INSTALL: updated. + +2000-02-06 Damon Chaplin + + * README: updated. + +2000-02-04 Damon Chaplin + + * FAQ: update answer about m4 files, to suggest using ACLOCAL_FLAGS + instead of copying m4 files around. + + * glade/gbwidget.c (gb_widget_children_foreach): use new function + box_foreach() so that children are saved and the source code written + in the correct order. + +2000-02-01 Damon Chaplin + + * glade/utils.[hc] (glade_util_is_component): new function to test if + a widget is a project component (window/dialog/popup menu). + + * glade/gbwidget.c (get_lang_specific_properties): + * glade/gbwidget.c (set_standard_properties): use new function + glade_util_is_component() to test for toplevel widgets. + + * glade/glade_project_options.c (glade_project_options_check_valid): + check that the translatable strings filename has been set if needed. + +2000-01-29 Damon Chaplin + + * doc/file_format.txt: new section describing defaults for the project + options. Future Glade versions will only output the options in the XML + file if they differ from the defaults, so code generators should be + updated if necessary. + + * glade/glade_project.c (glade_project_save_options): Only use default + values for C options which won't affect Glade versions 0.5.0-0.5.5. + +2000-01-22 Damon Chaplin + + * glade/editor.c + * glade/glade_plugin.c + * glade/glade_project.c + * glade/save.c + * glade/source.c + * glade/source_os2.c + * glade/utils.c: Patch from Arnaud Charlet + to compile Glade on Win32. + + * glade/glade_gnome.c (glade_gnome_write_menu_item_source): fixed a + few bugs when using normal pixmaps in menuitems. + + * glade/glade/editor.c + * glade/glade/glade_clipboard.c + * glade/glade/glade_keys_dialog.c + * glade/glade/glade_menu_editor.c + * glade/glade/glade_project_options.c + * glade/glade/glade_project_window.c + * glade/glade/property.c + * glade/glade/tree.c: + * glade/glade/palette.c: + patch from James M. Cape to set the WM_NAME + & WM_CLASS properties of all windows, so window managers can remember + their positions. Plus a few changes from me. + + * glade/glade_project_window.c: added a confirm dialog before quitting + so people don't lose work accidentally. + + * glade/gbwidget.c (get_lang_specific_properties): only output + cxx_use_heap if it is different from the default value of 0, otherwise + it is output for all widgets in projects for other languages. + + * glade/glade_project.c (glade_project_save_options): + (glade_project_load_options): used defaults for most project options + so most will not appear in the XML. When loading also made sure that + any unset options are set to the same defaults. + + * glade/gbwidgets/gbhpaned.c (gb_paned_write_add_child_source): + * glade/gbwidgets/gbvpaned.c (gb_vpaned_init): + * glade/gb.h: wrote out proper code to add widgets to paned containers. + + * glade/gbwidgets/gbtext.c (gb_text_set_properties): + (gb_text_write_source): don't realize the text widget before inserting + text, since that isn't needed any more, and it causes problems with + notebooks (a bug in GTK+ I think). + + * glade/property.c (on_signal_clear, on_signal_add): set "signal after" + button to FALSE when signal added and when cleared, such behavior is + more intuitive. (Patch from Arturo Tena ) + + * glade/main.c (parse_command_line): const fix. + + * glade/gbwidgets/gbprogressbar.c (gb_progress_bar_set_properties): + fixed one-line bug 'min = adjustment->upper', should be max. + +1999-12-23 Matthias Warkus + + * glade.png: Added icon by Eduardo da Silva + +1999-11-22 Damon Chaplin + + * glade/glade_gtk12lib.c (standard): added Custom widget to Martijn's + palette on the standard page. + +1999-11-18 Damon Chaplin + + * configure.in: fixed setting of GLADE_DATA_DIR, so --datadir works. + +1999-11-24 Yuri Syrota + + * configure.in (ALL_LINGUAS): Added uk to ALL_LINGUAS + +1999-11-14 Damon Chaplin + + * glade/gbsource.c (gb_widget_write_source): set data->write_children + to TRUE near top of function, in case the current widget is skipped. + +1999-11-09 Martijn van Beers + + * glade/source.c (source_create_valid_identifier): + prepend an _ when the identifier starts with a number, so that + widgets 4thwidget and 5thwidget are still unique + +1999-11-11 Damon Chaplin + + * Released Glade 0.5.5 + +1999-11-11 Damon Chaplin + + * glade/property.c (create_accelerators_dialog): fixes for GTK+ + version. + + * glade/source.c (source_write_component): used (void) for the function + prototypes in interface.c, for use with -Wstrict-prototypes. + +1999-11-06 Damon Chaplin + + * Released Glade 0.5.4 + +1999-11-06 Damon Chaplin + + * glade/gbwidgets/gbcombo.c (gb_combo_get_properties): + (add_label): + * glade/source.c (source_write_gnome_makefile_am): + * glade/gbsource.c (gb_widget_write_signal_handler_source): + * glade/gbwidget.c (gb_widget_create_child_properties): + * glade/gbwidgets/gbhbox.c (gb_box_set_child_properties): + fix a few warnings for Mips 10000, some of which were minor bugs. + + * glade/glade_gnome.c (glade_gnome_write_menu_item_source): use + source_make_static_string() for the tooltips since they are used in the + GNOME_UI_INFO structs. + + * glade/load.c (load_parse_color): multiply colors by 257 rather than + 256 so that ff gets mapped to ffff. + + * glade/gbwidgets/gbpacker.c (gb_packer_write_add_child_source): always + use GtkPackerOptions cast in the source code (for g++). + + * glade/gnome/gnomedruidpagefinish.c (gb_gnome_druid_page_finish_get_properties): + * glade/gnome/gnomedruidpagestart.c (gb_gnome_druid_page_start_get_properties): + * glade/gnome/gnomedruidpagestandard.c (gb_gnome_druid_page_standard_get_properties): Output titles and text as translatable. + + * glade/gbwidget.c (gb_widget_load_style): return OK status so styles + are skipped properly. + + * glade/editor.c (editor_can_delete_widget): allow labels in buttons/ + menuitems to be deleted. + Stop the child widgets of GtkCombo, GnomeEntry etc. from being deleted. + (editor_on_button_press): don't allow widgets to be added to a + GnomeCanvas, since we don't support that. + + * glade/utils.c (glade_util_parent_directory): few _() added. + + * FAQ: added question on connecting to adjustment signals. + + * glade/source.c (source_write_main_c): wrap calls to bindtextdomain() + and textdomain in #ifdef ENABLE_NLS to get rid of warnings about + statements with no effect when NLS is disabled. + (source_write_support_files): include config.h in GTK+ apps to make + sure ENABLE_NLS is set. + + * glade/property.c: moved accelerators from a property page to a + dialog box, since they are very rarely needed. + + * glade/property.c (show_signals_dialog): sort signals alphabetically, + added ' signals' to group names, e.g. 'GtkButton signals', and + skipped classes with no signals. + + * glade/glade_gnome.c: updated the stock arrays to latest gnome-libs + (i.e. added the Midi pixmaps, which weren't in gnome-libs 1.0.0) + + * glade/gnome/gnomeanimator.c: supported the easy properties. Haven't + added support for the frames of the animation yet, though. + + * glade/gbwidget.c (gb_widget_write_standard_source): don't output code + to set the size of GnomeAnimator widgets since it is set when creating + the widget. I didn't want to have 2 separate 'Width' & 'Height' + properties so I overloaded the basic properties. + + * FAQ: added question about scrolled window warnings. + +1999-10-27 Martin Norbäck + + * glade.desktop: added swedish desktop entry + +Wed Oct 13 08:50:57 1999 ape@gandalf.spacetec.no (Asbjorn Pettersen) + + * glade/source_os2.c: Adding GNOME support for makefile.os2. + +1999-10-10 Martijn van Beers + + * glade/gbsource.[ch]: New files + * glade/gbwidget.[ch]: Moved all source-generating stuff + to gbsource.[ch] + * glade/Makefile.am: put new files in build. + +Sun Oct 3 15:47:34 1999 ape@gandalf.spacetec.no (Asbjorn Pettersen) + + * glade/source.c (source_write_include_files): Add this function + for printout of header files. Add also to remove + compiler warning under OS/2. + +1999-09-27 Anders Carlsson + + * configure.in (ALL_LINGUAS): Added sv to ALL_LINGUAS + +1999-09-12 Damon Chaplin + + * Released Glade 0.5.3 + +1999-09-10 Damon Chaplin + + * glade/glade_clipboard.c: set pointers to a project to NULL when the + project is destroyed, so we never have invalid pointers. + + * glade/gbwidgets/gblayout.c: + * glade/gbwidgets/gbtext.c: + * glade/gbwidgets/gbctree.c: + * glade/gbwidgets/gbclist.c: changed the way we connect handlers to + the adjustments. It should be more reliable now. + + * glade/editor.c (placeholder_finish_replace): Automatically insert + scrolled windows or viewports depending on the widget being added. + + * glade/gbwidget.c (add_standard_bottom_menu_items): + (gb_widget_add_scrolled_window): + (gb_widget_remove_scrolled_window): new popup menu commands to add or + remove a scrolled window from widgets which can handle scrolling. + + * glade/tree.c (tree_remove_widget_parent): changed parent argument to + grandparent so it can be called after the widget hierarchy has been + rearranged. + + * FAQ: added a few more questions. + + * glade/glade_gnome.c (glade_gnome_gettext): checked for ENABLE_NLS. + +1999-09-05 Damon Chaplin + + * Released Glade 0.5.2 + +1999-09-05 Damon Chaplin + + * FAQ: added a few more common questions & answers. + + * glade/gbwidgets/gbhscale.c: + * glade/gbwidgets/gbvscale.c: + * glade/gbwidgets/gbhscrollbar.c: + * glade/gbwidgets/gbvscrollbar.c: + * glade/gbwidgets/gbspinbutton.c: update all the adjustment property + names so all of them use 'value', 'lower', 'upper', 'step', 'page' + and 'page_size' instead of 'hvalue', 'hlower' etc. and 'vvalue', + 'vlower' etc. That made no sense for GtkSpinButton, GtkVScale was using + 'hvalue' etc., and the 'h's and 'v's aren't really necessary. + + Glade will accept old & new property names on input and write out the + new ones, so external tools should just support the new names. + +1999-09-05 Damon Chaplin + + * glade/gbwidgets/gblabel.c: added support for focus_target and + default_focus_target properties. The focus_target property is the + widget which should get the keyboard focus when the underlined + accelerator key in the label is used. It is selected from a combo + containing all the widgets in the component which can accept the focus. + + The first option in the list is 'Auto' which tells Glade to try to + find the target itself. If this is used, focus_target will not appear + in the XML file, but a default_focus_target property may be saved + containing the name of the default target widget found by Glade. + (Though it may not be able to find one.) + +1999-09-04 Damon Chaplin + + * glade/gbwidget.c: + * glade/palette.c: + * glade/glade_palette.h: + * glade/glade_palette.c: + * glade/glade_project.h: + * glade/glade_project.c: + * glade/glade_project_options.h: + * glade/glade_project_options.c: reverted Martin's changes since there + were a few problems which need to be fixed first. + + * glade/gbwidgets/gbpixmap.c: added build_insensitive boolean property. + + * glade/gbwidgets/gbcombo.c: added value_in_list & ok_if_empty + boolean properties. + + * glade/*.h: got rid of all the '#pragma }' lines and renamed the top + #ifdef's since we shouldn't really use names starting with '__' as + that is reserved. + + * glade/editor.c: use gdk_window_get_pointer() instead of + gtk_widget_get_pointer() since the latter will subtract the allocation + if the widget has no window, which confuses our code. + + * glade/editor.c (editor_get_event_widget): it now looks up the + widget hierarchy for a GbWidget to direct the event to as well. + If we don't do this, then a widget may pinch the event before we get + it. This meant that GnomeIconEntry and GnomeIconSelection couldn't be + selected easily. + + * glade/gnome/gnomedruid.c: + * glade/gnome/gnomedruidpagestart.c: + * glade/gnome/gnomedruidpagestandard.c: + * glade/gnome/gnomedruidpagefinish.c: + * glade/gnome/gnomepixmap.c: + * glade/gnome/gnomepropertybox.c: + * glade/gnome/gnomeiconselection.c: + * glade/gnome/gnomeiconlist.c: new widgets supported. + + * glade/property.c (create_signals_property_page): hid the signal + data & object properties. I hope not too many people have been using + them. They make signals too complicated. The 'After' flag can cause + problems too, but I don't think we can get rid of that. + + * glade/gbwidgets/gbwindow.c (gb_window_write_standard_source): fixed + output of gtk_window_set_wmclass(). Remember source_make_string() uses + the same buffer for every call! I think this should be fixed somehow + since it often causes problems. Maybe allocate memory for each string, + but then it would have to be freed after use. Maybe use one GString + to contain all the strings for one widget, then free it all, but I'm + not sure GString supports that. Or maybe keep a pool of GStrings. + + * glade/glade_gnome.c (glade_gnome_write_radio_menu_item_source): + incremented the uiinfo index so the GNOME_APP_UI_RADIOITEMS item is + skipped properly. + + * glade/gbwidget.h: got rid of GB_INITIAL_EXPOSE flag since it didn't + work properly. Some widgets never got an expose event since their area + was completely covered by their child widgets. We connect to + size_allocate and update the position properties there if necessary, + so we should be OK. We now use GB_SIZE_NOT_ALLOCATED flag instead. + + * glade/gbwidget.c: removed code which the set size of a GtkCombo's + entry whenever the combo's size was changed. Also removed it from the + source code output as well. It seems to be fixed in GTK+ now. + + * glade/property.c: + * glade/gbwidget.c: cut out a lot of the style-related code using + '#ifdef GLADE_STYLE_SUPPORT'. It isn't finished and it is buggy so it + is probably best to take it out for now. + + * glade/editor.c (editor_delete_widget): don't rely on the placeholder + still being there after gb_widget_replace_child(). If it is added to + a table, and there is already a widget in the same position, it will + be destroyed immediately. + + * glade/gbwidgets/gbtable.c (gb_table_set_child_properties): fixed + updating of table child's position. + + * glade/gbwidgets/gbpacker.c (gb_packer_write_add_child_source): + output "(GtkPackerOptions) 0" rather than just "0" to keep g++ happy. + + * glade/gbwidgets/gblayout.c: new widget supported, like GtkFixed + but with builting support for scrolling. + + * glade/gbwidgets/gbctree.c: + * glade/gbwidgets/gbclist.c: improved redrawing when scrolling. + + * glade/utils.c (glade_util_find_toolbar_accelerator_target): new + function to find default accelerator target in a toolbar. + (glade_util_find_default_accelerator_target): initialized target to + NULL. + + * glade/gbwidgets/gblabel.c (gb_label_write_source): forgot to output + code to create the label when the accelerator target wasn't found. + + * glade/utils.c (glade_util_find_focus_child): returns the child of + a widget which should get the keyboard focus when an accelerator is + setup. + + * glade/gbwidgets/gbarrow.c (gb_arrow_set_properties): fixed setting + of direction and shadow type properties. + +1999-09-02 Martin Baulig + + * glade/glade_palette.h (GladePaletteClass): Added `create_item' + as new signal function. + + * glade/glade_palette.c (on_palette_button_toggled): Emit + "create_item" signal if the user pressed the shift button so + you can create arbitrary widgets by holding down the shift button. + + * glade/palette.c (on_palette_create_item): New function to + create arbitrary widgets. + + * glade/gbwidget.c (gb_widget_save): Don't save placeholders if + we disabled them in the project options. + + * glade/glade_project.h (GladeProject): Added `save_placeholders' + (glade_project_get_save_placeholders): New function. + (glade_project_set_save_placeholders): New function. + + * glade/glade_project.c (glade_project_show_component): + If the component is neither a menu nor a toplevel, add it to + a newly created toplevel window and show it. + + * glade/glade_project_options.h (GladeProjectOptions): + Added `save_placeholders'. + +Wed Sep 1 16:01:49 1999 Pablo Saratxaga + + * configure.in, po/da.po: added Danish language file + +Thu Aug 26 19:20:01 1999 ape@gandalf.spacetec.no (Asbjorn Pettersen) + + * glade/save.c (save_project_file_internal): remove backup file + before rename the original to it. Only for OS/2 ! + +Fri Aug 6 21:46:39 1999 ape@gandalf.spacetec.no (Asbjorn Pettersen) + + * glade/source_os2.c (source_write_makefile_simple): New makefile.os2 format. + +Thu Aug 5 22:07:14 1999 ape@gandalf.spacetec.no (Asbjorn Pettersen) + + * glade/source.c (source_write_build_files): Patch for OS/2 version + only. Parameter missing. + +1999-08-01 Damon Chaplin + + * Released Glade 0.5.1 + +1999-08-01 Damon Chaplin + + * glade/gbwidgets/gbcombo.c: + * glade/gnome/gnomeentry.c: + * glade/gnome/gnomefileentry.c: + * glade/gnome/gnomenumberentry.c: + * glade/gnome/gnomepixmapentry.c: made the GtkEntry widgets special + children, so that its properties can be set and signal handlers can + be added. For GnomePixmapEntry the GnomeFileEntry is also made a + special child. + + * glade/gbwidget.c (gb_widget_write_standard_source): for toplevel + widgets we don't ref the widget since if we do it never gets destroyed. + + * glade/utils.c (glade_util_get_label_text): used the wide char version + of the label text and converted to multi-byte when returning. + + * glade/editor.c (editor_delete_widget): widgets in a GtkPacker get + deleted completely, just like widgets in a GtkFixed. + + * glade/gnome/*.c: included first so i18n works OK. + + * glade/gnome/gbpixmapmenuitem.c (gb_pixmap_menu_item_destroy): remove + the pixmap from the project when the menuitem is destroyed. + + * glade/glade_menu_editor.c (on_stock_item_entry_changed): call + set_interface_state after changing the stock item so that the label + and icon become editable if appropriate. + (glade_menu_editor_update_menu): always use a GtkPixmapMenuItem when + an icon has been specified, even it it couldn't be loaded, since the + pixmap file is added to the project and is only removed in the destroy + function of GtkPixmapMenuItem. + + * glade/tree.c (tree_add_widget): If the widget has already been + added, check if its name needs updating. + + * glade/gbwidget.h (struct _GbWidgetWriteSourceData): added + focus_widget and default_widget so we can set these after creating the + entire component. GnomeDialog messes the default up otherwise. + We can also check if several widgets have these flags set, so we can + output warnings. + + * glade/gbwidgets/gbbutton.c (gb_button_set_stock_button): when setting + back to normal button check if it is a normal button or a GnomeDialog + button and recreate as appropriate. + + * glade/gbwidgets/gbradiobutton.c (gb_radio_button_write_source): + * glade/gbwidgets/gbtogglebutton.c (gb_toggle_button_write_source): + * glade/gbwidgets/gbcheckbutton.c (gb_check_button_write_source): + * glade/gbwidgets/gbbutton.c (gb_button_write_source): + * glade/gbwidgets/gblabel.c (gb_label_write_source): setup accelerator + key if the label has an underlined character. + + * glade/gbwidgets/gbhbox.c: added Position child packing property, + so children of a box can be reordered easily. Though it may be a little + confusing due to the PACK_START/END flags. It isn't saved in the XML. + + * glade/gbwidgets/gboptionmenu.c: fixed the initial choice property. + + * glade/save.c (save_project_file_internal): backup existing XML file. + + * glade/gbwidgets/gbcolorselection.c (gb_color_selection_write_source): + * glade/gbwidgets/gbmenuitem.c (gb_menu_item_write_accel_source): two + bugs found thanks to G_GNUC_PRINTF and fixed. + + * glade/gbwidgets/gbpacker.c: added spacing, default border width, + default padx, pady, ipadx, ipady properties. + Added use_default child property. + Added child position property which isn't saved in the XML. + + * glade/editor.c (editor_on_button_press): do selection/add widget + only on single button press, not double-clicks. + + * glade/gbwidget.c (gb_widget_input_adjustment): + * glade/gbwidgets/gbtable.c (gb_table_set_properties): + (gb_table_set_child_properties): + * glade/gbwidgets/gbscrolledwindow.c (gb_scrolled_window_set_properties): + * glade/gbwidgets/gbprogressbar.c (gb_progress_bar_set_properties): + * glade/gbwidgets/gbpixmap.c (gb_pixmap_set_properties): + * glade/gbwidgets/gbpacker.c (gb_packer_set_child_properties): + * glade/gbwidgets/gbwindow.c (gb_window_set_standard_properties): + * glade/gbwidgets/gbimage.c (gb_image_set_properties): + * glade/gbwidgets/gbvbuttonbox.c (gb_vbutton_box_set_properties): + * glade/gbwidgets/gblabel.c (gb_label_set_properties): + * glade/gbwidgets/gbvruler.c (gb_vruler_set_properties): + * glade/gbwidgets/gbhruler.c (gb_hruler_set_properties): + * glade/gbwidgets/gbhbuttonbox.c (gb_hbutton_box_set_properties): + * glade/gbwidgets/gbhbox.c (gb_box_set_child_properties): + * glade/gbwidgets/gbgammacurve.c (gb_gamma_curve_set_properties): + * glade/gbwidgets/gbcurve.c (gb_curve_set_properties): + * glade/gbwidgets/gbaspectframe.c (gb_aspect_frame_set_properties): + * glade/gbwidgets/gbarrow.c (gb_arrow_set_properties): + * glade/gbwidgets/gbalignment.c (gb_alignment_set_properties): + * glade/gbwidgets/gbaccellabel.c (gb_accel_label_set_properties): + corrected code which sets multiple properties at once, so that any + properties which aren't set retain their old values. + + * glade/gnome/gnomedock.c (gb_gnome_dock_write_source): + (gb_gnome_dock_write_add_child_source): floating dock items are set + to initially appear cascaded from 100,100 in 50x50 increments. + + * glade/gbwidgets/gbhandlebox.c: added shadow_type, handle_position, + and snap_edge properties. + + * glade/gbwidgets/gbmenubar.c: added shadow_type property. + + * glade/source.h: used G_GNUC_PRINTF () so gcc can type-check calls + to source_add() etc. + + * glade/gbwidgets/gbarrow.c (GbShadowChoices): in GTK+ 1.2 arrow now + supports all shadow choices - none, in, out, etched in, etched out. + + * glade/glade_project_window.c (glade_project_window_update_title): + Display "" if the project name hasn't been set. + + * glade/tree.c (tree_add_widget): set expanded to FALSE when adding + new widgets to the tree. The tree really needs buttons or something + to expand/collapse all widgets. + + * glade/gbwidgets/gbwindow.c: + * glade/gbwidgets/gbcolorselectiondialog.c: + * glade/gbwidgets/gbdialog.c: + * glade/gbwidgets/gbfontselectiondialog.c: + * glade/gbwidgets/gbfileselection.c: + * glade/gbwidgets/gbinputdialog.c: + * glade/gnome/gnomeapp.c: + * glade/gnome/gnomedialog.c: + * glade/gnome/gnomemessagebox.c: + * glade/gnome/gnomeabout.c: used common functions in gbwindow.c for + all the common window properties - title, type, position, modal, + default w & h, shrink, grow, autoshrink, wmname & wmclass. + Some of these properties weren't supported by some of the widgets, so + I've added support for them where they are appropriate. + Changed position so we store it separate from the widget, so it doesn't + affect the window position while in Glade. + The Modal property is a new property, also stored separately so it + doesn't affect Glade. + The Default Width & Height properties are also new. + + * glade/gbwidget.c (gb_widget_redisplay_window): + * glade/editor.c (editor_on_key_press_event): added accelerator key, + Ctrl-R, and popup menu command, "Redisplay", to redisplay a window. + This resets the window's size so hopefully the window now appears at + the exact size it will be in the final interface. + + * glade/gnome/gnomemessagebox.c: XML change - changed "type" property + to "message_box_type" since it clashed with the standard GtkWindow + "type" property which I've added. + + * glade/gbwidgets/gbtoolbar.c: + * glade/gbwidgets/gbhbox.c: + * glade/gbwidgets/gbvbox.c: + * glade/gbwidgets/gbpacker.c: + * glade/gbwidgets/gbtable.c: + * glade/gbwidget.[hc]: + * glade/property.[hc]: Moved all code to do with creating child + packing properties to the individual GbWidgets. Added 2 new functions + to the GbWidget struct - gb_widget_create_child_properties() and + gb_widget_get_child_properties(). (We already had + gb_widget_set_child_properties.) + + * glade/gbwidgets/gbvpaned.c: + * glade/gbwidgets/gbhpaned.c: added Position property, and Shrink + and Resize child packing properties. + + * glade/gbwidgets/*.c: got rid of gb_widget_init_struct2() calls, + since it's not really better than gb_widget_init_struct() and we were + left with some calls to one and some to the other making it confusing. + + * glade/utils.c (glade_util_create_pixmap_using_colormap): unref the + gdkpixmap & mask since the GtkPixmap adds refcounts to them. + + * glade/gbwidget.c (gb_widget_input_child_label): when creating a label + for a menuitem call set_accel_widget() so any accelerator appears. + +1999-07-22 Herbert Valerio Riedel + + * glade.spec.in: changed configure options in order to + build on all alphas + +Sat Jul 3 20:08:10 1999 ape@gandalf.spacetec.no (Asbjorn Pettersen) + + * glade/source_os2.h (source_write_os2_files): + * glade/source_os2.c (source_write_os2_files): Add parameters. + +1999-06-29 Nat Friedman + + * glade.spec: Removed this autogenerated file. + +1999-06-29 Jose Mercado + + * glade.spec.in (Source): Changed glade-0.4.1.tar.gz to + glade-%{ver}.tar.gz. + + Changed %{prefix}/share/apps/Development/glade.desktop to + %{prefix}/share/gnome/apps/Development/glade.desktop. + +1999-06-28 Damon Chaplin + + * Released patch to Glade 0.5.0 + +1999-06-28 Damon Chaplin + + * glade/source.c (source_write_gnome_makefile_am_pixmaps_targets): + (source_write_gtk_makefile_am_pixmaps_targets): used $(srcdir) when + installing the app's pixmaps, just like Nuno's fix for Glade below. + + * glade/gbwidgets/gbentry.c (gb_entry_create_properties): renamed + 'Visible' property to 'Text Visible' and updated description. + (The property is still saved as "text_visible" so the XML is unchanged) + + * glade/gbwidgets/gbtoolbar.c (gb_toolbar_create_properties): added + button relief property (choice of normal, none, half). + + * glade/gbwidgets/gbmenuitem.c (gb_menu_item_write_source): + (gb_menu_item_write_accel_source): + * glade/gbwidgets/gbradiomenuitem.c (gb_radio_menu_item_write_source): + * glade/gbwidgets/gbcheckmenuitem.c (gb_check_menu_item_write_source): + * glade/gb.h: setup accelerator signals for underlined keys. + + * glade/gbwidget.c (gb_widget_write_standard_source): set separator + menuitems insensitive so they are skipped when moving up/down with the + cursor keys. + + * glade/glade_clipboard.c (glade_clipboard_paste): added checks to + make sure we don't try to paste things where they shouldn't go. + Shows popup dialogs to indicate why a Paste command was not done. + Integrated with project window so you can select windows there and + copy/paste them (though we should eventually let GladeProject control + widget selection and make it emit signals which views can act upon). + + * glade/gbwidgets/gbhbox.c (gb_box_set_size): added call to + tree_add_widget() when new buttons are added to button boxes. + + * glade/gbwidgets/gbnotebook.c (gb_notebook_insert_next): added calls + to tree_add_widget() to add new tab labels to the tree. + Tidied up the code which updated the number of pages in the property + editor after adding/removing pages. + + * glade/gnome/gnomedock.c (gb_gnome_dock_add_band): added call to + tree_add_widget() to add new dock items to the tree. + + * glade/gnome/gnomeapp.c (gb_gnome_app_new): set the GbStockIcon index + properly for the toolbar icons. We don't need to add 1 to it any more, + since 'None' was added which is equivalent to no setting. + Removed the GnomeApp's accel_group from the window, since we don't use + it and it interferes with our accelerators. + + * glade/gbwidgets/gbtoolbar.c: updated GtkToolbarChild struct when we + change the icon. + + * configure.in: + * Makefile.am: install Glade logo so it appears in GnomeAbout dialog. + + * glade/glade_gnome.c (glade_gnome_write_menu_item_source): output + empty GnomeUIInfo struct for stock subtree items with no child menu. + + * glade/gnome/gnomeless.c (gb_gnome_less_write_source): called + gb_widget_write_standard_source(). + + * glade/gnome/gnomehref.c (gb_gnome_href_write_source): used + source_make_string() to output the URL. + + * glade/gnome/gnomemessagebox.c: added properties from GnomeDialog + and GtkWindow, and added the write_source() function. + +1999-06-24 Nuno Ferreira + + * Makefile.am (install-data-local): Install files from $(srcdir). + + * glade/data/gtk/Makefile.am (install-data-local): Install + autogen.sh from $(srcdir). + +1999-06-20 Damon Chaplin + + * Released Glade 0.5.0 + +1999-06-20 Damon Chaplin + + * glade/glade_project_window.c: functions to save the XML and write + the source now show the Project Options dialog if all the needed + options haven't been set, instead of showing file selection dialogs. + The project options dialog will fill in default values, so simply + clicking 'OK' will save the project or build the source code. + + * glade/glade_project_options.[hc]: rewritten to make it easier to + setup projects. + + * several other fixes and Gnome additions. + +1999-06-17 Damon Chaplin + + * glade/gbwidgets/gbcalendar.c: XML change - changed property names to + lower case. + +1999-06-13 Damon Chaplin + + * glade/glade_project_options.[hc]: added option to save translatable + strings, so interfaces loaded by libglade can be translated. + I'm going to rearrange the project options a bit so that everything + can be set relative to the project directory. + + * glade/gbwidgets/gbbutton.c: added support for buttons in GnomeDialog + and GnomeMessageBox - these can be stock buttons or a stock icon + and a label. + + * glade/gbwidgets/gbmenubar.c (gb_menu_bar_write_source): + * glade/gbwidgets/gbmenu.c (gb_menu_write_source): added support for + using gnome_app_fill_menu() to fill a menu with using GnomeUIInfo + data. We need this for popup menus and for menubars which aren't in + a GnomeApp. Unfinished - need to support accelerators better. + + * glade/gbwidgets/gblabel.c: fixed justify property. Added wrap. + +1999-06-07 Damon Chaplin + + * glade/glade_project_window.c (glade_project_window_new): set + show grid and snap to grid toggle menu items. + + * glade/gbwidgets/gbprogressbar.c: added a few properties - + Value, Min, Max, Format, XAlign, YAlign. + + * glade/glade_project.c (glade_project_init): fixed typo. + +1999-06-06 Damon Chaplin + + * glade/source.c (source_write_component): initialized data->parent to + NULL, so we don't get SEGVs. + + * glade/save.[hc] + * glade/gbwidget.[hc] + * glade/gbwidgets/*.c + * glade/gnome/*.c: added support for saving translatable string + properties, so that we can save a C file containing all the + translatable strings in the interface. When using libglade, this file + can be added to an app's POTFILES.in, and thus the interface can be + translated easily. This is not quite finished - I need to add the file + as a project option. + +1999-06-05 Damon Chaplin + + * Lots of Gnome changes. + + * glade/source.c: major reorganization, to split the code into + decent functions and handle errors better. + + * glade/glade.[hc]: added GladeError data type which holds an error + code, a possible errno code for system errors, and an error message. + Also function to create errors and free them. + GladeStatusCode didn't really contain enough info to give the user + decent error messages, and we were duplicating system error codes. + GladeError is used mainly in source.c for now, but I may update other + parts of Glade to use it. + + *glade/graphics/*: updated most Gnome icons, and a few GTK+ ones. + Still not perfect, but adequate. + +1999-05-11 Damon Chaplin + + * updated lots of Gnome-related code - loading & saving should work + for most things. + * added const to many function arguments. + * in source output connected signals last, so any widget names used + in the object/data fields will be OK. + * added support for using the same handler in several places - we only + output it once. Though handler prototypes may not match - we leave + that problem to the user for now. + * added "gtk_widget_hide" as a standard signal handler. + * fixed selection of viewport children. + * added initial (empty) DocBook manual. + * changed default fill/expand options for widgets in boxes/tables, and + made sure placeholders don't expand and mess up other widgets' sizes. + * connected to menubar "size_request" to ensure it's a reasonable size. + + * glade/load.c: + * glade/property.[hc]: stopped using GtkPreview to display style + colors. We weren't using it properly, which led to problems on some + systems. To use it properly we have to set the colormap of the entire + property editor window to the GtkPreview's desired colormap, which can + mean lots of colormap swapping on low-color displays. So instead we + just use the closest color we can. (The colorsel dialog may still use + its own colormap but that's not so bad as it is a temporary dialog.) + Also changed it to use GdkColors internally so we can save colors as + 16-bit values in future, i.e. using the format "RGB:rrrr/gggg/bbbb". + +Mon May 10 11:54:33 1999 omega@cse.ogi.edu (Erik Walthinsen) + + * removed glade/glade.desktop, made sure the top-level one is up + to date. + +Thu May 6 13:47:23 1999 omega@cse.ogi.edu (Erik Walthinsen) + + * put the glade.desktop file back in place (where'd it go??) + +Wed May 5 17:08:00 1999 omega@cse.ogi.edu (Erik Walthinsen) + + * glade.spec.in: added line for new m4 files + +1999-05-05 Jacob Berkman + + * glade/Makefile.am (Developmentdir): install the .desktop in + in the correct directory + +Sun May 2 14:04:45 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * glade/utils.c: Add + +1999-04-28 Martijn van Beers + + * glade/gbwidget.[ch]: Added a gb_widget_set_child_props function + pointer to GbWidget, and have set_special_child_properties use it. + * tools/mkskel.pl: added the gb_widget_set_child_props here + * glade/gbwidgets/gbtable.c: + * glade/gbwidgets/gb[hv]box.c: + * glade/gbwidgets/gbtoolbar.c: + * glade/gbwidgets/gbpacker.c: Copied code from + set_special_child_properties to here. + * utils.[ch]: added a glade_widget_to_gb function that gets the + gbwidget for a widget. Gets used where appropriate. + +1999-04-27 Martijn van Beers + + * acconfig.h: + * configure.in: + * glade/Makefile.am: Added configure flag to decide what kind + of palette layout you want + * gbwidget.c(gb_widget_init): Put adding items to palette here + (gb_widget_init_widget_lib): New function for adding the widgets + in one lib + * palette.[ch]: Changed to have widgets added from gbwidget.c + * glade_gtk11lib.[ch]: renamed/split to glade_gtk12lib.[ch] and + glade_gnomelib.[ch] + +1999-04-25 Damon Chaplin + + * glade/gbwidgets/gbvbuttonbox.c (on_vbbox_dialog_ok): + * glade/gbwidgets/gbhbuttonbox.c (on_hbbox_dialog_ok): + * glade/gbwidget.c (gb_widget_update_box_size): set GTK_CAN_DEFAULT + flag for new buttons in a button box. + + * glade/glade_project_window.c: Updated Gnome code to make it conform + more to the Gnome style guide - gnome-libs/devel-docs/suggestions.txt, + by using stock menu items where possible, adding underlined accelerator + keys to all menu items, and adding a 'Settings' menu for the grid and + snap settings. Let me know of anything which doesn't conform. + Also set up the status bar so it shows tips for each menuitem, though + unfortunately these are often hidden by the menus. + + * configure.in: + * glade/Makefile.am: added BUILD_GNOME conditional to build gnome + GbWidgets only if Gnome is installed and --disable-gnome isn't used. + + * glade/gnome/*: added new directory to support Gnome widgets. + * glade/glade_gtk11lib.c: added Gnome widgets to a new section. + + * glade/glade_menu_editor.[hc]: added support for stock Gnome menuitems + and icons. Got rid of handler data and object entries. These would be + quite awkward to use, and I don't think are essential. Gnome doesn't + support setting the object, and using the data field would be quite + difficult as well. + Made more self-contained - all the caller has to do now is pass it + the project & menu to edit. It updates the menu itself. + Added support for underlining the labels, for keyboard shortcuts. + + * glade/gbwidget.c: + * glade/gbwidgets/*.c: got rid of 'child' arguments. I don't think + these would have worked, and having separate functions for handling + child properties is cleaner anyway. + + * glade/*.[hc]: + * glade/gbwidgets/*.c: Got rid of '#include ' from most + files, and included only those headers which are needed by each file. + This speeds up compilation quite a bit. + + * glade/gladeconfig.h: Got rid of '#include ' and replaced it + with files needed for i18n, to speed up compilation for those files + which don't need all of the Gnome headers included. + +1999-04-25 Martijn van Beers + + * glade/gbwidget.[ch]: + * glade/gbwidgets/*.c: finally reverted my 03-11 commit + +Thu Apr 24 00:22:15 1999 omega@cse.ogi.edu (Erik Walthinsen) + + * new spec.in file, changes to Makefile.am and configure.in + * glade.desktop file, appropriate changes to glade/Makefile.am + +Mon Apr 5 11:13:46 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * glade/gbwidgets/gbtext.c (gb_text_write_source): Remove some + debug printouts. + +Thu Apr 1 15:51:20 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * glade/source.c (source_write_makefile): Open files in TEXT mode. + "Simplify" the parameter passing of source_write_makefile(),, + +Wed Mar 31 20:54:59 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * glade/gbwidgets/gbtoolbar.c (gb_toolbar_init): + * glade/gbwidgets/gbtogglebutton.c (gb_toggle_button_init): + * glade/gbwidgets/gbtext.c (gb_text_init): + * glade/gbwidgets/gbtable.c (gb_table_init): + * glade/gbwidgets/gbstatusbar.c (gb_statusbar_init): + * glade/gbwidgets/gbspinbutton.c (gb_spin_button_init): + * glade/gbwidgets/gbscrolledwindow.c (gb_scrolled_window_init): + * glade/gbwidgets/gbradiomenuitem.c (gb_radio_menu_item_init): + * glade/gbwidgets/gbradiobutton.c (gb_radio_button_init): + * glade/gbwidgets/gbprogressbar.c (gb_progress_bar_init): + * glade/gbwidgets/gbpreview.c (gb_preview_init): + * glade/gbwidgets/gbpixmap.c (gb_pixmap_init): + * glade/gbwidgets/gbpacker.c (gb_packer_init): + * glade/gbwidgets/gboptionmenu.c (gb_option_menu_init): + * glade/gbwidgets/gbnotebook.c (gb_notebook_init): + * glade/gbwidgets/gbmenuitem.c (gb_menu_item_init): + * glade/gbwidgets/gbmenubar.c (gb_menu_bar_init): + Use gb_widget_init_struct2(). + +1999-03-28 Damon Chaplin + + * Released Glade 0.4.1 + +1999-03-28 Damon Chaplin + + * glade/gbwidget.c (gb_widget_write_standard_source): updated code to + set the widget size & position. + (set_position_properties): set GB_X_SET, GB_WIDTH_SET etc. when + loading widgets. + + * glade/property.c (property_set_sensitive_full): set the toggle + buttons active according to if the value is sensitive. + + * glade/glade_project.[hc]: added Ada95 language, and separate + functions to output the source code for each language. + + * glade/utils.c: changed glade_util_show_dialog() to + glade_util_create_dialog_with_buttons() and updated slightly. + + * glade/glade.[hc]: added glade_current_directory variable which + contains the current directory when Glade was started. We need to + remember it since that we use chdir when writing the source. + + * glade/gbwidgets/gbprogressbar.c (gb_progress_bar_write_source): a + couple of source output fixes. + + * glade/gbwidgets/gbvruler.c (gb_vruler_write_source): + * glade/gbwidgets/gbhruler.c (gb_hruler_write_source): minor fix to + source output to use 'GTK_RULER ()'. + + * glade/Makefile.am: added source_os2.[hc] + + * glade/glade_project_window.c: added confirmation dialog when creating + a new project, so the user doesn't accidentally lose the current one. + Added support for running external source code generators. + + * glade/glade_project_options.c (glade_project_options_ok): ordered + calls to set project options so that defaults are used if some options + are not set. + + * glade/gbwidget.[hc]: added GB_X_SET and GB_Y_SET to GbWidgetData + flags, similar to GB_WIDTH_SET and GB_HEIGHT_SET. + Updated get/set_position_properties. + Fixed tooltips bug which meant all tooltips were lost. + Fixed problem pasting toolbar buttons into other containers. + + * glade/editor.c (add_widget_to_fixed_finish): set GB_X_SET and + GB_Y_SET when adding new widgets. + + * glade/property.c: added property_add_optional_int_range() to use for + the x, y, width and height properties, and callbacks used when the + properties are turned on/off. + Added property page for Ada95 options (though there aren't any yet). + + * glade/gbwidgets/gbcolorselectiondialog.c (gb_color_selection_dialog_set_properties): + * glade/gbwidgets/gbdialog.c (gb_dialog_set_properties): + * glade/gbwidgets/gbfileselection.c (gb_file_selection_set_properties): + * glade/gbwidgets/gbfontselectiondialog.c (gb_font_selection_dialog_set_properties): + * glade/gbwidgets/gbwindow.c (gb_window_set_properties): update the + position properties after the window position property is changed. + + * glade/gbwidgets/gbcalendar.c: use '::' in property names instead + of ':'. + + * examples/editor/gladesrc.c (create_pixmap): fixed bug which caused + infinite loops when the app was installed. + +1999-03-21 Damon Chaplin + + * Released Glade 0.4.0 + +1999-03-20 Damon Chaplin + + * glade/source.c (source_write_main_c_preamble): fixed searching of + pixmap directories. + +Mon Mar 15 16:03:51 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * glade/gbwidgets/gbwindow.c (gb_window_init): + * glade/gbwidgets/gbvseparator.c (gb_vseparator_init): + * glade/gbwidgets/gbvscrollbar.c (gb_vscrollbar_init): + * glade/gbwidgets/gbvscale.c (gb_vscale_init): + * glade/gbwidgets/gbvruler.c (gb_vruler_init): + * glade/gbwidgets/gbvpaned.c (gb_vpaned_init): + * glade/gbwidgets/gbviewport.c (gb_viewport_init): + * glade/gbwidgets/gbvbuttonbox.c (gb_vbutton_box_init): + * glade/gbwidgets/gbvbox.c (gb_vbox_init): + * glade/gbwidgets/gbtreeitem.c (gb_tree_item_init): + * glade/gbwidgets/gbtree.c (gb_tree_init): + Use gb_widget_init_struct2(). + +1999-03-14 Damon Chaplin + + * glade/graphics/calendar.xpm: + * glade/gbwidgets/gbcalendar.c: New files for GtkCalendar. + + * glade/gbwidget.c (set_position_properties): + * glade/editor.c (add_widget_to_fixed_finish): for children of fixed + containers we were using the allocation to keep the width & height. + But this doesn't work since it is only calculated when the widget is + shown. So we use wdata->w & wdata->h instead. + + * glade/load.c: use a few macros for better performance. + + * glade/utils.c (glade_util_strstr): fixed for loops which used + strlen() and so were very slow (also a few other places as well). + + * glade/glade_project.c (glade_project_real_ensure_widgets_named): + forgot to pass project to gb_widget_children_foreach(). + + * glade/glade_project_window.c (glade_project_window_new): changed + all uses of _ to N_ in the GnomeUIInfo structs. + + * glade/main.c (parse_command_line): Don't do this for Gnome, since + they use popt. + + * glade/glade_project_options.c (glade_project_options_ok): don't + destroy the filesel here since it is destroyed in + glade_project_options_destroy(). + + * glade/glade_project_options.[hc]: added xml_filename_entry, for + setting the XML filename. + + * glade/utils.[hc]: add glade_util_copy_string() which is similar to + g_strdup() but returns NULL if the string is empty. + + * glade/glade_project.c: use glade_util_copy_string() when loading + project options, so empty directories are set to NULL. + + * glade/glade_project_window.c: handle directories set to NULL or "", + just in case. Also include when USE_GNOME set. + + * glade/glade_clipboard.c (glade_clipboard_paste): + * glade/gbwidget.c (gb_widget_add_child): + * glade/gbwidget.h: we now use the real parent when replacing a widget, + otherwise widget creation functions may not work. We store a pointer + to the widget being replaced instead of the original boolean. + + * glade/property.c (property_redirect_key_press): only allow short + one-line labels to be edited via type-over, since GtkText can crash if + it hasn't already been realized etc. + + * glade/gbwidget.c (gb_widget_output_child_icon): if the widget is not + a toolbar button we clear the icon property and set in insensitive. + +1999-03-11 Martijn van Beers + + * gbwidget.h: added an extra param to gb_widget_*_properties + * gbwidget.c: add the extra param to gb_widget_*properties + * gbwidgets/*.c: add the new param here too + * gbwidgets/gbctree.c: use gbclist's _add_child function + +Wed Mar 10 16:46:25 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * glade/gbwidget.c (gb_widget_init_struct2): Add this new function. + * glade/gbwidgets/gbprogressbar.c (gb_progress_bar_init): Use it. + +Tue Mar 9 20:22:47 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * glade/gbwidget.c (gb_widget_add_child): Add return + when parent == NULL otherwise glade crash ! + +1999-03-09 Martijn van Beers + + * gbwidget.h: Added gb_widget_add_child function to GbWidget + * gbwidget.c: Make use of new GbWidget function + put gb_widget_insert_toolbar_child declaration in gbwidget.h. + + * gbwidgets/gbbutton.c: + * gbwidgets/gbclist.c: + * gbwidgets/cbmenuitem.c: + * gbwidgets/gbnotebook.c: + * gbwidgets/gbtoolbar.c: Implement new GbWidget function + +Sun Feb 28 11:58:35 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * glade/source_os2.h: + * glade/source_os2.c: New files. + + * glade/source.c: Genertate makefiles for OS/2 version. + Made function create_file_if_not_exist() global. + +Fri Feb 26 17:05:08 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * configure.in: Add check for os2.h (OS/2 version) + +Wed Feb 24 16:20:09 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * glade/glade_clipboard.c (glade_clipboard_paste): + Use load_init_before_read(). + * glade/load.c (load_init_before_read): Added this function. + + * glade/glade_project_window.c (glade_project_window_new): + * glade/glade_menu_editor.c (glade_menu_editor_init): + * glade/glade_keys_dialog.c (glade_keys_dialog_init): + * glade/glade_clipboard.c (glade_clipboard_init): + Use gb_box_clist_auto_policy() function. + * glade/property.c: + * glade/gbwidget.c (gb_box_clist_auto_policy): Moved this function + from property.c to gbwidget.c. + + +Tue Feb 23 16:28:31 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * glade/property.c (gb_box_clist_auto_policy): Add this function. + +Mon Feb 22 08:37:04 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * glade/glade_clipboard.c: + * glade/load.c: Added: + void load_show_error_list(GList *p); + void load_free_error_list(GList *p); + +Sun Feb 21 11:51:07 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * glade/glade_clipboard.c (glade_clipboard_paste): + * glade/load.c (real_load_project_file): + use gb_init_load_properties() and gb_free_load_properties(). + + * glade/gbwidget.c (gb_add_properties): added this function + to simplify the handling of the properties. + Also added: + void gb_free_load_properties (GbLoadPropControl *p); + void gb_init_load_properties (GbLoadPropControl *p); + void gb_realloc_properties_if_needed (GbLoadPropControl *p); + + +Sat Feb 20 18:23:49 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * glade/load.c: + * glade/gbwidget.c: + * glade/glade_clipboard.c: + * glade/gbwidget.h (struct _GbLoadPropControl): add this struct. + +Fri Feb 19 21:58:05 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * glade/glade_project.c (glade_project_open): Fix error so + source code can be written to "source_directory". + +1999-02-18 Damon Chaplin + + * Major changes to the project-related code and the widget tree. + This needed changes to most of the main source files. + + * glade_project.[hc]: + * glade/projconfr.[hc]: + * glade/projconf.[hc]: removed. + + * glade/glade_project_window.[hc]: + * glade/glade_project_view.[hc]: + * glade/glade_project_options.[hc]: + * glade/glade_project.[hc]: new files containing a more OO + implementation of projects. Eventually we will be able to support + multiple open projects. + + * glade/tree.[hc]: major changes to make it easier to use and more + reliable. Also changed the way widgets are added to the tree, getting + rid of gb_widget_add_callback() and the children field of + GbWidgetNewData, which was previously used for several of the dialogs + in gbwidgets/. + + * glade/graphics/*.xpm: updated all pixmaps so that transparency is + only used for the edges of the widgets, not inside the widgets. This + makes the widget tree look better. Also took transparency out of the + placeholder.xpm since it isn't needed. + + * glade/glade_clipboard.[hc]: New files to support Cut & Paste, though + this isn't quite finished yet. + + * glade/property.c + * glade/gbwidget.c: Added support for a few C and C++ source code + options for each widget. (But they are not used yet.) + + * glade/editor.c + * glade_property.c: Added experimental support for typing in widget + labels while the mouse is over the label/button in the interface. + Unfortunately GtkText SEGVs if the label is a few lines long, so we + may not be able to use this. + + * glade/utils.[hc]: Moved DayNames, MonthNames and + find_start_of_tag_name() from save.[hc] to here and renamed them. + Also added/moved more utility functions. + + * glade/gbwidgets/gbscrolledwindow.c: added support for + GTK_POLICY_NEVER (for GTK 1.1). + + * glade/gbwidgets/gbfontselectiondialog.c: added get_child() function + so loading works OK. + + * glade/project.c: added icons for project options and writing source, + & Ctrl-W accelerator to write source. + + * glade/editor.c (editor_on_button_press): + (editor_on_motion_notify): ignore events on clist column resize + windows, so columns can still be resized. + (editor_on_button_release): remove the grab on the widget just + moved/resized, i.e. the one we added the grab on. + (editor_on_key_press_event): use Ctrl-L to refresh the component. + (add_mouse_signals_recursive): stop 'enter_notify' and 'leave_notify' + signals getting to widgets while we move/resize them, to cut down + on flickering (a bit). + (do_drag_action): we don't need to show the position properties since + they are now shown in on_size_allocate(). Also, set wdata->x etc. + before calling gtk functions since they trigger callbacks. + + * glade/gbwidgets/gbdialog.c (gb_dialog_new): better initial size. + + * glade/gbwidgets/gbwindow.c (gb_window_new): set initial size to + 400x300. + + * glade/editor.c (add_widget_to_fixed_finish): use a reasonable + size for clists/ctrees and notebooks in fixed containers. + + * glade/glade_menu_editor.c: only update the radio group combo when + an item's properties are shown in the right half of the dialog, or + when the menu being edited is first set. + The new GTK 1.1 combo changes the entry text as you drag the mouse + over the popup menu. This was causing the menu editor to try to + recreate the popup menu (while it was displayed), which caused a SEGV. + + * glade/gbwidget.c (gb_widget_write_source): For empty notebook + pages we create a dummy vbox, so it still runs OK. For empty tabs, + we increment the 'last_child' value so the order isn't messed up. + We also do this for empty clist/ctree titles. + (gb_widget_save): + (gb_widget_load): For placeholders we still load & save the + 'child_name' property. + +Sun Feb 14 18:22:33 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * glade/source.c (create_file_if_not_exist): add this function. + Open all text files with "wt" instead of "w". + +Sat Feb 13 11:26:15 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * glade/gbwidget.c (gb_widget_save): call save_newline with + pointer to GbBuffControl. + + * glade/save.h: new input structure. + save_newline (GbBuffControl *data); + + * glade/save.c (save_buffer_add): use GbBuffControl + + * glade/project.c (gb_menu_seperator): Adding this function. + +Sun Feb 7 20:05:07 1999 ape@spacetec.no (Asbjorn Pettersen) + + * glade/projconf.c: add #include "project.h" + + * glade/project.c: + * glade/main.c (main): current_project variable is seen from the + main function and not hidden inside projconfr.c . + + * glade/glade.c (glade_init): decoupled the + global variable current_project. + + * glade/projconfr.c (init_current_project): decoupled the + global variable current_project. + +Sat Feb 6 18:03:10 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * glade/load.c (load_entity): added 2 new functions: + + gboolean read_entity(GbWidgetSetArgData * data, gchar *entity); + + void load_entity (GbWidgetSetArgData * data); + + + load_buffer_add_char() use GbBuffControl instead of GbWidgetSetArgData. + +Thu Feb 4 12:44:21 1999 ape@lrdpf.spacetec.no (Asbjorn Pettersen) + + * glade/gbwidgets/gboptionmenu.c: + * glade/gbwidgets/gbpixmap.c: + * glade/gbwidgets/gbradiobutton.c: + * glade/gbwidgets/gbradiomenuitem.c: + * glade/save.c: + * glade/source.c: + * glade/gbwidget.c: + * glade/gbwidget.h (struct _GbWidgetGetArgData): use + GbBuffControl . + + * glade/load.c (real_load_project_file): Use the new struct + GbBuffControl and function gb_init_buffer_struct(). + + * glade/gbwidget.c (gb_init_buffer_struct): added new function + gb_init_buffer_struct (int pos, int space, GbBuffControl * p); + + Changed all buffer to buffer.ptr, buffer_pos to buffer.pos,,, + +Thu Feb 4 12:39:18 1999 ape@spacetec.no (Asbjorn Pettersen) + + * glade/gbwidget.h (struct _GbBuffControl): add this struct. + used in struct _GbWidgetSetArgData. + +Mon Feb 1 16:58:04 1999 ape@spacetec.no (Asbjorn Pettersen) + + * glade/property.h: GbEventMaskSymbols and GbEventMaskValues + must be declared external. + +1999-01-25 Damon Chaplin + + * glade/gbwidget.c (gb_widget_add_child): + (gb_widget_write_add_child_source): handle CTree column titles + just like CList column titles. + + * glade/gbwidgets/gbctree.c: updated code to handle column titles. + +1999-01-22 Damon Chaplin + + * glade/glade_menu_editor.c (glade_menu_editor_update_menu): based + names of submenus on the name of the parent item, rather than + generating a new name each time (from Elliot Turner). + + * glade/source.c (source_write_component): Put "tooltips" in object's + datalist, so the developer can access it (from Elliot Turner). + + * glade/main.c: new file to contain main(). + * glade/debug.[ch]: new files for debugging functions/macros. + * glade/glade.[ch]: moved GladeStatusCode declaration to the header, + and added functions to be called by gIDE. + + * glade/*.h: Added #ifdef __cplusplus tests to several headers. + + * glade/*.[ch]: Changed names of several structs/enums: + GbProjectStruc -> GladeProject. + GbStatusCode -> GladeStatusCode. + glade_palette_section -> GladePaletteSectionData. + glade_widget -> GladeWidgetInitData. + Also renamed the status codes to begin with 'GLADE_STATUS_' rather + than just 'GB_'. + + * glade/glade_palette.[hc]: Added 'select_item' and 'unselect_item' + signals to the palette. + * glade/palette.c (on_palette_select_item): creates toplevel items + when they are selected on the palette. + * glade/glade_gtk10lib.c: + * glade/glade_gtk11lib.c: add toplevel items to the palettes. + * glade/project.c: removed toplevel items from toolbar, and added + standard 'New', 'Open' & 'Save' buttons instead. Also added status bar, + with messages when files opened/saved or source is written. + + * glade/projconf.c: removed the Glade support functions get_widget() + and set_notebook_tab(). + + * glade/graphics/text.xpm: Tweaked a bit to look nicer. + +1999-01-21 Damon Chaplin + + * glade/project.c: added support for rc files. Removed code to set + tooltips colors, since it doesn't work with GTK 1.1. Tidied up a bit. + +1999-01-19 Jeff Garzik + + * glade/source.c: + Cleaned up autoconf/automake output source a bit. CFLAGS and LIBS + are now computed in Makefile.am, config.h is conditionally + included in every file, and some other minor cleanups. + autoheader is now used to generated config.h.in as well. + + * glade/editor.c: + Declare glade_palette_reset_selection to eliminate warnings. + + * glade/gbwidget.c, glade/projconf.c, glade/projconfr.c, + glade/project.c, glade/project.h, glade/save.c, + glade/source.c: + Add intl strings property. + + * glade/gtkfontsel.c, glade/projconf.c: + Marked more strings for translation. + + * glade/project.c: + Include string.h to eliminate warnings. + Small fixes for USE_GNOME support. + + * po/POTFILES.in, po/cat-id-tbl.c, po/de.po, po/es.po, + po/fr.po, po/glade.pot, po/pt_BR.po: + Added glade/glade_palette.c to POTFILES.in. That and new + translated strings from the above changes triggered *.po + updates. + +1999-01-19 Damon Chaplin + + * glade/palette.[ch]: moved most of the code to glade_palette.[ch] + which also resulted in minor changes in a few other files. + + * glade/glade_gtk11lib.c: + * glade/glade_gtk10lib.c: added copyright and tidied up. Also added + alternative layout for GTK 1.1 so we can decide between them. + (Note that using windows & dialogs from the palette causes a crash + at the moment.) + + * glade/glade_palette.[ch]: renamed gladepalette.[ch] to fit in with + the other widgets, and changed code quite a bit. + +1999-01-18 Damon Chaplin + + * glade/graphics/handlebox.xpm: designed a nicer icon. Now I'm pretty + happy with all the icons, except maybe the font selection ones. + +1999-01-16 Damon Chaplin + + * doc/developer.txt: added description of how to compile and set up + Glade for debugging. + + * glade/gladeconfig.h: changed the MSG macros so that they can be + turned on/off by setting the GLADE_DEBUG env var. Set it to 'messages' + to see all the debugging output (you must compile with --enable-debug + as well). If you want Glade to abort on warnings as well, use + export GLADE_DEBUG='messages:warnings' or similar. + +1999-01-15 Damon Chaplin + + * glade/gbwidgets/gbtoolbar.c: added dialog for creating toolbars, + a 'Size' property like the boxes, and menu commands to add items etc. + + I'm afraid the toolbar needed a lot of special code! ... + + * glade/gbwidget.c (gb_widget_new_toolbar_button): + (gb_widget_insert_toolbar_child): + (gb_widget_is_toolbar_button): + (gb_widget_get_toolbar_button_widgets): + (gb_widget_get_new_toolbar_group): + (gb_widget_set_new_toolbar_group): + (gb_widget_write_toolbar_button_source): added several utility + functions for toolbars. + + (gb_widget_add_child): handle loading of toolbar children. + (gb_widget_replace_child): handle toolbar children. Also, don't copy + the child name to a toolbar button which is replaced, since it may + not be a toolbar button. + + (get_special_child_properties): + (set_special_child_properties): handle toolbar 'New Group' property. + + (gb_widget_input_child_label): + (gb_widget_output_child_label): handle toolbar button labels. + + (gb_widget_output_child_icon): + (gb_widget_input_child_icon): handle toolbar button icons. + + (gb_widget_create_toolbar_button_popup_menu): + (gb_widget_convert_toolbar_button): create menu commands to turn + toolbar buttons into ordinary widgets in the toolbar. + + (gb_widget_write_standard_source): don't unset CAN_FOCUS for toolbar + children since that is the default. Also don't set the tooltip for + toolbar children, since that is set when they are created. + (gb_widget_write_add_child_source): handle toolbar children which are + standard widgets. Toolbar buttons are added to the toolbar when + they are created instead. + + * glade/gbwidget.c (gb_widget_replace_child): for menubars and + toolbars in a box, we set expand to FALSE by default as that is what + is wanted most of the time. + + * glade/gbwidgets/gbtogglebutton.c: + * glade/gbwidgets/gbradiobutton.c: + * glade/gbwidgets/gbbutton.c: added support for toolbar buttons which + are a special case - they have a child icon & label. + + * glade/gbwidget.c (get_standard_properties): don't allow widgets with + no windows to have tooltips, since they won't work anyway. Also + for toolbar children we use the toolbar's own tooltips. + +1999-01-13 Damon Chaplin + + * glade/gbwidgets/gbentry.c: use gtk_entry_get_text () instead of the + GtkEntry text field which is now GtkWChar rather than gchar. + + * glade/project.c: + * glade/project.h: added support for passing debugging options into + Glade via environment variables. The only option at present is + 'warnings' which will cause an abort() when a WARNING message is issued + so you can use gdb to see exactly what happened and where. + (This only works with GTK 1.1.x) + + * glade/property.c (create_style_property_page): + (create_style_page): + (property_add_adjustment): + * glade/palette.c (palette_create): + Changed 'gettext' to '_' so that we always specify the domain, + which I think we need to do if Glade becomes a library. + (Otherwise we implicitly use the current domain which may be set by + the main application, e.g. gIDE, so translations won't be found.) + +1999-01-11 Damon Chaplin + + * glade/gbwidgets/gbtoolbar.c: some code for editing toolbars, which + doesn't work yet. I think I am going to create a dummy GtkToolbarItem + object, since the GtkToolbar isn't very object-oriented. + +1999-01-07 Damon Chaplin + + * glade/load.c (load_project_file): set TZ env var to GMT while + loading a project, so that we can easily parse RFC1123 dates and + convert them to time_t using mktime(). + + * glade/gbwidget.c (set_standard_properties): made sure CAN_FOCUS is + always set/unset when XML file is loaded. + +1998-12-22 Damon Chaplin + + * glade/projconfr.c: changed all gtk_signal_connect_object() to + gtk_signal_connect() since I think that was what was intended. + It was causing the 'OK' and 'Cancel' buttons on the Filenames page to + disappear before. + +1998-12-14 Elliot Turner + + * glade/gbwidget.c: + * glade/projconf.c: + * glade/projconf.h: + * glade/projconfr.c: + * glade/projconfr.h: + * glade/project.c: + * glade/project.h: + * glade/save.c: added support for project directory configuration + option, with loading/saving in the project XML file. + + * glade/glade_menu_editor.c: + * glade/glade_menu_editor.h: added signal handler data and object + configuration options to the glade menu editor. + + * glade/editor.c: + * glade/editor.h: + * glade/gbwidget.c: + * glade/gbwidget.h: + * glade/project.c: + * glade/source.c: added "convert to/from embedded component" + functionality in editor, along with changes to allow for subcomponent + creation in the source code generation subsystem. + +1998-12-03 Damon Chaplin + + * configure.in: Changed version to 0.4.0 + * configure.in: added AC_LINK_FILES back since we are now using + Gnome's intl directory which is gettext 0.10.32. Though I think it + is going to be removed from Gnome and users must install gettext + themselves. + + * glade/project.c: + * glade/save.c: + * glade/source.c: include before for OS/2 + +1998-12-02 Damon Chaplin + + * glade/source.c: + * glade/source.h (source_make_string): added translatable parameter, + so that we can output gettext macros if desired. + * glade/*.c glade/gbwidgets/*.c: updated all calls to + source_make_string(). + * glade/gbwidget.h: added use_gettext boolean option to + GbWidgetWriteSourceData. + +1998-12-02 Damon Chaplin + + * Released Glade 0.3.9 + +1998-11-30 Damon Chaplin + + * glade/property.c (create_widget_property_page): for GTK 1.1.[45] we + use GTK_SCROLLED_WINDOW (page)->child, for the latest CVS version + (the one with GTK_HAVE_FEATURES_1_1_5 defined) we use + GTK_BIN (page)->child. + + * glade/gbwidget.c (gb_widget_replace_child): handle scrolled window + children in GTK 1.1.5. + +1999-01-18 Martijn van Beers + + * configure.in: Changes to support checking whether we have gtk-1.1 + in Makefile.am + * Makefile.am: added new files + * glade/gbwidgetarray.[ch]: removed in favor of glade_gtk1?lib.[ch] + * glade/glade.h: + * glade/glade_gtk10lib.[ch]: + * glade/glade_gtk11lib.[ch]: new files to support the new palette + * glade/gladepalette.[ch]: the new palette code + * glade/gb.h: + * glade/gbwidget.c: + * glade/palette.c: + * po/POTFILES.in: changes to support the new palette + +1998-12-01 Damon Chaplin + + * glade/gbwidget.c (gb_widget_replace_child): remove '//' comment. + * glade/tree.c (tree_init): removed '//' comment. + + * glade/gbwidget.c (gb_widget_write_source): use gtk_object_newv to + create the standard widgets that we get the default properties from, + since otherwise GTK 1.1.5 complains when they are destroyed. + + * glade/gbwidgets/gbctree.c: + * glade/gbwidgets/gbclist.c: use gtk_clist_set_shadow_type() instead of + the deprecated gtk_clist_set_border(). + + * glade/editor.c (add_mouse_signals_recursive): use + gb_widget_children_foreach() so we also add signals to the clist + titles, which means they can be selected in GTK 1.1.x. + + * configure.in: Changed version to 0.3.9 + + * glade/property.c (create_widget_property_page): for GTK 1.1.4 we + use gtk_scrolled_window_add_with_viewport(). + + * glade/editor.c: + * glade/gbwidget.c: + * glade/gbwidgets/gbtable.c: + * glade/gbwidgets/gbvbox.c: + * glade/gbwidgets/gbhbox.c: remove gtk_container_block/unblock_resize() + calls for GTK 1.1.4 since it is deprecated. + + * glade/gbwidgets/gbscrolledwindow.c: + * glade/gbwidgets/gbnotebook.c: + * glade/gbwidgets/gbctree.c: + * glade/gbwidgets/gbclist.c: + * glade/editor.c: changed all the GTK_HAVE_FEATURES_1_1_5 to + GTK_HAVE_FEATURES_1_1_4 since GTK_HAVE_FEATURES_1_1_5 was added + after GTK 1.1.5 was released, which messed us up. + +1998-11-30 Damon Chaplin + + * Released Glade 0.3.8 + +1998-11-29 Damon Chaplin + + * glade/tree.c: updated code for clist to handle 1.1.5 changes. + * glade/gbwidgets/gbnotebook.c: replaced border property with hborder + & vborder for GTK 1.1.5. + * glade/editor.c: + * glade/gbwidgets/gbctree.c: + * glade/gbwidgets/gbclist.c: used ifdef to remove calls to + gtk_widget_draw_children() which isn't available in GTK 1.1.5. + * glade/project.c (on_project_new): added call to init_current_project + to reset source code directory. + (on_component_list_select): show the properties of the toplevel + widget in the component, so a popup menu name can be changed. + * glade/load.c: fixed bug parsing dates - was using scanf with %i + which assumes a number starting with 0 is in octal - used %d instead. + * glade/gbwidget.c: merged in patch to fix bug writing signal handlers. + * po/es.po: updated. + * Makefile.am (SUBDIRS): added macros + * configure.in: Changed version to 0.3.8, output macros/Makefile + +1998-11-24 Jeff Garzik + + * acinclude.m4: new file, adds gettext macros + * autogen.sh: script to build from CVS, stolen from gnome-libs + * configure.in: added libtool and macro subdir support. GNOME + macros apparently want libtool support -- aclocal warns about + it -- even though all it adds to Glade, apparently, is a + slightly slower compile time. + * glade/.cvsignore: ignore generated files + * glade/gbwidgets/.cvsignore: ignore generated files + * po/.cvsignore: ignore generated files + diff --git a/tools/glade/FAQ b/tools/glade/FAQ new file mode 100644 index 00000000..a5b2bdd8 --- /dev/null +++ b/tools/glade/FAQ @@ -0,0 +1,506 @@ + +Table of Contents +================= + +1. General Information About Glade + + 1.1 What documentation is there for Glade? + 1.2 Is there any example code? + 1.3 Do I have to use a particular license for the C code generated by Glade? + 1.4 Which is better - generated C code or libglade? + 1.5 How do I port a GTK+ 1.2 or GNOME 1.4 project to GTK+/GNOME 2.0. + +2. Creating A User Interface In Glade + + 2.1 When I add a widget to a window, it fills the whole window and I can't + add any other widgets. + 2.2 How do I change the colors of a widget, e.g. make a label red? + 2.3 How do I add several widgets of the same type in one go? + 2.4 What graphics formats does Glade support? + 2.5 How do I add a signal handler? + +3. Building The C Code Generated By Glade + + 3.1 How do I build the code generated by Glade? + + 3.2 I get this error: + aclocal: configure.in: 10: macro `AM_PATH_GTK' not found in library + +4. Using The C Code Generated By Glade + + 4.1 What are all the files output by Glade? + 4.2 What files can the developer edit safely and which are overwritten? + 4.3 How do I add my own source files to the project? + 4.4 How do I add a library to the project? + 4.5 How do I get a pointer to a widget from within a signal handler? + 4.6 How do I get a pointer to a widget in another window? + 4.7 How do I get the value of a GtkOptionMenu? + 4.8 How do I get a GtkOptionMenu to call a function when it changes? + 4.9 How do I connect to GtkAdjustment signals? + 4.10 How do I add rows to a GtkCList before the window is shown? + + +============================================================================== + +1. General Information About Glade +================================== + +1.1 What documentation is there for Glade? + +In the GNOME version of Glade the Glade Manual and this FAQ should be +available from the Help menu. + +There are a few other tutorials and guides available on the Internet, +in several languages. Links to these can be found on Glade's website at +http://glade.gnome.org. + + +1.2 Is there any example code? + +Glade includes a simple text editor example application in the examples/editor +directory. If you have a binary-only package of Glade, these files have +probably not been installed, so you'll need to download the Glade source +code from http://glade.gnome.org. + +The website also contains links to quite a few applications created using Glade. +These may contain useful example code. See the 'Applications' page on +http://glade.gnome.org. + + +1.3 Do I have to use a particular license for the C code generated by Glade? + +No. You are free to use whatever license you like for the C code generated +by Glade. + +Though in the spirit of free software we do encourage you to use the GPL or +LGPL licenses. + + +1.4 Which is better - generated C code or libglade? + +For large projects libglade is recommended over generated C code. +You can keep each window or dialog in a separate XML file, which makes it +more manageable for large projects with multiple developers. + +If you do want to use generated C code for large projects, I'd still suggest +keeping each window or dialog in a separate XML file. You can change the +project options so that the C code is output into separate files for each +window or dialog (e.g. change 'interface.c' to 'main_window.c'), and turn +off all the 'File Output' options. + + +1.5 How do I port a GTK+ 1.2 or GNOME 1.4 project to GTK+/GNOME 2.0. + +libglade includes a script called libglade-convert which will convert an +old GTK+ 1.2 or GNOME 1.4 Glade XML file to the new GTK+/GNOME 2.0 format. + +However, for GTK+ applications there is currently a slight problem with this. +You need to: + (1) Convert the XML file with libglade-convert. + (2) Open the new file in Glade and save it immediately. This will create + the project options file with the same name as the XML file but with + a 'p' on the end. + (3) Add 'FALSE' + to the project options file, so Glade knows it is a GTK+ project. + + +============================================================================== + +2. Creating A User Interface In Glade +===================================== + +2.1 When I add a widget to a window, it fills the whole window and I can't + add any other widgets. + +This is not a bug in Glade! In GTK+ you use containers to lay out your +widgets. The commonly-used containers are at the bottom of the main +page on the palette. Try adding a vertical box to a window in Glade. +Now add a table to one of the positions in the vertical box. +Do you get the idea now? + +If you really want to position widgets at specific coordinates, try the +Fixed container. However, this isn't recommended since your +windows/dialogs will not look good when resized, and if you translate +the text in the labels and buttons into other languages they may not fit. + + +2.2 How do I change the colors of a widget, e.g. make a label red? + +In GTK+ 2 the label widget allows the use of special markup to change the +text attributes, e.g. in Glade select the label and turn on the "Use Markup" +property, then entrt "Hello World" into the "Label" +property. + +For other widgets you can use functions like gtk_widget_modify_fg() to set the +foreground color of a widget, or gtk_widget_modify_style() e.g. + + GdkColor red = { 0, 65535, 0, 0 }; + GtkRcStyle *rc_style = gtk_rc_style_new (); + rc_style->fg[GTK_STATE_NORMAL] = red; + rc_style->color_flags[GTK_STATE_NORMAL] |= GTK_RC_FG; + gtk_widget_modify_style (widget, rc_style); + gtk_rc_style_unref (rc_style); + +It is also possible to use GTK+ rc files to set the colors & fonts of your +widgets. If you turn on the 'Set Widget Names' project option in Glade, that +may make it easier to refer to your widgets, as you can refer to them by name. +See the GTK+ Resource Files documentation at http://developer.gnome.org/doc/API + + +2.3 How do I add several widgets of the same type in one go? + +Hold the 'Control' key when you select the widget in the palette. It will +then stay selected until you select another widget or the selector. + + +2.4 What graphics formats does Glade support? + +GTK+ 2.0 includes the gdk-pixbuf library which provides support for many +graphics formats, including PNG, TIFF, BMP, JPEG and XPM files. + +You can convert images between formats using the GIMP graphics +application or the 'convert' utility in the ImageMagick toolkit. + + +2.5 How do I add a signal handler? + +Follow these steps: + + o Select the widget you want to add the handler to. + o Select the 'Signals' page in the Property Editor window. + o Click the '...' button to the right of the 'Signal:' field. This should + show a popup window listing the signals that this widget emits. + o In the popup window, select which signal you want to connect a handler for + and hit the 'OK' button. + o Glade automatically creates a name for the signal handler function in the + 'Handler:' field, but you are free to change this if you desire. + o Click the 'Add' button to add it to the list of signal handlers for this + widget. + +When you generate the C source code, an empty signal handler function should +be output in the callbacks.c file. You can add your code to this function. + + +============================================================================== + +3. Building The C Code Generated By Glade +========================================= + +3.1 How do I build the code generated by Glade? + +You need automake >= 1.4 & autoconf >= 2.52 to build the generated C code. +You also need gettext >= 0.10.40 if you enabled gettext support. See the +'Requirements' section in the README file for links to these. + +Run './autogen.sh' in the toplevel directory of the project to run +automake, autoconf and the related utilities to build the Makefiles. Pass +it any options you want passed to configure, e.g. + + ./autogen.sh --prefix /usr/local/gnome + +Then run 'make' to build your application. + +You must also do a 'make install' so that the pixmaps are installed +properly. If you don't do that, it will still +run, but you won't see the pixmaps. + + +3.2 I get this error: + + aclocal: configure.in: 10: macro `AM_PATH_GTK' not found in library + +This means that the gtk.m4 file cannot be found. (gtk.m4 is a set of m4 +macros which is installed as part of GTK+ and is used to build programs +which use GTK+.) aclocal (part of automake) searches for these macros to +add to aclocal.m4 in your program's root directory. + +To find out whereabouts GTK+ is installed, run +'pkg-config --cflags gtk+-2.0'. +The gtk.m4 file should be in the 'share/aclocal' subdirectory rather than +the 'include' subdirectory. +To find out the directory that aclocal is using, run 'aclocal --print-ac-dir' + +You should add the directory that the GTK+ m4 file is installed to the +ACLOCAL_FLAGS environment variable, e.g. if the GTK+ m4 files are in +/usr/local/share/aclocal, then add this to your $HOME/.profile: + + export ACLOCAL_FLAGS="-I /usr/local/share/aclocal/" + + +============================================================================== + +4. Using The C Code Generated By Glade +====================================== + + +4.1 What are all the files output by Glade? + +These are the default output files, but some of your file names may differ +if you have changed the project options. + +autogen.sh - a script which runs automake, autoconf and the related + programs in the correct order, making it very easy to build + the application. You pass it any arguments you want to be + passed to configure. After running it, you can type 'make' + to build the application. +configure.in - standard script passed to autoconf to generate the configure + script. +Makefile.am - standard make rules passed to automake to generate the + Makefile.in, which the configure script turns into Makefile. +stamp-h.in - used as a timestamp by automake, for rebuilding some + generated files. + +AUTHORS - these files are all initially empty, but are created to +ChangeLog comply with the GNU conventions. +NEWS +README + +src/Makefile.am - standard automake file. +src/main.c - contains the main() function which will create one of each + window/dialog for you. +src/interface.h - declarations of functions you can call to create the windows + and dialogs which were built in Glade. +src/interface.c - the code to create the windows and dialogs and all the + widgets. +src/callbacks.h - declarations of the signal handler and callback functions + which you will write. +src/callbacks.c - the signal handler and callback functions, +src/support.h - declarations of some support functions, including + lookup_widget() which you can use to get pointers to widgets. +src/support.c - the support functions. + + +If gettext support is enabled, the po directory is created, with POTFILES.in +and a separate ChangeLog. POTFILES.in lists the source files which contain +translatable strings, and you should add any source files you create here. + +*NOTE*: if you change the 'GNOME Support' or 'Gettext Support' project +options after building the project, you will need to update some of the +build files such as configure.in, Makefile.am +The best solution may be to change the project directory in the 'Project +Options' dialog, and to rebuild the project from scratch. However, you would +have to copy over any code you have added to signal handlers. An alternative +would be to delete autogen.sh, configure.in, Makefile.am, src/Makefile.am, +and src/main.c and use Glade to recreate them. But if you have changed these +files you will need to add the changes back in. +(Hopefully Glade will deal with this better in future.) + + + +4.2 What files can the developer edit safely and which files are overwritten? + +Glade will not overwrite most of the files. It will recreate the build files +if they don't exist (and the corresponding project option is set.) + +The files which Glade overwrites are: + + interface.h + interface.c + support.h + support.c + +(Though you may have named them differently in your project, if you changed +them in the Project Options dialog.) + +These files all have a warning at the top saying 'DO NOT EDIT'. + + +If you have added or updated any signal handlers, then these are appended to +the callbacks.h and callbacks.c files. So any code you have already added +for callbacks is completely safe! If you have renamed a handler function then +it is up to you to remove the old version and copy any code to the new +function. + + + +4.3 How do I add my own source files to the project? + +Add the source file (and any header file) to src/Makefile.am, in the +project1_SOURCES variable (where 'project1' is the name of your project). + +If you are using gettext, you may also want to add the source file to +po/POTFILES.in so that the strings can be translated. + + + +4.4 How do I add a library to the project? + +You need to add a test for the library in your project's configure.in file, +making sure that the CPPFLAGS and LIBS are updated to account for the library. +(The CPPFLAGS variable should contain any -I flags to pass to the C +preprocessor, and the LIBS variable should contain the -l and -L options to +pass to the linker.) + +autoconf provides macros such as AC_CHECK_HEADER and AC_CHECK_LIB which can +be used to check for general headers and libraries. + +Many GTK+ and Gnome libraries provide a config script such as gtk-config +which will output the CPPFLAGS and LIBS flags needed. + +For example, libxml provides an xml-config script which you can use like this: + + dnl Get libxml flags & libs + AC_PATH_PROG(xml_config, xml-config) + if test "x$xml_config" = "x"; then + AC_MSG_ERROR([*** xml-config not found.]) + fi + + XML_CFLAGS=`$xml_config --cflags 2>/dev/null` + XML_LIBS=`$xml_config --libs 2>/dev/null` + CPPFLAGS="$CPPFLAGS $XML_CFLAGS" + LIBS="$LIBS $XML_LIBS" + +NOTE: Make sure you place your configure.in test before the call to AC_OUTPUT. + + +4.5 How do I get a pointer to a widget from within a signal handler? + +If you have a pointer to any widget in a window, you can get a pointer to +any other widget in the window using the lookup_widget() function that Glade +provides (in support.c). + +You pass it a pointer to any widget in a window, and the name of the widget +that you want to get. Usually in signal handlers you can use the first argument +to the signal handler as the first parameter to lookup_widget(), e.g. + +void +on_button1_clicked (GtkButton *button, + gpointer user_data) +{ + GtkWidget *entry1; + + entry1 = lookup_widget (GTK_WIDGET (button), "entry1"); + + ... +} + + +Note that this does not work if you are using libglade. The corresponding +code for libglade would be: + +void +on_button1_clicked (GtkButton *button, + gpointer user_data) +{ + GladeXML* xml; + GtkWidget* entry1; + + xml = glade_get_widget_tree (GTK_WIDGET (button1)); + entry1 = glade_xml_get_widget (xml, "entry1"); + + ... +} + + +4.6 How do I get a pointer to a widget in another window? + +You need to keep track of pointers to all your toplevel windows. +For simple applications you can just use global variables to store these +pointers. + +For more complicated applications you can use the gtk_object_set_data() and +related functions to store a pointer to one window inside another window. +For example, if you want to create a dialog which needs to access widgets in +the main window you can do this: + + dialog = create_dialog1 (); /* Call the function generated by Glade. */ + gtk_object_set_data (GTK_OBJECT (dialog), "main_window", main_window); + +Then when you need to access the main window from within the dialog code, +you can do this: + + main_window = gtk_object_get_data (GTK_OBJECT (dialog), "main_window"); + +NOTE: You need to be careful to ensure that the pointer is always valid. +If the window being pointed to is destroyed, make sure you no longer use the +pointer to it or your application may crash. + + +4.7 How do I get the value of a GtkOptionMenu? + +Call gtk_menu_get_active() with the GtkOptionMenu's menu to get the currently +selected menu item. You can use g_list_index() to find its index in the menu: + +void +on_button1_clicked (GtkButton *button, + gpointer user_data) +{ + GtkWidget *option_menu, *menu, *active_item; + gint active_index; + + option_menu = lookup_widget (GTK_WIDGET (button), "optionmenu1"); + menu = GTK_OPTION_MENU (option_menu)->menu; + active_item = gtk_menu_get_active (GTK_MENU (menu)); + active_index = g_list_index (GTK_MENU_SHELL (menu)->children, active_item); + + g_print ("Active index: %i\n", active_index); +} + + +4.8 How do I get a GtkOptionMenu to call a function when it changes? + +Glade doesn't support this at present, but you can set it up manually. + +When you create the window, get the option menu and connect to the "deactivate" +signal emitted by its menu: + + window1 = create_window1 (); + option_menu = lookup_widget (window1, "optionmenu1"); + gtk_signal_connect (GTK_OBJECT (GTK_OPTION_MENU (option_menu)->menu), + "deactivate", GTK_SIGNAL_FUNC (on_option_selected), + NULL); + + +Then add a handler to callbacks.c. You can get the index of the selected item +just like the previous answer: + +static void +on_option_selected (GtkMenuShell *menu_shell, + gpointer data) +{ + GtkWidget *active_item; + gint item_index; + + active_item = gtk_menu_get_active (GTK_MENU (menu_shell)); + item_index = g_list_index (menu_shell->children, active_item); + + g_print ("In on_option_selected active: %i\n", item_index); +} + + +4.9 How do I connect to GtkAdjustment signals? + +Glade doesn't support this at present, but you can set it up manually. + +When you create the window, get a pointer to the widget containing the +adjustment, and connect to the "changed" or "value_changed" signals: + + window1 = create_window1 (); + hscale = lookup_widget (window1, "hscale1"); + gtk_signal_connect (GTK_OBJECT (GTK_RANGE (hscale)->adjustment), + "changed", GTK_SIGNAL_FUNC (on_adjustment_changed), + NULL); + + +4.10 How do I add rows to a GtkCList before the window is shown? + +After you create the window, using the 'create' function generated by Glade, +use lookup_widget() to get a pointer to the GtkCList widget, and add the rows +as required. e.g. + + GtkWidget *window, *clist; + gchar *row[2]; /* Our GtkCList only has 2 columns. */ + + window = create_window1 (); + clist = lookup_widget (window, "clist1"); + + row[0] = "Hello"; + row[1] = "World"; + gtk_clist_append (GTK_CLIST (clist), row); + + row[0] = "Second"; + row[1] = "Row"; + gtk_clist_append (GTK_CLIST (clist), row); + + gtk_widget_show (window1); + diff --git a/tools/glade/INSTALL b/tools/glade/INSTALL new file mode 100644 index 00000000..b42a17ac --- /dev/null +++ b/tools/glade/INSTALL @@ -0,0 +1,182 @@ +Basic Installation +================== + + These are generic installation instructions. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, a file +`config.cache' that saves the results of its tests to speed up +reconfiguring, and a file `config.log' containing compiler output +(useful mainly for debugging `configure'). + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If at some point `config.cache' +contains results you don't want to keep, you may remove or edit it. + + The file `configure.in' is used to create `configure' by a program +called `autoconf'. You only need `configure.in' if you want to change +it or regenerate `configure' using a newer version of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. If you're + using `csh' on an old version of System V, you might need to type + `sh ./configure' instead to prevent `csh' from trying to execute + `configure' itself. + + Running `configure' takes awhile. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. You can give `configure' +initial values for variables by setting them in the environment. Using +a Bourne-compatible shell, you can do that on the command line like +this: + CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure + +Or on systems that have the `env' program, you can do it like this: + env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you must use a version of `make' that +supports the `VPATH' variable, such as GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + If you have to use a `make' that does not supports the `VPATH' +variable, you have to compile the package for one architecture at a time +in the source code directory. After you have installed the package for +one architecture, use `make distclean' before reconfiguring for another +architecture. + +Installation Names +================== + + By default, `make install' will install the package's files in +`/usr/local/bin', `/usr/local/man', etc. You can specify an +installation prefix other than `/usr/local' by giving `configure' the +option `--prefix=PATH'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +give `configure' the option `--exec-prefix=PATH', the package will use +PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + + In addition, if you use an unusual directory layout you can give +options like `--bindir=PATH' to specify different values for particular +kinds of files. Run `configure --help' for a list of the directories +you can set and what kinds of files go in them. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + + Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + + There may be some features `configure' can not figure out +automatically, but needs to determine by the type of host the package +will run on. Usually `configure' can figure that out, but if it prints +a message saying it can not guess the host type, give it the +`--host=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name with three fields: + CPU-COMPANY-SYSTEM + +See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the host type. + + If you are building compiler tools for cross-compiling, you can also +use the `--target=TYPE' option to select the type of system they will +produce code for and the `--build=TYPE' option to select the type of +system on which you are compiling the package. + +Sharing Defaults +================ + + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Operation Controls +================== + + `configure' recognizes the following options to control how it +operates. + +`--cache-file=FILE' + Use and save the results of the tests in FILE instead of + `./config.cache'. Set FILE to `/dev/null' to disable caching, for + debugging `configure'. + +`--help' + Print a summary of the options to `configure', and exit. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. To + suppress all normal output, redirect it to `/dev/null' (any error + messages will still be shown). + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`--version' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`configure' also accepts some other, not widely useful, options. diff --git a/tools/glade/Makefile.am b/tools/glade/Makefile.am new file mode 100644 index 00000000..6d092b08 --- /dev/null +++ b/tools/glade/Makefile.am @@ -0,0 +1,67 @@ +## Process this file with automake to produce Makefile.in + +SUBDIRS = glade po doc omf-install + +Developmentdir = $(datadir)/applications +Development_in_files = glade-2.desktop.in +Development_DATA = $(Development_in_files:.desktop.in=.desktop) + +@INTLTOOL_DESKTOP_RULE@ + +EXTRA_DIST = \ + FAQ \ + glade.spec \ + glade.spec.in \ + glade-2.desktop.in \ + glade-2.png \ + intltool-extract.in \ + intltool-merge.in \ + intltool-update.in \ + examples/editor/AUTHORS \ + examples/editor/ChangeLog \ + examples/editor/Makefile.am \ + examples/editor/NEWS \ + examples/editor/README \ + examples/editor/acconfig.h \ + examples/editor/autogen.sh \ + examples/editor/configure.in \ + examples/editor/editor.glade \ + examples/editor/editor.gladep \ + examples/editor/src/Makefile.am \ + examples/editor/src/callbacks.c \ + examples/editor/src/callbacks.h \ + examples/editor/src/interface.c \ + examples/editor/src/interface.h \ + examples/editor/src/main.c \ + examples/editor/src/support.c \ + examples/editor/src/support.h \ + examples/editor/po/ChangeLog \ + examples/editor/po/POTFILES.in + +pixmapsdir = $(datadir)/pixmaps +pixmaps_DATA = glade-2.png + +# Install all the Gnome m4 macros we use to build Glade, so we can copy them +# to each project's directory (for Gnome projects). +install-data-local: + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/glade-2 + $(INSTALL_DATA) $(srcdir)/glade/graphics/glade_logo.png $(DESTDIR)$(datadir)/pixmaps/glade-2 + +uninstall-local: + @rm -f $(DESTDIR)$(datadir)/pixmaps/glade-2/glade_logo.png + +#distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper' +distuninstallcheck: + @: + +distcleancheck_listfiles = find . -type f -print | grep -v '^\./doc/.*\.xml' + +DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper + +DISTCLEANFILES = \ + intltool-extract \ + intltool-merge \ + intltool-update \ + $(Development_DATA) \ + $(NULL) diff --git a/tools/glade/NEWS b/tools/glade/NEWS new file mode 100644 index 00000000..235a319c --- /dev/null +++ b/tools/glade/NEWS @@ -0,0 +1,580 @@ +Glade 2.12.1 (9 Dec 2007) +============ + + o Build fix for bonobo-i18n deprecation + o Translation updates + +Glade 2.12.1 (Oct 9 2005) +============ + + o Fixed missing include file for GnomeDB widgets. + o Translation updates. + + +Glade 2.12.0 (Sep 14 2005) +============ + + o Added support for new properties - "GtkWindow::urgency_hint", + "GtkAboutDialog::wrap_license", "GtkIconView::reorderable", + "GtkFileChooserDialog::do_overwrite_confirmation", + "GtkFileChooserButton::do_overwrite_confirmation", + "GtkMenuBar::pack_direction", "GtkMenuBar::child_pack_direction". + o Added 12 new named icons in GTK+ and GNOME. + o Fixed bug using "Named Icon" property for widgets other than GtkWindow. + o Fixed code generation for "GtkAboutDialog::destroy_with_parent". + + +Glade 2.10.1 (Sep 13 2005) +============ + + o Use stock ids instead of text labels in "Stock Item" and "Icon" + properties, to avoid problems with stock items with the same labels. + o Use gtk_init_with_args() in the GTK+ version, so --help works. + o Don't use -path option of find in autogen.sh, since Solaris doesn't have it. + o Rename GnomeCanvas "anti_aliased" property to "aa", so libglade loads it. + o Always allow GtkEventBox widgets to have tooltips. + o Support custom widgets and GtkFileChooserButtons as a label's focus target. + o Output a warning if unknown radio groups are found in the XML file. + o Output a warning if an invalid date is found in the XML file, but continue + to load the file. + + +Glade 2.10.0 (Mar 16 2005) +============ + + o Updated translations. + + +Glade 2.9.0 (Jan 31 2005) +=========== + +This is the first beta release for GTK+ 2.6 and GNOME 2.10. + + o Added support for new widgets - GtkMenuToolButton, GtkCellView, GtkIconView, + GtkAboutDialog and GtkFileChooserButton. + o Added support for new properties - "GtkLabel::ellipsize", + "GtkLabel::width_chars", "GtkLabel::single_line_mode", "GtkLabel::angle", + "GtkComboBoxEntry::add_tearoffs", "GtkComboBoxEntry::has_frame", + "GtkComboBoxEntry::focus_on_click", "GtkComboBox::add_tearoffs", + "GtkComboBox::focus_on_click", "GtkTreeView::fixed_height_mode", + "GtkTreeView::hover_selection", "GtkTreeView::hover_expand", + "GtkProgressBar::ellipsize", "GtkImage::icon_name", "GtkImage::pixel_size", + "GtkWindow::icon_name", "GtkWindow::focus_on_map". + + +Glade 2.6.8 (Dec 21 2004) +=========== + + o Fixed bug that could cause an infinite loop on startup. + + +Glade 2.6.7 (Dec 2 2004) +=========== + + o Fixed crashing bug in GnomeHRef. + + +Glade 2.6.6 (Nov 30 2004) +=========== + + o Fixed the handling of the new translation properties in buttons. + o Used the correct "text" property in GnomeHRef. + o Used "%.12g" when outputting floats, to keep as many digits as possible. + + +Glade 2.6.5 (Oct 24 2004) +=========== + + o Fixed another bug in drawing code that was causing warnings/crashes. + + +Glade 2.6.4 (Oct 20 2004) +=========== + + o Fixed bug in drawing code that was causing crashes. + + +Glade 2.6.3 (Oct 19 2004) +=========== + + o Fixed problem with missing '...' buttons in the property editor. + + +Glade 2.6.2 (Oct 13 2004) +=========== + + o Build fix - mkinstalldirs wasn't in the tarball. + + +Glade 2.6.1 (Oct 12 2004) +=========== + + o Save window positions between sessions. + o Rewrote selection drawing code so it works better on win32. + o Support "translatable", "context" and "comments" attributes for text + properties to help with translation. + o Bug fixes. + + +Glade 2.6.0 (Apr 14 2004) +=========== + + o Fixed trivial compilation problem in plain GTK+ version. + o Fixed bug freeing unallocated memory on Win32. + o Updated links to related software in README. + + +Glade 2.5.1 (Mar 29 2004) +=========== + + o Fixed bug migrating old toolbar widgets which meant that widgets other + than the normal/toggle/radio buttons were being lost when loading. + o Use the new GtkFileChooseDialog throughout Glade. + o Load the gail-gnome module as well as gail. + o If there is no .gladep file check the tags to see if it is + a GNOME or GTK+ project. Previously it would assume its a GNOME project. + o Set up GtkFrame according to the HIG. + o A few other minor fixes. + + +Glade 2.5.0 (Mar 17 2004) +=========== + + o Added support for new widgets in GTK+ 2.4 - GtkExpander, GtkFontButton, + GtkColorButton, GtkComboBox, GtkComboBoxEntry, GtkToolItem, GtkToolButton, + GtkToggleToolButton, GtkRadioToolButton, GtkSeparatorToolItem, + GtkFileChooserWidget, GtkFileChooserDialog. + o Added support for a number of new properties of existing widgets. + o New user manual (Pat Costello). + o Removed Turbo Start Guide. + o Updated FAQ to use sect1/sect2 elements so it is displayed OK in yelp. + + +Glade 2.0.1 (Nov 7 2003) +=========== + + o Bug fixes. + + +Glade 2.0.0 (Apr 11 2003) +=========== + + o Hide GNOME widgets and stock items in GTK+ projects. + o Made stock icon code more robust, hopefully fixing bug #105694. + o Updated for newer GnomeDB. + o Updated example text editor application for GTK+ 2. + o Bug fixes, including a few crashers. + + +Glade 1.1.3 (Nov 2 2002) +=========== + + o The widget tree now has icons & popup menus again. + o Removed dependancy on gnome-common for generated apps. + o Stopped generating any deprecated code. + o Updated GnomeDB support. + o Updated the generated signal callback argument names. + o A few keynav improvements, including global accelerators like Ctrl+S. + o Disabled support for typing in labels while hovering over widgets, as + it is a bit too error-prone. + o Added 'New' button back to toolbar in GNOME version! + o A few bug fixes. + + +Glade 1.1.2 (Sep 16 2002) +=========== + + o Bug fixes. + + +Glade 1.1.1 (Jul 15 2002) +=========== + + o Bug fixes. + + +Glade 1.1.0 (May 17 2002) +=========== + + o First beta release of GTK+ 2 / GNOME 2 port of Glade. + + +Glade 0.6.4 (Feb 1 2002) +=========== + + o Fixed some docs installation problems. (Eric Dorland & Damon) + o Took 'Curve Type' property out for GtkCurve & GtkGammaCurve, since GTK+ has + a bug which makes this crash pretty often. (Damon) + o Removed some unfinished GnomeDB widgets from the palette (Rodrigo Moya) + + +Glade 0.6.3 (Jan 25 2002) +=========== + + o Fixed some BadMatch problems on multi-depth displays (Dave Camp). + o Better GnomeDB support (Rodrigo Moya, Jos� Antonio Salgueiro Aquino, + Daniel Wagner), + o Fixed properties problem where properties didn't get updated on focus-out. + o Fixed bug when using GtkText and gettext (Dennis Brakhane). + o Updated docs to use DocBook 4.0, and avoided use of stylesheet images so + it compiles easier. + o New translations - Romanian (Marius Andreiana), Simplified Chinese + (Wang Jian) and Portuguese (Duarte Loreto). + + +Glade 0.6.2 (Mar 28 2001) +=========== + + o Updated documentation build stuff (for GNOME 1.4). + + +Glade 0.6.1 (Mar 12 2001) +=========== + + o Updated translations (for GNOME 1.4 RC1). + + +Glade 0.6.0 (Feb 15 2001) +=========== + + o A number of fairly minor bug fixes (for GNOME 1.4 beta 1). + + +Glade 0.5.11 (Oct 1 2000) +============ + + o Added workaround for SEGV bug in GnomeMessageBox in gnome-libs 1.2.3. + o A few changes in the generated code to keep g++ happy. + o Added gtk_widget_grab_focus() and gtk_widget_activate_default() to the + lists of standard signal handlers. + o Changed the widget tree view so it automatically expands to show selected + widgets. + o Updates to Russian, Swedish, French, Korean and Japanese translations. + + +Glade 0.5.10 (Sep 24 2000) +============ + + o Fixed code generation bug with GnomePropertyBox which caused a SEGV. + o Added support for the "relief" property for GtkButton & GtkToggleButton. + This is the only change to the XML file format. + o Fixed menu editor bug which meant that widgets were occasionally given + the same name. + o Added support for tooltips for GtkRadioButton and GtkCheckButton. + o Better support for keyboard navigation (from Jon K Hellan). + o Fixed --write-source option so it handles relative paths (from Rick Niles). + o Stopped installing logo into `gnome-config --datadir` since it causes + problems for people installing in personal directories etc. Also changed + the generated Makefile.am so it doesn't do it either. + o Added 'Class' property to the property editor so you can see the class of + the selected widget (from Jon K Hellan). + o Output the GtkOptionMenu and GtkCombo item strings separately in the + translatable strings file. + o Allowed start & finish pages of a GnomeDruid to be removed, in case the + developer wants to replace them with custom pages. + o Fixed the 'Redisplay Window' (Ctl-R) command so it should work again. + o Added the XML file and the autogen.sh file to the EXTRA_DIST in the + generated Makefile.am so they get distributed with the project. + + +Glade 0.5.9 (May 20 2000) +=========== + + o Added a Turbo-Start Guide from Paul J. Drongowski. + o Patches from James M. Cape to allow setting of the Title of GnomeMessageBox + widgets, and setting all the standard window properties of GnomePropertyBox. + o Updated Norwegian, Russian, Swedish, Japanese and German translations. + + +Glade 0.5.8 (May 14 2000) +=========== + + o Added User Guide and FAQ to the Help menu, though these are unfinished. + o Added option to support the Gnome Help system. Currently this only adds the + GNOME_UIINFO_HELP macro to the GnomeUIInfo struct, though we may include a + complete template User Guide with all the build files in future. Note that + you will have to install the topic.dat file in the appropriate directory + for the Help menuitems to be added. See the Glade source for an example. + o Installed the menu hints in the GnomeAppBar. + o Added a '--write-source' command line option to just build the source code + and exit. Note that an X connection is probably necessay for this to work. + o Partial support for GnomeDB widgets, though you'll have to set up the + configure.in/Makefile.am yourself. Parts of this may be unfinished. + o The beginnings of support for Bonobo controls. To include this configure + with '--with-bonobo'. This is still unfinished. Source code output isn't + done. + o Lots of new translations (many thanks to the people who do this behind the + scenes). + + +Glade 0.5.7 (Feb 19 2000) +=========== + + o Fixed problem with gnome-gettext.m4 macros being removed. + o French, Swedish, Japanese & Norwegian translations updated. + + +Glade 0.5.6 (Feb 13 2000) +=========== + + o Bug fixes - XML/source code output for box children with PACK_END set. + Using normal pixmaps in menu items. + Used correct default for C++ option cxx_use_heap, so it doesn't + appear in projects for other languages. + Fixed code output for children of paned widgets. + Fixed progress bar bug. + Fixed GLADE_DATA_DIR so --datadir works. + Fix bug which caused widgets to be skipped in code output. + o Used WM_NAME & WM_CLASS properties so window positions can be saved by the + window manager. + o Defaults for project options - to cut down on XML output. More default + values will be used in future - see doc/file_format.txt. + +Glade 0.5.5 (Nov 11 1999) +=========== + + o Bug fixes - fixed accelerator keys dialog so the GTK+ version compiles. + output (void) as the function prototypes in interface.c + + +Glade 0.5.4 (Nov 6 1999) +=========== + + o Added back the 'Data' & 'Object' fields on the 'Signals' page, though I + still think people shouldn't use these. + o Added some support for GnomeAnimator. You just have to add the frames of the + animation yourself. + o Moved accelerator keys from a property editor page to a separate dialog, + which you can access via the 'Basic' page of the property editor. + o Bug fixes - Allow label to be removed from buttons etc. + Make sure GnomeDruid strings are translated. + Don't let widgets be added to GnomeCanvas. + Don't let child widgets of GtkEntry/GnomeEntry etc. be deleted. + Ignore