Merge lp:~bratsche/notify-osd/330088 into lp:notify-osd/trunk

Proposed by David Barth
Status: Merged
Merged at revision: not available
Proposed branch: lp:~bratsche/notify-osd/330088
Merge into: lp:notify-osd/trunk
Diff against target: None lines
To merge this branch: bzr merge lp:~bratsche/notify-osd/330088
Reviewer Review Type Date Requested Status
Mirco Müller Pending
Review via email: mp+4016@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/dialog.c'
2--- src/dialog.c 2009-02-18 16:04:57 +0000
3+++ src/dialog.c 2009-02-25 16:02:19 +0000
4@@ -133,7 +133,13 @@
5
6 priv = GET_PRIVATE (bubble);
7
8- image = gtk_image_new_from_pixbuf (bubble_get_icon_pixbuf (bubble));
9+ /* We deliberately use the gtk-dialog-warning icon rather than
10+ * the specified one to discourage people from trying to use
11+ * the notification system as a way of showing custom alert
12+ * dialogs.
13+ */
14+ image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_WARNING,
15+ GTK_ICON_SIZE_DIALOG);
16 gtk_misc_set_alignment (GTK_MISC (image), 0.5, 0.0);
17 gtk_box_pack_start (GTK_BOX (hbox), image, FALSE, FALSE, 0);
18

Subscribers

People subscribed via source and target branches