Skip to content

Commit

Permalink
Adding a mnemonic to the db uri label and associating it to the dbentry
Browse files Browse the repository at this point in the history
  • Loading branch information
clarete committed Sep 9, 2010
1 parent 39f392a commit 7fc49f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stuff/queryviewer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ function Application:new()

-- The entry that will hold the database uri
self.dbentry = gtk.entry_new()
local label = gtk.label_new('Database uri: ')
local label = gtk.label_new_with_mnemonic('_Database uri: ')
label:set_mnemonic_widget(self.dbentry)
local hbox = gtk.hbox_new(false, 0)
hbox:pack_start(label, false, false, 0)
hbox:pack_start(self.dbentry, true, true, 0)
Expand Down

0 comments on commit 7fc49f3

Please sign in to comment.