[libpeas] Set the libpeas-plugin icon as the icon for the demo window
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Set the libpeas-plugin icon as the icon for the demo window
- Date: Sat, 20 Dec 2014 17:21:25 +0000 (UTC)
commit a66dce2ea882c268060592b8ba9ff76e43b95278
Author: Garrett Regier <garrettregier gmail com>
Date: Mon Sep 8 23:20:00 2014 -0700
Set the libpeas-plugin icon as the icon for the demo window
peas-demo/peas-demo.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/peas-demo/peas-demo.c b/peas-demo/peas-demo.c
index 6a91eaf..d545ba3 100644
--- a/peas-demo/peas-demo.c
+++ b/peas-demo/peas-demo.c
@@ -60,6 +60,8 @@ create_main_window (void)
GtkWidget *button_box;
GtkWidget *button;
+ gtk_window_set_default_icon_name ("libpeas-plugin");
+
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
g_signal_connect (window, "delete-event", G_CALLBACK (gtk_main_quit), NULL);
gtk_container_set_border_width (GTK_CONTAINER (window), 6);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]