[Granite instropection] In Granite.Application the properties for about dialog not set

Bug #1090662 reported by zodman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Granite
Confirmed
Low
Unassigned

Bug Description

i try to set on Granite.Application the properties for about dialog ( program_name, authors, developers etc) and not work when i call show_about

########################3
from gi.repository import Granite
from gi.repository import Gtk

class T(Granite.Application):
    program_name ="test"

    def do_activate(self):
        win = Gtk.Window(application=self)
        win.connect("destroy", lambda x: Gtk.main_quit())
        self.show_about(win)
        win.show_all()

t = T()
t.run("",1)

####################

output http://i.imgur.com/dfQZs.png

i think the problem is

on the method show_about when call in vala:

Granite.Widgets.show_about_dialog ((Gtk.Window) parent,
                                               "program_name", program_name,

program_name it not take from self.program_name in python.

Tags: python
Cody Garver (codygarver)
Changed in granite:
importance: Undecided → Low
Phillip Sz (phillip-sz)
Changed in granite:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.