Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions blueman/plugins/manager/Info.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ def on_accel_activated(_group: Gtk.AccelGroup, _dialog: GObject, key: int, _modi
return False

clipboard = Gtk.Clipboard.get(Gdk.SELECTION_CLIPBOARD)
dialog = Gtk.Dialog(icon_name="blueman", title="blueman")
dialog.set_transient_for(parent)
dialog_content_area = dialog.get_content_area()
dialog = Gtk.Window(icon_name="blueman", title="blueman", transient_for=parent)

dialog_content_area = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
dialog.add(dialog_content_area)

label = Gtk.Label()
label.set_markup(_("<big>Select row(s) and use <i>Control + C</i> to copy</big>"))
Expand Down Expand Up @@ -112,8 +113,7 @@ def on_accel_activated(_group: Gtk.AccelGroup, _dialog: GObject, key: int, _modi
logging.info(f"Could not add property {name}")
pass

dialog.run()
dialog.destroy()
dialog.show_all()


class Info(ManagerPlugin, MenuItemsProvider):
Expand Down