[byzanz] Set the default icon name
- From: Benjamin Otte <otte src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [byzanz] Set the default icon name
- Date: Sun, 30 Aug 2009 17:11:01 +0000 (UTC)
commit d9b576e6752496f9094bc2606611603864b65b64
Author: Benjamin Otte <otte gnome org>
Date: Sun Aug 30 19:10:13 2009 +0200
Set the default icon name
This way all dialogs we pop up have the right icon automatically
src/byzanzapplet.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/byzanzapplet.c b/src/byzanzapplet.c
index 02a8dc8..c5e0df9 100644
--- a/src/byzanzapplet.c
+++ b/src/byzanzapplet.c
@@ -77,8 +77,6 @@ byzanz_applet_show_error (AppletPrivate *priv, const char *error, const char *de
parent = NULL;
dialog = gtk_message_dialog_new (GTK_WINDOW (parent), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE, "%s", error);
- if (parent == NULL)
- gtk_window_set_icon_name (GTK_WINDOW (dialog), "byzanz-record-desktop");
if (msg)
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", msg);
g_free (msg);
@@ -382,6 +380,8 @@ byzanz_applet_fill (PanelApplet *applet, const gchar *iid, gpointer data)
textdomain (GETTEXT_PACKAGE);
#endif
+ gtk_window_set_default_icon_name ("byzanz-record-desktop");
+
priv = g_new0 (AppletPrivate, 1);
priv->applet = applet;
g_signal_connect (applet, "destroy", G_CALLBACK (destroy_applet), priv);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]