Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed libnotify warning and icon in notification - even with GNOME 3!

  • Loading branch information...
commit 0c3b0be795f039c3e0fa67b1bf281871b8739385 1 parent ffe8f28
@cooper cooper authored
Showing with 3 additions and 6 deletions.
  1. +1 −5 src/fe-gtk/chanview-tree.c
  2. +2 −1  src/fe-gtk/tray.c
View
6 src/fe-gtk/chanview-tree.c
@@ -183,11 +183,7 @@ cv_tree_title_cell_data_func (GtkTreeViewColumn *column,
chanview *cv)
{
gint depth = gtk_tree_store_iter_depth(GTK_TREE_STORE(cv->store), iter);
-
- if (depth == 0)
- g_object_set(cell, "weight", PANGO_WEIGHT_BOLD, NULL);
- else
- g_object_set(cell, "weight", PANGO_WEIGHT_NORMAL, NULL);
+ g_object_set(cell, "weight", PANGO_WEIGHT_NORMAL, NULL);
}
static void
View
3  src/fe-gtk/tray.c
@@ -134,7 +134,8 @@ fe_tray_set_balloon(const char *title, const char *text)
return;
stext = strip_color(text, -1, STRIP_ALL);
- n = notify_notification_new(title, stext, sticon);
+ n = notify_notification_new(title, stext, NULL);
+ notify_notification_set_icon_from_pixbuf(n, ICON_NORMAL);
notify_notification_set_timeout(n, 20000);
notify_notification_show(n, NULL);
Please sign in to comment.
Something went wrong with that request. Please try again.