[meld/deprecation-cleanup: 29/48] meldwindow: Remove toolbar style support
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld/deprecation-cleanup: 29/48] meldwindow: Remove toolbar style support
- Date: Sun, 2 Dec 2018 02:44:34 +0000 (UTC)
commit 28a636d3f377d0000c5bd67b2e21e2f9e9c4ccb3
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sat Dec 1 08:58:26 2018 +1000
meldwindow: Remove toolbar style support
I just spent 20 minutes trying to find whether any other applications
still honoured this setting, and (a) almost nothing I had installed had
a traditional toolbar and (b) neither of the applications that had
toolbars actually honoured this.
meld/meldwindow.py | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/meld/meldwindow.py b/meld/meldwindow.py
index 5456e6ba..ec1ce852 100644
--- a/meld/meldwindow.py
+++ b/meld/meldwindow.py
@@ -29,7 +29,6 @@ from meld.filemerge import FileMerge
from meld.melddoc import ComparisonState, MeldDoc
from meld.newdifftab import NewDiffTab
from meld.recent import recent_comparisons, RecentType
-from meld.settings import interface_settings
from meld.task import LifoScheduler
from meld.ui._gtktemplate import Template
from meld.ui.gnomeglade import ui_file
@@ -152,9 +151,6 @@ class MeldWindow(Gtk.ApplicationWindow):
self.toolbar.get_style_context().add_class(
Gtk.STYLE_CLASS_PRIMARY_TOOLBAR)
- interface_settings.bind('toolbar-style', self.toolbar, 'toolbar-style',
- Gio.SettingsBindFlags.DEFAULT)
-
# Alternate keybindings for a few commands.
extra_accels = (
("<Primary>D", self.on_menu_edit_down_activate),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]