Marking Dial insensitive when text is entered, dropping the height of the sms dialog...
authorepage <eopage@byu.net>
Wed, 14 Oct 2009 00:50:00 +0000 (00:50 +0000)
committerepage <eopage@byu.net>
Wed, 14 Oct 2009 00:50:00 +0000 (00:50 +0000)
git-svn-id: file:///svnroot/gc-dialer/trunk@525 c39d3808-3fe2-4d86-a59f-b7f623ee9f21

src/dialcentral.glade
src/gv_views.py

index db7bb56..88fc4e5 100644 (file)
                 </child>
                 <child>
                   <widget class="GtkButton" id="clearcookies">
-                    <property name="label" translatable="yes">Login</property>
+                    <property name="label" translatable="yes">New Login</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="receives_default">True</property>
                 </child>
               </widget>
               <packing>
+                <property name="expand">False</property>
                 <property name="position">0</property>
               </packing>
             </child>
                 <property name="expand">False</property>
                 <property name="fill">False</property>
                 <property name="position">0</property>
+                <property name="secondary">True</property>
               </packing>
             </child>
             <child>
                 <property name="expand">False</property>
                 <property name="fill">False</property>
                 <property name="position">1</property>
+                <property name="secondary">True</property>
               </packing>
             </child>
             <child>
index f913557..0c67133 100644 (file)
@@ -353,7 +353,7 @@ class SmsEntryDialog(object):
                        if parent is not None:
                                self._dialog.set_transient_for(parent)
                                parentSize = parent.get_size()
-                               self._dialog.resize(parentSize[0], max(parentSize[1]-50, 100))
+                               self._dialog.resize(parentSize[0], max(parentSize[1]-100, 100))
 
                        # Run
                        try:
@@ -406,8 +406,10 @@ class SmsEntryDialog(object):
                self._letterCountLabel.set_text(str(charsLeft))
                if charsLeft < 0 or charsLeft == self.MAX_CHAR:
                        self._smsButton.set_sensitive(False)
+                       self._dialButton.set_sensitive(True)
                else:
                        self._smsButton.set_sensitive(True)
+                       self._dialButton.set_sensitive(False)
 
        def _request_number(self):
                try: