[meld] misc: Remove unused function
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] misc: Remove unused function
- Date: Thu, 4 Jul 2019 22:53:12 +0000 (UTC)
commit 5204ca047e864428233ffbfee4d0eb980a142491
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sun Jun 30 07:43:33 2019 +1000
misc: Remove unused function
meld/misc.py | 12 ------------
1 file changed, 12 deletions(-)
---
diff --git a/meld/misc.py b/meld/misc.py
index 8b712fff..e91bddb8 100644
--- a/meld/misc.py
+++ b/meld/misc.py
@@ -163,18 +163,6 @@ def user_critical(
return wrap
-def make_tool_button_widget(label_text: str) -> Gtk.HBox:
- """Make a GtkToolButton label-widget suggestive of a menu dropdown"""
- arrow = Gtk.Arrow(
- arrow_type=Gtk.ArrowType.DOWN, shadow_type=Gtk.ShadowType.NONE)
- label = Gtk.Label(label=label_text)
- hbox = Gtk.HBox(spacing=3)
- hbox.pack_end(arrow, True, True, 0)
- hbox.pack_end(label, True, True, 0)
- hbox.show_all()
- return hbox
-
-
MELD_STYLE_SCHEME = "meld-base"
MELD_STYLE_SCHEME_DARK = "meld-dark"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]