Some new window icons.
2003-01-18 Glynn Foster <glynn.foster@sun.com> * data/Makefile.am, data/zenity-calendar.png, data/zenity-entry.png, data/zenity-progress.png, data/zenity-text.png: Some new window icons. * src/text.c: Fix crash where the GladeXML ref was getting unref'd before we wanted to use it. * src/main.c: Fix up commandline parsing a little, although we should really add the parsing options for gtk+. * src/zenity.glade: Give some saner defaults. * THANKS, src/about.c: Update for all the people I stole icons and code from. * TODO: Update accordingly.
This commit is contained in:
parent
0e338ba3e0
commit
f182d9f7fc
19
ChangeLog
19
ChangeLog
@ -1,3 +1,22 @@
|
|||||||
|
2003-01-18 Glynn Foster <glynn.foster@sun.com>
|
||||||
|
|
||||||
|
* data/Makefile.am, data/zenity-calendar.png,
|
||||||
|
data/zenity-entry.png, data/zenity-progress.png,
|
||||||
|
data/zenity-text.png: Some new window icons.
|
||||||
|
|
||||||
|
* src/text.c: Fix crash where the GladeXML ref was getting
|
||||||
|
unref'd before we wanted to use it.
|
||||||
|
|
||||||
|
* src/main.c: Fix up commandline parsing a little, although we
|
||||||
|
should really add the parsing options for gtk+.
|
||||||
|
|
||||||
|
* src/zenity.glade: Give some saner defaults.
|
||||||
|
|
||||||
|
* THANKS, src/about.c: Update for all the people I stole icons
|
||||||
|
and code from.
|
||||||
|
|
||||||
|
* TODO: Update accordingly.
|
||||||
|
|
||||||
2003-01-16 Mike Newman <mike@gtnorthern.demon.co.uk>
|
2003-01-16 Mike Newman <mike@gtnorthern.demon.co.uk>
|
||||||
|
|
||||||
* src/tree.c: fix a segfault if a --list is constructed and there
|
* src/tree.c: fix a segfault if a --list is constructed and there
|
||||||
|
6
THANKS
6
THANKS
@ -1 +1,7 @@
|
|||||||
|
Jonathan Blanford <jrb@redhat.com>
|
||||||
|
Anders Carlsson <andersca@gnu.org>
|
||||||
|
James Henstridge <james@daa.com.au>
|
||||||
Mike Newman <mike@gtnorthern.demon.co.uk>
|
Mike Newman <mike@gtnorthern.demon.co.uk>
|
||||||
|
Havoc Pennington <hp@redhat.com>
|
||||||
|
Kristian Rietveld <kris@gtk.org>
|
||||||
|
Jakub Steiner <jimmac@ximian.com>
|
||||||
|
1
TODO
1
TODO
@ -1,4 +1,3 @@
|
|||||||
* Add some accessibility I guess
|
* Add some accessibility I guess
|
||||||
* Find some nice default window icons
|
|
||||||
* Remove extraneous cruft from configure.in
|
* Remove extraneous cruft from configure.in
|
||||||
* Start writing help documentation
|
* Start writing help documentation
|
||||||
|
@ -3,6 +3,8 @@ images_DATA = \
|
|||||||
zenity-calendar.png \
|
zenity-calendar.png \
|
||||||
zenity-list.png \
|
zenity-list.png \
|
||||||
zenity-file.png \
|
zenity-file.png \
|
||||||
zenity-progress.png
|
zenity-progress.png \
|
||||||
|
zenity-text.png \
|
||||||
|
zenity-entry.png
|
||||||
|
|
||||||
EXTRA_DIST = $(images_DATA)
|
EXTRA_DIST = $(images_DATA)
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
data/zenity-entry.png
Normal file
BIN
data/zenity-entry.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.4 KiB |
BIN
data/zenity-text.png
Normal file
BIN
data/zenity-text.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.4 KiB |
@ -37,8 +37,14 @@ static GtkWidget *cred_dialog;
|
|||||||
static void zenity_about_dialog_response (GtkWidget *widget, int response, gpointer data);
|
static void zenity_about_dialog_response (GtkWidget *widget, int response, gpointer data);
|
||||||
|
|
||||||
static const gchar *author_credits[] = {
|
static const gchar *author_credits[] = {
|
||||||
|
"Jonathan Blanford <jrb@redhat.com>",
|
||||||
|
"Anders Carlsson <andersca@gnu.org>",
|
||||||
"Glynn Foster <glynn.foster@sun.com>",
|
"Glynn Foster <glynn.foster@sun.com>",
|
||||||
|
"James Henstridge <james@daa.com.au>",
|
||||||
"Mike Newman <mike@gtnorthern.demon.co.uk>",
|
"Mike Newman <mike@gtnorthern.demon.co.uk>",
|
||||||
|
"Havoc Pennington <hp@redhat.com>",
|
||||||
|
"Kristian Rietveld <kris@gtk.org>",
|
||||||
|
"Jakub Steiner <jimmac@ximian.com>",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -812,6 +812,9 @@ main (gint argc, gchar **argv) {
|
|||||||
/*nothing*/;
|
/*nothing*/;
|
||||||
|
|
||||||
if (nextopt != -1) {
|
if (nextopt != -1) {
|
||||||
|
/* FIXME : We should probably handle --display, or at least maybe load some of the gtk+
|
||||||
|
* commandline options
|
||||||
|
*/
|
||||||
g_printerr (_("%s in an invalid option for this dialog\n"), poptBadOption (ctx, 0));
|
g_printerr (_("%s in an invalid option for this dialog\n"), poptBadOption (ctx, 0));
|
||||||
zenity_free_parsing_options ();
|
zenity_free_parsing_options ();
|
||||||
exit (-1);
|
exit (-1);
|
||||||
@ -1220,8 +1223,6 @@ void zenity_parse_options_callback (poptContext ctx,
|
|||||||
exit (0);
|
exit (0);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
g_warning ("Invalid option %s", arg);
|
break;
|
||||||
zenity_free_parsing_options ();
|
|
||||||
exit (-1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -46,9 +46,6 @@ zenity_text (ZenityData *data, ZenityTextData *text_data)
|
|||||||
|
|
||||||
dialog = glade_xml_get_widget (glade_dialog, "zenity_text_dialog");
|
dialog = glade_xml_get_widget (glade_dialog, "zenity_text_dialog");
|
||||||
|
|
||||||
if (glade_dialog)
|
|
||||||
g_object_unref (glade_dialog);
|
|
||||||
|
|
||||||
g_signal_connect (G_OBJECT (dialog), "response",
|
g_signal_connect (G_OBJECT (dialog), "response",
|
||||||
G_CALLBACK (zenity_text_dialog_response), data);
|
G_CALLBACK (zenity_text_dialog_response), data);
|
||||||
|
|
||||||
@ -58,7 +55,7 @@ zenity_text (ZenityData *data, ZenityTextData *text_data)
|
|||||||
if (data->window_icon)
|
if (data->window_icon)
|
||||||
zenity_util_set_window_icon (dialog, data->window_icon);
|
zenity_util_set_window_icon (dialog, data->window_icon);
|
||||||
else
|
else
|
||||||
;
|
zenity_util_set_window_icon (dialog, ZENITY_IMAGE_FULLPATH ("zenity-text.png"));
|
||||||
|
|
||||||
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CLOSE);
|
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CLOSE);
|
||||||
|
|
||||||
@ -68,6 +65,10 @@ zenity_text (ZenityData *data, ZenityTextData *text_data)
|
|||||||
gtk_text_view_set_buffer (GTK_TEXT_VIEW (text_view), text_buffer);
|
gtk_text_view_set_buffer (GTK_TEXT_VIEW (text_view), text_buffer);
|
||||||
|
|
||||||
gtk_widget_show (dialog);
|
gtk_widget_show (dialog);
|
||||||
|
|
||||||
|
if (glade_dialog)
|
||||||
|
g_object_unref (glade_dialog);
|
||||||
|
|
||||||
gtk_main ();
|
gtk_main ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -529,7 +529,7 @@
|
|||||||
|
|
||||||
<widget class="GtkDialog" id="zenity_text_dialog">
|
<widget class="GtkDialog" id="zenity_text_dialog">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="title" translatable="yes">zenity_text_dialog</property>
|
<property name="title" translatable="yes">Text View</property>
|
||||||
<property name="type">GTK_WINDOW_TOPLEVEL</property>
|
<property name="type">GTK_WINDOW_TOPLEVEL</property>
|
||||||
<property name="window_position">GTK_WIN_POS_CENTER</property>
|
<property name="window_position">GTK_WIN_POS_CENTER</property>
|
||||||
<property name="modal">False</property>
|
<property name="modal">False</property>
|
||||||
@ -601,7 +601,7 @@
|
|||||||
<property name="left_margin">2</property>
|
<property name="left_margin">2</property>
|
||||||
<property name="right_margin">2</property>
|
<property name="right_margin">2</property>
|
||||||
<property name="indent">0</property>
|
<property name="indent">0</property>
|
||||||
<property name="text" translatable="yes">zenity_text_view</property>
|
<property name="text" translatable="yes"></property>
|
||||||
</widget>
|
</widget>
|
||||||
</child>
|
</child>
|
||||||
</widget>
|
</widget>
|
||||||
|
Reference in New Issue
Block a user