Fix regression, no empty tooltips in bookmark bar
This commit is contained in:
parent
103df3d8cc
commit
17b8738be1
1 changed files with 4 additions and 2 deletions
|
@ -3247,6 +3247,7 @@ midori_browser_init (MidoriBrowser* browser)
|
|||
g_signal_connect (toolitem, "clicked",
|
||||
G_CALLBACK (midori_browser_bookmarkbar_folder_activate_cb),
|
||||
browser);
|
||||
if (desc && *desc)
|
||||
gtk_tool_item_set_tooltip_text (toolitem, desc);
|
||||
g_object_set_data (G_OBJECT (toolitem), "KatzeXbelItem", item);
|
||||
break;
|
||||
|
@ -3257,6 +3258,7 @@ midori_browser_init (MidoriBrowser* browser)
|
|||
g_signal_connect (toolitem, "clicked",
|
||||
G_CALLBACK (midori_browser_menu_bookmarks_item_activate_cb),
|
||||
browser);
|
||||
if (desc && *desc)
|
||||
gtk_tool_item_set_tooltip_text (toolitem, desc);
|
||||
g_object_set_data (G_OBJECT (toolitem), "KatzeXbelItem", item);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue