422 Commits

Author SHA1 Message Date
Joaquín Cuenca Abela
5ea081fd13 remove this file. set the [gs]et functions of the tooltip property of
* src/glade-gtk.h: remove this file.
	* widgets/gtkmessagedialog.xml: set the [gs]et functions of the tooltip
	property of GtkMessageDialog to "ignore".
2003-10-04 15:28:00 +00:00
Joaquín Cuenca Abela
7992d8f6cd update the TODO list 2003-10-04 11:27:29 +00:00
Joaquín Cuenca Abela
7342e79cff read the name of the plugin to be used by each catalog and pass it to the
* src/glade-catalog.c: read the name of the plugin to be used by each
	catalog and pass it to the constructor of glade-widget-class.  Also
	if a specific class has a specific plugin name to be used, use it instead
	of the generic of the whole catalog.
	* src/glade-gtk.c: remove the "static" from the functions that should
	be exported, and remove the "temp hack" that was used to load the
	address of the functions, as it's no more needed.
	* src/glade-property-class.c: remove glade_property_class_get_{get,set}_function
	and use g_module_symbol instead.
	* src/glade-widget-class.c: use g_module_symbol instead of the previous {get,set}
	functions.  Remove unused functions.  Rename glade_widget_class_new_from_name2
	to glade_widget_class_new as it's the only constructor.  Use the plugin
	name that glade-widget-class passed to the constructor and load it.
	* src/glade-widget-class.h: add a GModule* by GladeWidgetClass.
	* src/glade-widget.c: remove the #include <glade-gtk.h>
	* widgets/gtk-additional.xml: add the name of the plugin ("gtk") for all the
	widgets on gtk-additional.
	* widgets/gtk-base.xml: ditto
	* widgets/gtkwidget.xml: remove the "name" tag, as it's not need.
	* widgets/gtkwindow.xml: change glade_gtk_widget_{get,set}_tooltip by "ignore",
	as that's what these functions do.
2003-10-04 10:36:31 +00:00
Paolo Borelli
8f8dd5f0d7 (glade_widget_write) remove some of the g_warning
I added yesterday since they were bogus: those
pointers could be NULL.
Split up glade_widget_write_child from widget_write
for easier readability and warn about the yet not
supported tag InternalChild.
Fix a segfault on open project.
2003-09-02 15:20:01 +00:00
Paolo Borelli
c15297faac Be a bit more robust when reading
.glade files... don't abort on
<requires lib=gnome> tag.
2003-09-01 16:13:09 +00:00
Paolo Borelli
f2e39a108d Load the icon. 2003-08-31 09:25:22 +00:00
Paolo Borelli
6b13c07fdb Update TODO 2003-08-26 11:36:39 +00:00
Archit Baweja
5b89f2a79a One liner fix for loading .glade files properly 2003-08-26 07:37:26 +00:00
Joaquín Cuenca Abela
1a3b4fb23e 3-08-24 Joaquin Cuenca Abela <e98cuenc@yahoo.com>
* src/glade-widget-class.c (glade_widget_class_remove_duplicated_properties):
	when we had a specialized property on a base widget class, if this property
	was the first one on the list of properties, the whole list was removed.
2003-08-24 21:35:39 +00:00
Paolo Borelli
f9fdfe2281 Load child_properties in
glade_widget_class_new_from_name2.
This oneliner does the trick for now
and shouldn't confilct much with
Joaquin stuff.
2003-08-21 14:28:17 +00:00
Paolo Borelli
db87c89b9f Bye bye GladeWidget->children, GladeWidget->parent. 2003-08-21 14:02:23 +00:00
Paolo Borelli
4043756d49 Add icons also in the clipboard view and
some simplification.
2003-08-20 17:19:17 +00:00
Paolo Borelli
c79860c891 Display an icon next to the widget name
in the project-view.
2003-08-20 12:40:55 +00:00
Archit Baweja
ab98e1037b Typo fixes. 2003-08-18 11:05:13 +00:00
Paolo Borelli
447a83a626 Do not use GladeWidget->children to
populate the model: this is the first
small step toward getting rid of the
tree structure in GladeWidget.
2003-08-17 15:27:10 +00:00
Joaquin Cuenca Abela
029c8fb423 set 0.01 as the step for float and double parameters. parse the
2003-08-15  Joaquin Cuenca Abela  <e98cuenc@yahoo.com>

	* src/glade-parameter.c: set 0.01 as the step for float and double parameters.
	* src/glade-widget-class.c: parse the PostCreateFunction value on
	glade_widget_class_extend_with_file.
	* widgets/gtkwindow.xml: put again the PostCreateFunction to set a reasonable
	default size for a window.
	* widgets/gtkmessagedialog.xml: reuse this xml file.
	* widgets/*.xml: remove some unneed tags, as name and generic_name, as now
	there are defined on gtk-base and gtk-additional.xml files.
2003-08-15 18:24:11 +00:00
Paolo Borelli
f17a382795 Ooops... committed the wrong one. Fixing. 2003-08-14 17:05:01 +00:00
Paolo Borelli
ed4441675c The remove_widget signal must
pass a GladeWidget as data.
2003-08-14 16:54:00 +00:00
Paolo Borelli
a8bec0bbe5 Minor cleanup that got lost in Joaquin's merge. 2003-08-14 10:26:27 +00:00
Paolo Borelli
26eef36e95 Fix compilation on linux. 2003-08-14 09:37:57 +00:00
Joaquín Cuenca Abela
7a18afc732 Adding a gtkseparator file 2003-08-11 18:42:39 +00:00
Joaquín Cuenca Abela
228823dd17 Update Makefile.am, and also remove gtk[hv]separator.xml (now we just use gtkseparator.xml) 2003-08-09 14:46:58 +00:00
Joaquín Cuenca Abela
519d15ec41 remove the most obviously unneed files 2003-08-09 08:43:26 +00:00
Archit Baweja
d3da25412a GtkNotebook decrease children and project loadup changed state bugfix. 2003-08-08 09:31:58 +00:00
Joaquín Cuenca Abela
a1c3b8eaab ops... lot of changes... read the changelog. 2003-08-07 20:09:23 +00:00
Joaquín Cuenca Abela
3e58c96f31 A lot of things :) 2003-08-07 20:08:19 +00:00
Paolo Borelli
e1005445a1 Remove glade-project-window.h dep from
glade-utils.
2003-08-07 17:07:15 +00:00
Paolo Borelli
4a30c02b6a Remove dependency on glade-project-window.h
from glade-editor.
2003-08-06 14:45:03 +00:00
Archit Baweja
80b7b747d1 Bug fixes for extra placeholders on loading a project and property queries 2003-08-06 09:41:47 +00:00
Paolo Borelli
3e3376b89f More janitoring, replace deprecated
stuff. In partcular use GtkImage for
the icons on the palette.
2003-08-05 18:39:04 +00:00
Archit Baweja
b9a673b015 Fix the properties dialog's (which appears before inserting certain widgets like GtkHBox, GtkVBox, GtkTable) button order. 2003-08-03 22:31:23 +00:00
Paolo Borelli
b8035695b8 Some janitoring. 2003-08-03 19:47:52 +00:00
Paolo Borelli
fee165f3ad GtkObject -> GObject for GladeProject. 2003-08-03 17:56:23 +00:00
Paolo Borelli
483a61bbb7 Turn the project->widgets list into
a list of GtkWidgets instead of
GladeWidgets.
2003-08-03 15:43:06 +00:00
Paolo Borelli
db5c5c0863 Make tooltips work on editor's labels 2003-08-02 00:54:09 +00:00
Paolo Borelli
30464c00c3 Small cleanup: move create_label
to glade-editor.c
2003-07-31 18:46:53 +00:00
Paolo Borelli
1c55bf3ed0 Fix getting the widget name from
the xml file.
2003-07-30 16:37:50 +00:00
Paolo Borelli
a0cbbe3563 Turn post_create_function into a
method of GladeWidgetClass and
some minor cleanups.
2003-07-27 17:40:27 +00:00
Paolo Borelli
30f44d6f5a More work on properties: generalize
glade_set_property taking advantage
of the polymorphic nature of GValue.
2003-07-26 17:21:51 +00:00
Paolo Borelli
9125c47a4a First stage of the packing
properties rework.
2003-07-26 14:02:56 +00:00
Paolo Borelli
da97cae736 Cleanup. 2003-07-26 08:41:49 +00:00
Paolo Borelli
96ce97ae10 Small cleanup. 2003-07-22 13:28:23 +00:00
Paolo Borelli
36e4ffe89d MOve log_handler stuff to debug.c 2003-07-21 15:28:02 +00:00
Paolo Borelli
d2865f202a Do not segfault when clicking cancel
on property query.
2003-07-17 16:42:16 +00:00
Paolo Borelli
7c4d56bf11 glade_widget_free should not recurse.
This should fix "crash on close" properly.
2003-07-17 12:10:10 +00:00
Paolo Borelli
1e1252f534 Fix a warning. 2003-07-11 18:25:41 +00:00
Paolo Borelli
6187145ded GtkObject -> GObject for the
clipboard view.
2003-07-08 19:46:15 +00:00
Paolo Borelli
fd507f674f Use GDK_WINDOW_TYPE_HINT_UTILITY
for the palette etc.
2003-07-08 19:09:42 +00:00
Paolo Borelli
740baeccff Initial support for properties
of type FLAGS.
2003-07-07 10:46:13 +00:00
Paolo Borelli
a5e2f5081f minor fixes. 2003-07-06 16:07:07 +00:00