Commit 10437eae authored by Sven Neumann's avatar Sven Neumann

Install dialog now works with themes and offers

interactive monitor calibration


--Sven & Mitch
parent f1c20312
2000-03-15 Sven Neumann <sven@gimp.org>
Michael Natterer <mitch@gimp.org>
* libgimp/gimpchainbutton.c: return TRUE from event_callback
* libgimp/gimpwidgets.c: blah
* app/install.c: now works with themes and offers an interactive
monitor calibration dialog. Delete your ~/.gimp-1.1 and enjoy!
2000-03-15 Sven Neumann <sven@gimp.org>
Michael Natterer <mitch@gimp.org>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -52,7 +52,7 @@ static void gimp_chain_button_realize (GtkWidget *widget);
static void gimp_chain_button_clicked_callback (GtkWidget *widget,
GimpChainButton *gcb);
static void gimp_chain_button_draw_lines (GtkWidget *widget,
static gint gimp_chain_button_draw_lines (GtkWidget *widget,
GdkEvent *event,
GimpChainButton *gcb);
......@@ -220,7 +220,6 @@ void
gimp_chain_button_set_active (GimpChainButton *gcb,
gboolean is_active)
{
g_return_if_fail (gcb != NULL);
g_return_if_fail (GIMP_IS_CHAIN_BUTTON (gcb));
if (gcb->active != is_active)
......@@ -248,7 +247,6 @@ gimp_chain_button_set_active (GimpChainButton *gcb,
gboolean
gimp_chain_button_get_active (GimpChainButton *gcb)
{
g_return_val_if_fail (gcb != NULL, FALSE);
g_return_val_if_fail (GIMP_IS_CHAIN_BUTTON (gcb), FALSE);
return gcb->active;
......@@ -286,7 +284,6 @@ static void
gimp_chain_button_clicked_callback (GtkWidget *widget,
GimpChainButton *gcb)
{
g_return_if_fail (gcb != NULL);
g_return_if_fail (GIMP_IS_CHAIN_BUTTON (gcb));
gcb->active = !(gcb->active);
......@@ -300,7 +297,7 @@ gimp_chain_button_clicked_callback (GtkWidget *widget,
gtk_pixmap_set (GTK_PIXMAP(gcb->pixmap), gcb->broken, gcb->broken_mask);
}
static void
static gint
gimp_chain_button_draw_lines (GtkWidget *widget,
GdkEvent *event,
GimpChainButton *gcb)
......@@ -314,13 +311,14 @@ gimp_chain_button_draw_lines (GtkWidget *widget,
/* don't set this too high, there's no check against drawing outside
the widgets bounds yet (and probably never will be) */
g_return_if_fail (gcb != NULL);
g_return_if_fail (GIMP_IS_CHAIN_BUTTON (gcb));
g_return_val_if_fail (GIMP_IS_CHAIN_BUTTON (gcb), FALSE);
/*
gdk_window_clear_area (widget->window,
0, 0,
widget->allocation.width,
widget->allocation.height);
*/
points[0].x = widget->allocation.width / 2;
points[0].y = widget->allocation.height / 2;
......@@ -362,7 +360,7 @@ gimp_chain_button_draw_lines (GtkWidget *widget,
shadow = GTK_SHADOW_ETCHED_IN;
break;
default:
return;
return FALSE;
}
if ( ((shadow == GTK_SHADOW_ETCHED_OUT) && (which_line == -1)) ||
......@@ -380,4 +378,6 @@ gimp_chain_button_draw_lines (GtkWidget *widget,
points,
3,
FALSE);
return TRUE;
}
......@@ -890,7 +890,7 @@ gimp_coordinates_new (GimpUnit unit,
gtk_widget_show (spinbutton);
gimp_size_entry_set_unit (GIMP_SIZE_ENTRY (sizeentry),
update_policy == GIMP_SIZE_ENTRY_UPDATE_RESOLUTION ?
(update_policy == GIMP_SIZE_ENTRY_UPDATE_RESOLUTION) || (menu_show_pixels == FALSE) ?
GIMP_UNIT_INCH : GIMP_UNIT_PIXEL);
gimp_size_entry_set_resolution (GIMP_SIZE_ENTRY (sizeentry), 0, xres, TRUE);
......
......@@ -52,7 +52,7 @@ static void gimp_chain_button_realize (GtkWidget *widget);
static void gimp_chain_button_clicked_callback (GtkWidget *widget,
GimpChainButton *gcb);
static void gimp_chain_button_draw_lines (GtkWidget *widget,
static gint gimp_chain_button_draw_lines (GtkWidget *widget,
GdkEvent *event,
GimpChainButton *gcb);
......@@ -220,7 +220,6 @@ void
gimp_chain_button_set_active (GimpChainButton *gcb,
gboolean is_active)
{
g_return_if_fail (gcb != NULL);
g_return_if_fail (GIMP_IS_CHAIN_BUTTON (gcb));
if (gcb->active != is_active)
......@@ -248,7 +247,6 @@ gimp_chain_button_set_active (GimpChainButton *gcb,
gboolean
gimp_chain_button_get_active (GimpChainButton *gcb)
{
g_return_val_if_fail (gcb != NULL, FALSE);
g_return_val_if_fail (GIMP_IS_CHAIN_BUTTON (gcb), FALSE);
return gcb->active;
......@@ -286,7 +284,6 @@ static void
gimp_chain_button_clicked_callback (GtkWidget *widget,
GimpChainButton *gcb)
{
g_return_if_fail (gcb != NULL);
g_return_if_fail (GIMP_IS_CHAIN_BUTTON (gcb));
gcb->active = !(gcb->active);
......@@ -300,7 +297,7 @@ gimp_chain_button_clicked_callback (GtkWidget *widget,
gtk_pixmap_set (GTK_PIXMAP(gcb->pixmap), gcb->broken, gcb->broken_mask);
}
static void
static gint
gimp_chain_button_draw_lines (GtkWidget *widget,
GdkEvent *event,
GimpChainButton *gcb)
......@@ -314,13 +311,14 @@ gimp_chain_button_draw_lines (GtkWidget *widget,
/* don't set this too high, there's no check against drawing outside
the widgets bounds yet (and probably never will be) */
g_return_if_fail (gcb != NULL);
g_return_if_fail (GIMP_IS_CHAIN_BUTTON (gcb));
g_return_val_if_fail (GIMP_IS_CHAIN_BUTTON (gcb), FALSE);
/*
gdk_window_clear_area (widget->window,
0, 0,
widget->allocation.width,
widget->allocation.height);
*/
points[0].x = widget->allocation.width / 2;
points[0].y = widget->allocation.height / 2;
......@@ -362,7 +360,7 @@ gimp_chain_button_draw_lines (GtkWidget *widget,
shadow = GTK_SHADOW_ETCHED_IN;
break;
default:
return;
return FALSE;
}
if ( ((shadow == GTK_SHADOW_ETCHED_OUT) && (which_line == -1)) ||
......@@ -380,4 +378,6 @@ gimp_chain_button_draw_lines (GtkWidget *widget,
points,
3,
FALSE);
return TRUE;
}
......@@ -890,7 +890,7 @@ gimp_coordinates_new (GimpUnit unit,
gtk_widget_show (spinbutton);
gimp_size_entry_set_unit (GIMP_SIZE_ENTRY (sizeentry),
update_policy == GIMP_SIZE_ENTRY_UPDATE_RESOLUTION ?
(update_policy == GIMP_SIZE_ENTRY_UPDATE_RESOLUTION) || (menu_show_pixels == FALSE) ?
GIMP_UNIT_INCH : GIMP_UNIT_PIXEL);
gimp_size_entry_set_resolution (GIMP_SIZE_ENTRY (sizeentry), 0, xres, TRUE);
......
Wed Mar 15 16:50:23 CET 2000 Sven Neumann <sven@gimp.org>
Michael Natterer <mitch@gimp.org>
* de.po: updated german translation
Wed Mar 8 17:42:20 CET 2000 Stanislav Brabec <utx@penguin.cz>
* cs.po: Updated translation.
......
......@@ -6,9 +6,9 @@
#
msgid ""
msgstr ""
"Project-Id-Version: GIMP 1.1.15\n"
"POT-Creation-Date: 2000-02-28 17:47-0800\n"
"PO-Revision-Date: 2000-02-13 12:25+0100\n"
"Project-Id-Version: GIMP 1.1.18\n"
"POT-Creation-Date: 2000-03-15 14:48+0100\n"
"PO-Revision-Date: 2000-03-15 16:50+0100\n"
"Last-Translator: Sven Neumann <sven@gimp.org>\n"
"Language-Team: German <de@li.org>\n"
"MIME-Version: 1.0\n"
......@@ -223,8 +223,14 @@ msgstr ""
"Speise Zufallsgenerator mit der aktuellen Zeit - dies garantiert eine "
"vernnftige Wahrscheinlichkeit"
#~ msgid "Select"
#~ msgstr "Auswahl"
#: libgimp/gimpwidgets.c:1030
msgid "Bytes"
msgstr "Byte"
#~ msgid "Close"
#~ msgstr "Schliessen"
#: libgimp/gimpwidgets.c:1031
msgid "KiloBytes"
msgstr "KiloByte"
#: libgimp/gimpwidgets.c:1032
msgid "MegaBytes"
msgstr "MegaByte"
Wed Mar 15 16:50:23 CET 2000 Sven Neumann <sven@gimp.org>
Michael Natterer <mitch@gimp.org>
* de.po: updated german translation
2000-03-14 Sven Neumann <sven@gimp.org>
Michael Natterer <mitch@gimp.org>
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment