336 Commits

Author SHA1 Message Date
Joaquin Cuenca Abela
19e014d7ff change the table with the widgets to a vertical box, where each widget
24-02-07  Joaquin Cuenca Abela  <e98cuenc@yahoo.com>

	* src/glade-palette.c: change the table with the widgets
	to a vertical box, where each widget lies in a row
	(the icon of the widget next to its label).
	* src/glade-project-window.c: make the palette resizable.
	* src/glade-widget-class.c: load png files instead of xpm
	files for the icons of the widgets.
	* widgets/glade-palette.xml, gtk-base.xml, gtk-additional.xml,
	gtk-dialogs.xml, gtk-obsolete.xml: Change the layout of the
	palette.
	* pixmaps/*.png: 24bpp alpha blended icons for the widgets.
	Most of them come from the jimmac collection.
2004-02-07 10:45:47 +00:00
Paolo Borelli
1617ccd5cf use gtk_window_present instead of gtk_window_deiconify.
2004-02-01  Paolo Borelli  <pborelli@katamail.com>

        * src/glade-project-view.c: use gtk_window_present instead of
        gtk_window_deiconify.
2004-02-01 13:22:38 +00:00
Joaquin Cuenca Abela
5a73c43af3 ignore the GetFunction of the property "modal".
2004-01-27  Joaquin Cuenca Abela  <e98cuenc@yahoo.com>

	* widgets/gtkwindow.xml: ignore the GetFunction of the property "modal".
2004-01-27 21:47:47 +00:00
Joaquin Cuenca Abela
4986a223fe make TagEnums and EnumType non required for enum properties. ignore
2004-01-27  Joaquin Cuenca Abela  <e98cuenc@yahoo.com>

	* src/glade-property-class.c (glade_property_class_update_from_node):
	make TagEnums and EnumType non required for enum properties.
	* widgets/gtkwindow.xml: ignore type-hint, as it can't be set
	after the window becames visible.
2004-01-27 18:27:40 +00:00
Joaquin Cuenca Abela
79ac086664 remove the editable handler from the rows that contain just the class
2004-01-27  Joaquin Cuenca Abela  <e98cuenc@yahoo.com>

	* src/glade-signal-handler.c: remove the editable handler from
	the rows that contain just the class name.
2004-01-27 18:08:28 +00:00
Joaquin Cuenca Abela
7ede84a6fc mark with bold the signals that have a handler, along with the widget
2004-01-27  Joaquin Cuenca Abela  <e98cuenc@yahoo.com>

    * src/glade-signal-handler.c: mark with bold the signals that have
	a handler, along with the widget classes that have at least a signal
	with a handler. Expand these classes by default in the signal editor.
	Also make the signal's handler editable by just double-clicking in
	the row.
2004-01-27 06:13:10 +00:00
Paolo Borelli
af79579987 Handle the popup-menu event so that SHIFT+F10 accel works. 2004-01-23 12:05:26 +00:00
Joaquin Cuenca Abela
0027cb6b74 fix some bugs in the signal editor. Now it's more or less bug free (I
2004-01-22  Joaquin Cuenca Abela  <e98cuenc@yahoo.com>

	* src/glade-signal-editor.c: fix some bugs in the signal editor. Now it's
	more or less bug free (I hope), but the UI still needs a bit of love.
	* src/glade-widget.[ch]: change the signals from a hash that points
	to a GList, to a hash that points to an GArray. The change it
	also solves some bugs in the old implementation.
2004-01-22 21:21:02 +00:00
Joaquin Cuenca Abela
81f7db6aac make the "signal" column non editable in the signal editor.
2004-01-19  Joaquin Cuenca Abela  <e98cuenc@yahoo.com>

	* src/glade-signal.c: make the "signal" column non editable in the
	signal editor.
2004-01-19 18:31:45 +00:00
Joaquin Cuenca Abela
af969838bb add a glade_signal_copy function. put the signals with a handler on a hash
2004-01-18  Joaquin Cuenca Abela  <e98cuenc@yahoo.com>

	* src/glade-signal.[ch]: add a glade_signal_copy function.
	* src/glade-widget.[ch]: put the signals with a handler on a hash
	indexed by the name of the signal.
	* src/glade-signal-editor.[ch]: rework the UI of the signal editor.
2004-01-18 18:37:08 +00:00
Paolo Borelli
a2ac8937bf Don't crash if the widget doesn't have a valid icon. 2004-01-15 08:16:40 +00:00
Tommi Komulainen
50313bb5eb src/glade-catalog.c src/glade-widget-class.c widgets/gtk-additional.xml
2004-01-09  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/glade-catalog.c
	* src/glade-widget-class.c
	* widgets/gtk-additional.xml
	* widgets/gtk-base.xml: Instead of playing tricks with the library
	filename, use the given name verbatim and let GModule handle platform
	specifics.  Load the library from Glade modules directory, or failing
	that from standard library paths.

2004-01-08  Tommi Komulainen  <tommi.komulainen@nokia.com>

	* src/glade-widget-class.c: load the library module before attempting
	to call *_get_type since the function could be located in dependent
	libraries.
2004-01-10 19:04:19 +00:00
Paolo Borelli
965c7cc2b1 Add some info. 2003-12-13 14:03:54 +00:00
Paolo Borelli
0cab8f9cca Fix segfault when adding a menubar. 2003-11-29 13:44:45 +00:00
Paolo Borelli
24fd07c839 Implement the selector button and label in the palette. 2003-11-28 16:45:14 +00:00
Paolo Borelli
adc6213951 Make desktop.in spec compliant. From glade-2. 2003-11-28 12:13:25 +00:00
Paolo Borelli
8ee665f3fd Set the application name. 2003-11-28 12:05:59 +00:00
Paolo Borelli
9e93a5a3a3 Janitoring. 2003-11-19 16:24:10 +00:00
Paolo Borelli
554b1a3ac3 Fix the query question for vbox and hbox. 2003-11-18 18:30:57 +00:00
Paolo Borelli
ef1f8c0f8b Simplify glade_widget_class_merge. 2003-11-18 17:16:30 +00:00
Paolo Borelli
8004190a7e Add size property for the toolbar and query it on creation.
Adding widgets to the toolbar is still broken...
2003-11-14 18:41:59 +00:00
Paolo Borelli
c95c7abefc One more TODO item... 2003-11-14 18:04:33 +00:00
Paolo Borelli
e2f20306ec Deiconify a window when double clicking on its icon in the project view. 2003-11-14 17:58:26 +00:00
Paolo Borelli
087ec185ca Update TODO. 2003-11-14 17:41:12 +00:00
Paolo Borelli
98c4dfa7e8 Move the GladeCommand declaration in the header. 2003-11-14 17:10:26 +00:00
Paolo Borelli
931e5a3b45 Fix the MAKE_TYPE macro in command and more cleanups. 2003-11-14 16:05:58 +00:00
Paolo Borelli
39f662b5a1 Free the gvalue of the set property command. Missed it in the previous audit. 2003-11-14 10:53:39 +00:00
Paolo Borelli
2e0a4cab2d Audit all the uses of GValues and fix leaks: values must be unset when done with them. 2003-11-10 21:23:57 +00:00
Paolo Borelli
8bce5362f4 Janitoring. 2003-11-09 15:16:41 +00:00
Paolo Borelli
a41f5a123c Turn GladeProperty in a simple struct instead of being a GObject. 2003-11-09 10:52:22 +00:00
Joaquín Cuenca Abela
5195711701 3-11-08 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* glade-placeholder.c: Unref the placeholder_pixmap in the finalize
	function instead of in the destroy function.
2003-11-08 12:21:48 +00:00
Paolo Borelli
583cfcafc2 Retrieve from gtk the value of packing properties: we now write a correct .glade
file, before all the children of a vbox had position=0.
2003-11-07 16:20:17 +00:00
Paolo Borelli
e6462dfd37 Add note about braces. 2003-11-07 15:30:37 +00:00
Joaquin Cuenca Abela
1c953a06cf restore the good png.
2003-11-06  Joaquin Cuenca Abela  <e98cuenc@yahoo.com>

        * glade-3.png: restore the good png.
2003-11-06 22:08:56 +00:00
Paolo Borelli
048b97a21a Restore cursor change. 2003-11-05 19:23:43 +00:00
Paolo Borelli
a685a5f09c Hopefully unbreak the icon. 2003-11-05 09:11:52 +00:00
Paolo Borelli
b8be6ac610 Fix compilation on linux... hopefully without breaking on windows. 2003-11-05 08:56:56 +00:00
Joaquin Cuenca Abela
99aef79fc9 rewrite it as a GtkWidget. Moved some of its functions to glade-utils.c.
2003-11-02  Joaquin Cuenca Abela  <e98cuenc@yahoo.com>

	* src/glade-placeholder.[ch]: rewrite it as a GtkWidget.  Moved some
	of its functions to glade-utils.c.
	* src/glade-command.c: Adapt the source to the new placeholder.
	* src/glade-packing.c: ditto.
	* src/glade-popup.c: ditto.
	* src/glade-types.h: ditto.
	* src/glade-utils.c: ditto.
	* src/glade-widget.c: Put a variable declaration before any statement.
	* src/glade-widget.h: Add some forward declarations.
	* src/glade-gtk.c: export the functions using __declspec(dllexport) in
	windows and adapt to new placeholder.
	* src/glade-editor.c: Use G_GNUC_FUNCTION instead of the non portable
	__FUNCTION__.
	* src/glade_plugin.def: def file with the exported functions from the
	core of glade.  These functions may be used in glade-gtk.c, or in
	* src/glade-plugin.h: include files need by glade-gtk.c.
	any external module.  Only need in windows.
2003-11-02 21:12:02 +00:00
Paolo Borelli
22c9ca63cb Forgot ChangeLog... 2003-11-01 23:07:05 +00:00
Paolo Borelli
50737581d4 More janitoring. Move glade_choice* stuff to glade-choice.[ch]. 2003-11-01 23:04:38 +00:00
Paolo Borelli
46e859b6c9 More janitoring. Remove dead code. 2003-11-01 22:31:57 +00:00
Paolo Borelli
6d7ae493b0 Ifdef out the GladeProperty->child since it's unused. Use apply_property_from_node also for packing properties. 2003-11-01 20:17:49 +00:00
Paolo Borelli
20960e6c90 Delete .desktop file on make clean. 2003-11-01 16:36:24 +00:00
Paolo Borelli
1e9d108ff1 Janitoring: remove unused function and duplicated include. 2003-10-31 17:54:57 +00:00
Paolo Borelli
f790748ae0 Get rid of property_class->update_signals: they were unused, broken and glade-2 doesn't behave like that anyway. 2003-10-31 12:47:56 +00:00
Paolo Borelli
3df13dd998 Minor janitoring. 2003-10-27 18:06:09 +00:00
Paolo Borelli
134459d392 Handle internal children when reading a .glade file. 2003-10-27 13:30:42 +00:00
Paolo Borelli
2a8a2c4dd6 Forgot a bit of ChangeLog... 2003-10-23 18:56:09 +00:00
Paolo Borelli
61bb4a2894 Handle writing of the internal-child attribute. 2003-10-23 18:45:32 +00:00
Paolo Borelli
39dd3c2680 First support for internal children. Now you can add widgets to dialogs. Still
doesn't handle xml reading and writing.
2003-10-23 17:40:27 +00:00