+2004-01-03 Jim Evins <evins@snaught.com>
+
+ * AUTHORS:
+ Added acknowledgement of contributions by Wayne Schuller.
+
+ * src/commands.c: (gl_cmd_file_print):
+ Create extra reference to print dialog, so that it can be properly re-used.
+
+ * src/mygal/mygal-combo-box.h:
+ * src/mygal/mygal-combo-box.c:
+ (mygal_combo_box_popup_hide_unconditional),
+ (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
+ (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
+ (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
+ (mygal_combo_box_set_tearable):
+ Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
+ complete the rename of this widget to prevent namespace collisions
+ with Gtk+-2.3.
+
+ * src/prefs-dialog.glade:
+ Fixed alignment of Fill/Color widgets.
+
2004-01-03 Jim Evins <evins@snaught.com>
* data/avery-iso-templates.xml:
gboolean popup_info_destroyed = FALSE;
g_return_if_fail (combo_box != NULL);
- g_return_if_fail (GTK_IS_COMBO_BOX (combo_box));
+ g_return_if_fail (MYGAL_IS_COMBO_BOX (combo_box));
gtk_widget_hide (combo_box->priv->toplevel);
gtk_widget_hide (combo_box->priv->popup);
int x, y;
g_return_if_fail (combo_box != NULL);
- g_return_if_fail (GTK_IS_COMBO_BOX (combo_box));
+ g_return_if_fail (MYGAL_IS_COMBO_BOX (combo_box));
/*
* If we have no widget to display on the popdown,
mygal_combo_box_set_display (MygalComboBox *combo_box, GtkWidget *display_widget)
{
g_return_if_fail (combo_box != NULL);
- g_return_if_fail (GTK_IS_COMBO_BOX (combo_box));
+ g_return_if_fail (MYGAL_IS_COMBO_BOX (combo_box));
g_return_if_fail (display_widget != NULL);
g_return_if_fail (GTK_IS_WIDGET (display_widget));
gboolean torn_off)
{
g_return_if_fail (combo != NULL);
- g_return_if_fail (GTK_IS_COMBO_BOX (combo));
+ g_return_if_fail (MYGAL_IS_COMBO_BOX (combo));
if (combo->priv->torn_off != torn_off) {
combo->priv->torn_off = torn_off;
GtkWidget *vbox;
g_return_if_fail (combo_box != NULL);
- g_return_if_fail (GTK_IS_COMBO_BOX (combo_box));
+ g_return_if_fail (MYGAL_IS_COMBO_BOX (combo_box));
g_return_if_fail (display_widget != NULL);
g_return_if_fail (GTK_IS_WIDGET (display_widget));
mygal_combo_box_set_arrow_relief (MygalComboBox *cc, GtkReliefStyle relief)
{
g_return_if_fail (cc != NULL);
- g_return_if_fail (GTK_IS_COMBO_BOX (cc));
+ g_return_if_fail (MYGAL_IS_COMBO_BOX (cc));
gtk_button_set_relief (GTK_BUTTON (cc->priv->arrow_button), relief);
}
const gchar *title)
{
g_return_if_fail (combo != NULL);
- g_return_if_fail (GTK_IS_COMBO_BOX (combo));
+ g_return_if_fail (MYGAL_IS_COMBO_BOX (combo));
g_object_set_data_full (G_OBJECT (combo), "gtk-combo-title",
g_strdup (title), (GDestroyNotify) g_free);
mygal_combo_box_set_tearable (MygalComboBox *combo, gboolean tearable)
{
g_return_if_fail (combo != NULL);
- g_return_if_fail (GTK_IS_COMBO_BOX (combo));
+ g_return_if_fail (MYGAL_IS_COMBO_BOX (combo));
if (tearable){
gtk_widget_show (combo->priv->tearable);
</child>
<child>
- <widget class="GtkVBox" id="vbox7">
- <property name="border_width">6</property>
+ <widget class="GtkTable" id="table4">
<property name="visible">True</property>
+ <property name="n_rows">1</property>
+ <property name="n_columns">2</property>
<property name="homogeneous">False</property>
- <property name="spacing">12</property>
+ <property name="row_spacing">12</property>
+ <property name="column_spacing">12</property>
<child>
- <widget class="GtkTable" id="table3">
+ <widget class="GtkLabel" id="label20">
+ <property name="width_request">90</property>
<property name="visible">True</property>
- <property name="n_rows">1</property>
- <property name="n_columns">2</property>
- <property name="homogeneous">False</property>
- <property name="row_spacing">0</property>
- <property name="column_spacing">0</property>
+ <property name="label" translatable="yes">Color:</property>
+ <property name="use_underline">False</property>
+ <property name="use_markup">False</property>
+ <property name="justify">GTK_JUSTIFY_LEFT</property>
+ <property name="wrap">False</property>
+ <property name="selectable">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.5</property>
+ <property name="xpad">0</property>
+ <property name="ypad">0</property>
+ </widget>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="right_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="x_options">fill</property>
+ <property name="y_options"></property>
+ </packing>
+ </child>
- <child>
- <widget class="GtkLabel" id="label20">
- <property name="width_request">90</property>
- <property name="visible">True</property>
- <property name="label" translatable="yes">Color:</property>
- <property name="use_underline">False</property>
- <property name="use_markup">False</property>
- <property name="justify">GTK_JUSTIFY_LEFT</property>
- <property name="wrap">False</property>
- <property name="selectable">False</property>
- <property name="xalign">0</property>
- <property name="yalign">0.5</property>
- <property name="xpad">0</property>
- <property name="ypad">0</property>
- </widget>
- <packing>
- <property name="left_attach">0</property>
- <property name="right_attach">1</property>
- <property name="top_attach">0</property>
- <property name="bottom_attach">1</property>
- <property name="x_options">fill</property>
- <property name="y_options"></property>
- </packing>
- </child>
+ <child>
+ <widget class="GtkHBox" id="hbox11">
+ <property name="visible">True</property>
+ <property name="homogeneous">False</property>
+ <property name="spacing">12</property>
<child>
- <widget class="GtkHBox" id="hbox11">
+ <widget class="Custom" id="fill_color_combo">
<property name="visible">True</property>
- <property name="homogeneous">False</property>
- <property name="spacing">12</property>
-
- <child>
- <widget class="Custom" id="fill_color_combo">
- <property name="visible">True</property>
- <property name="creation_function">gl_object_editor_construct_color_combo</property>
- <property name="int1">0</property>
- <property name="int2">0</property>
- <property name="last_modification_time">Sun, 23 Nov 2003 15:43:12 GMT</property>
- </widget>
- <packing>
- <property name="padding">0</property>
- <property name="expand">False</property>
- <property name="fill">False</property>
- </packing>
- </child>
+ <property name="creation_function">gl_object_editor_construct_color_combo</property>
+ <property name="int1">0</property>
+ <property name="int2">0</property>
+ <property name="last_modification_time">Sun, 23 Nov 2003 15:43:12 GMT</property>
</widget>
<packing>
- <property name="left_attach">1</property>
- <property name="right_attach">2</property>
- <property name="top_attach">0</property>
- <property name="bottom_attach">1</property>
- <property name="y_options">fill</property>
+ <property name="padding">0</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
</packing>
</child>
</widget>
<packing>
- <property name="padding">0</property>
- <property name="expand">True</property>
- <property name="fill">True</property>
+ <property name="left_attach">1</property>
+ <property name="right_attach">2</property>
+ <property name="top_attach">0</property>
+ <property name="bottom_attach">1</property>
+ <property name="y_options">fill</property>
</packing>
</child>
</widget>