Show icon only doesn't work in Granite
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Granite |
Fix Released
|
High
|
Pedro Paredes | ||
Midori Web Browser |
Invalid
|
High
|
Unassigned |
Bug Description
When looking at bug 1023637 I realize 'show icon only' has no visible effect in Granite's dynamic notebook.
The tab is marked as "fixed" API-wise.
I also looked at setting the label to "" (null is not allowed) as follows, but it doesn't hide the label:
=== modified file 'midori/
--- midori/
+++ midori/
@@ -3475,7 +3475,7 @@
if (view->tab)
- "label", midori_
+ "label", view->minimized ? "" : midori_
#else
if (view->tab_label)
@@ -4907,7 +4907,8 @@
if (view->tab == NULL)
{
view->tab = granite_
- midori_
+ view->minimized ? "" : midori_
+ G_ICON (view->icon), GTK_WIDGET (view));
}
return view->tab;
This requires fixes in Granite, making "fixed" hide the label and/ or allow setting the label to null to hide it.
Related branches
- David Gomes (community): Disapprove
-
Diff: 141 lines (+48/-6)1 file modifiedlib/Widgets/DynamicNotebook.vala (+48/-6)
- André Stösel: Approve
- Paweł Forysiuk: Approve
-
Diff: 3403 lines (+709/-2133)11 files modifiedkatze/katze-throbber.c (+0/-932)
katze/katze-throbber.h (+0/-94)
katze/katze.h (+0/-1)
midori/midori-browser.c (+148/-567)
midori/midori-notebook.vala (+526/-0)
midori/midori-preferences.c (+0/-5)
midori/midori-settings.vala (+1/-0)
midori/midori-tab.vala (+14/-1)
midori/midori-view.c (+19/-531)
midori/midori.vapi (+0/-1)
po/POTFILES.in (+1/-1)
Changed in midori: | |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: dynamic-notebook granite menu notebook |
Changed in granite: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in granite: | |
assignee: | nobody → Julián Unrrein (junrrein) |
status: | Confirmed → In Progress |
Changed in granite: | |
status: | In Progress → Fix Released |
Be aware that a fix for this issue is close to getting merged, but it will change the API: instead of a 'fixed' property, there will be a 'pinned' one.
The 'fixed' property won't be removed yet, so we don't break Midori's build.