~ubuntu-branches/ubuntu/vivid/blam/vivid-proposed

« back to all changes in this revision

Viewing changes to src/ChannelDialog.cs

  • Committer: Bazaar Package Importer
  • Author(s): Adrien Cunin
  • Date: 2007-02-02 00:37:16 UTC
  • mfrom: (1.1.4 upstream) (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20070202003716-63fv2k0ztk04bjq9
Tags: 1.8.4-0ubuntu1
* Sync with Debian unstable
* New upstream release
* Added build-dependency on gnome-sharp2
* debian/patches/01_correct_default_theme.patch: dropped, included upstream
* Re-added the following Ubuntu changes:
   - Build-Depends on firefox-dev instead of libxul-dev
   - debian/patches/PlanetUbuntu.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
namespace Imendio.Blam {
15
15
    public class ChannelDialog {
16
 
        [Widget] Gtk.Dialog channelDialog = null;
17
 
        [Widget] Gtk.Entry  nameEntry     = null;
18
 
        [Widget] Gtk.Entry  urlEntry      = null;
19
 
        [Widget] Gtk.Entry  keywordEntry  = null;
20
 
        [Widget] Gtk.Button okButton      = null;
21
 
        [Widget] Gtk.Image  dialogImage   = null;
 
16
    [Widget] Gtk.Dialog channelDialog = null;
 
17
    [Widget] Gtk.Entry  nameEntry     = null;
 
18
    [Widget] Gtk.Entry  urlEntry      = null;
 
19
    [Widget] Gtk.Entry  usernameEntry = null;
 
20
    [Widget] Gtk.Entry  passwordEntry = null;
 
21
    [Widget] Gtk.Entry  keywordEntry  = null;
 
22
    [Widget] Gtk.Button okButton      = null;
 
23
    [Widget] Gtk.Image  dialogImage   = null;
22
24
 
23
25
        private Channel     mChannel;
24
26
        
64
66
            nameEntry.Text = channel.Name;
65
67
            urlEntry.Text = channel.Url;
66
68
            keywordEntry.Text = channel.Keywords;
 
69
            usernameEntry.Text = channel.http_username;
 
70
            passwordEntry.Text = channel.http_password;
67
71
 
68
72
            channelDialog.ShowAll ();
69
73
        }
83
87
            }
84
88
            mChannel.Url = urlEntry.Text;
85
89
            mChannel.Keywords = keywordEntry.Text;
 
90
            mChannel.http_username = usernameEntry.Text;
 
91
            mChannel.http_password = passwordEntry.Text;
86
92
 
87
93
            mApp.CCollection.Update (mChannel);
88
94