Merge lp:~aacid/overlay-scrollbar/qt_no_overlay_scrollbar into lp:overlay-scrollbar

Proposed by Albert Astals Cid
Status: Rejected
Rejected by: Albert Astals Cid
Proposed branch: lp:~aacid/overlay-scrollbar/qt_no_overlay_scrollbar
Merge into: lp:overlay-scrollbar
Diff against target: 26 lines (+8/-0)
1 file modified
os/os-scrollbar.c (+8/-0)
To merge this branch: bzr merge lp:~aacid/overlay-scrollbar/qt_no_overlay_scrollbar
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Needs Fixing
Andrea Cimitan Disapprove
jenkins (community) continuous-integration Approve
Review via email: mp+124697@code.launchpad.net

Commit message

Use ubuntu_gtk_set_use_overlay_scrollbar and ubuntu_gtk_get_use_overlay_scrollbar so that other programs can say they don't want to use the overlay scrollbars

Description of the change

Use ubuntu_gtk_set_use_overlay_scrollbar and ubuntu_gtk_get_use_overlay_scrollbar so that other programs can say they don't want to use the overlay scrollbars

To post a comment you must log in.
Revision history for this message
jenkins (martin-mrazik+qa) wrote :
review: Approve (continuous-integration)
Revision history for this message
Andrea Cimitan (cimi) wrote :

The branch relies on a patch on both gtk2 and qt sides which was supposed to be removed. It is also not fixing the bug on static binaries without the ubuntu qt or gtk libraries.

Thus, this looks more like a possible distropatch than being part of the real code.

At this time, we wait to see if we come up with a clean fix, that does not use external API which we were going to remove.

If we run out of ideas, this is part of the list of workarounds we can add as distropatches.

review: Disapprove
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)

Unmerged revisions

357. By Albert Astals Cid

Use ubuntu_gtk_set_use_overlay_scrollbar and ubuntu_gtk_get_use_overlay_scrollbar so that other programs can say they don't want to use the overlay scrollbars

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'os/os-scrollbar.c'
--- os/os-scrollbar.c 2012-08-29 16:09:23 +0000
+++ os/os-scrollbar.c 2012-09-17 14:07:20 +0000
@@ -3161,7 +3161,11 @@
3161static gboolean3161static gboolean
3162use_overlay_scrollbar (void)3162use_overlay_scrollbar (void)
3163{3163{
3164#ifdef USE_GTK3
3164 return scrollbar_mode != SCROLLBAR_MODE_NORMAL;3165 return scrollbar_mode != SCROLLBAR_MODE_NORMAL;
3166#else
3167 return scrollbar_mode != SCROLLBAR_MODE_NORMAL && ubuntu_gtk_get_use_overlay_scrollbar ();
3168#endif
3165}3169}
31663170
3167static void3171static void
@@ -4231,6 +4235,10 @@
4231 "}\n", -1, NULL);4235 "}\n", -1, NULL);
4232#endif4236#endif
42334237
4238#ifndef USE_GTK3
4239 ubuntu_gtk_set_use_overlay_scrollbar (TRUE);
4240#endif
4241
4234 /* Load custom overlay scrollbar style. */4242 /* Load custom overlay scrollbar style. */
4235 if (use_overlay_scrollbar ())4243 if (use_overlay_scrollbar ())
4236 custom_style_load ();4244 custom_style_load ();

Subscribers

People subscribed via source and target branches