Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix missing argument to functions
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:21481e42afe75d9658d24f7bf5d717160f8321ed
User & Date: brandon 2018-11-11 21:28:05
Context
2018-11-11
21:43
Fix marking games as played, again check-in: 2755d3986e user: brandon tags: trunk
21:28
Fix missing argument to functions check-in: 21481e42af user: brandon tags: trunk
2018-11-10
20:35
Add missing function check-in: cab352edb9 user: brandon tags: trunk
Changes

Changes to src/grotesque/ui/gtk3/dialogs/editdialog.py.

1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
            d.set_markup("No resource selected")
            d.run()
            d.destroy()
            return
        uri = self.resource_store.get_value(row, 0)
        try:
            launcher = self.settings.get_resource_launcher()
            util.open_resource(uri)
        except ValueError as e:
            d = Gtk.MessageDialog(self, Gtk.DialogFlags.MODAL,
                                  Gtk.MessageType.ERROR,
                                  Gtk.ButtonsType.OK)
            d.set_markup(str(e))
            d.run()
            d.destroy()







|







1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
            d.set_markup("No resource selected")
            d.run()
            d.destroy()
            return
        uri = self.resource_store.get_value(row, 0)
        try:
            launcher = self.settings.get_resource_launcher()
            util.open_resource(uri, launcher)
        except ValueError as e:
            d = Gtk.MessageDialog(self, Gtk.DialogFlags.MODAL,
                                  Gtk.MessageType.ERROR,
                                  Gtk.ButtonsType.OK)
            d.set_markup(str(e))
            d.run()
            d.destroy()

Changes to src/grotesque/ui/gtk3/info/infoview.py.

309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
            self.info_view.add_child_at_anchor(ifdb_url_label, ifdb_url_anchor)
            ifdb_url_label.show()
            text_buffer.insert(text_iter, "\n")

    def _on_resource_clicked(self, widget, uri):
        try:
            launcher = self.settings.get_resource_launcher()
            util.open_resource(uri)
        except ValueError as e:
            d = Gtk.MessageDialog(self, Gtk.DialogFlags.MODAL,
                                  Gtk.MessageType.ERROR,
                                  Gtk.ButtonsType.OK)
            d.set_markup(str(e))
            d.run()
            d.destroy()







|







309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
            self.info_view.add_child_at_anchor(ifdb_url_label, ifdb_url_anchor)
            ifdb_url_label.show()
            text_buffer.insert(text_iter, "\n")

    def _on_resource_clicked(self, widget, uri):
        try:
            launcher = self.settings.get_resource_launcher()
            util.open_resource(uri, launcher)
        except ValueError as e:
            d = Gtk.MessageDialog(self, Gtk.DialogFlags.MODAL,
                                  Gtk.MessageType.ERROR,
                                  Gtk.ButtonsType.OK)
            d.set_markup(str(e))
            d.run()
            d.destroy()