From d50cd17f9dfca57320065f146930e1a86b37b342 Mon Sep 17 00:00:00 2001 From: Lynne Date: Sun, 23 Aug 2020 19:42:04 +1000 Subject: [PATCH] added tooltips to the sidebar buttons --- buypeeb.py | 6 ++++-- ui/main.glade | 11 +++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/buypeeb.py b/buypeeb.py index efcf2e2..b7ed09c 100755 --- a/buypeeb.py +++ b/buypeeb.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# +# buypeeb - a program to track yahoo jp auctions of peebus. # Copyright (C) 2020 lynnesbian # This program is free software: you can redistribute it and/or modify @@ -16,6 +16,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +#hi lynne, peebus here. i love you so much and I think you're doing an excellent job and I'm so proud of you and you're an extremely good partner and please keep being you <3. 0u0\/0u0 + import requests, gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk, Gio, Gdk @@ -127,7 +129,7 @@ class BuypeebApp: url = self.entryBox("Add URL", "Enter the URL of the item you want to add.") if url: # vry simpl url validation for simpol creachers - if functions.rmatch("https?.+yahoo.+", url): + if functions.rmatch(r"https?.+yahoo.+", url): self.settings.watch(url) else: self.msgBox("Invalid URL", "The provided URL was invalid.", Gtk.MessageType.ERROR) diff --git a/ui/main.glade b/ui/main.glade index a33dec8..73a2d7a 100644 --- a/ui/main.glade +++ b/ui/main.glade @@ -48,6 +48,7 @@ True False + Add new Add new True gtk-add @@ -63,6 +64,7 @@ True False + Update all Update all True gtk-refresh @@ -87,6 +89,7 @@ True False + Undo Undo True gtk-undo @@ -101,6 +104,7 @@ True False + Redo Redo True gtk-redo @@ -125,6 +129,7 @@ True False + Clear ended Clear ended True gtk-clear @@ -138,6 +143,7 @@ True False + Clear all Clear all True gtk-delete @@ -161,6 +167,7 @@ True False + Open Open True gtk-open @@ -175,6 +182,7 @@ True False + Export as... Export as... True gtk-save-as @@ -199,6 +207,7 @@ True False + Help Help True gtk-help @@ -213,6 +222,7 @@ True False + Settings Settings True gtk-preferences @@ -227,6 +237,7 @@ True False + Quit Quit True gtk-quit