Show
Ignore:
Timestamp:
12/15/07 21:33:56 (11 months ago)
Author:
nicfit
Message:

Added config and GUI for one_message_window_with_roster

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/one_window/data/glade/preferences_window.glade

    r9139 r9152  
    123123                            <property name="visible">True</property> 
    124124                            <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> 
    125                             <property name="n_rows">6</property> 
     125                            <property name="n_rows">7</property> 
    126126                            <property name="n_columns">2</property> 
    127127                            <property name="column_spacing">6</property> 
    128128                            <property name="row_spacing">6</property> 
    129129                            <child> 
    130                               <widget class="GtkLabel" id="label387"> 
    131                                 <property name="visible">True</property> 
    132                                 <property name="xalign">0</property> 
    133                                 <property name="xpad">1</property> 
    134                                 <property name="label" translatable="yes">Treat all incoming messages as:</property> 
    135                               </widget> 
    136                               <packing> 
    137                                 <property name="top_attach">1</property> 
    138                                 <property name="bottom_attach">2</property> 
     130                              <widget class="GtkCheckButton" id="one_window_with_roster_checkbutton"> 
     131                                <property name="can_focus">True</property> 
     132                                <property name="tooltip" translatable="yes">Hides buttons in chatwindows to </property> 
     133                                <property name="label" translatable="yes">Combine roster and messages in a single _window</property> 
     134                                <property name="use_underline">True</property> 
     135                                <property name="response_id">0</property> 
     136                                <property name="draw_indicator">True</property> 
     137                                <signal name="toggled" handler="on_one_window_with_roster_checkbutton_toggled"/> 
     138                              </widget> 
     139                              <packing> 
     140                                <property name="right_attach">2</property> 
     141                                <property name="top_attach">3</property> 
     142                                <property name="bottom_attach">4</property> 
    139143                                <property name="x_options">GTK_FILL</property> 
    140144                              </packing> 
    141145                            </child> 
    142146                            <child> 
    143                               <widget class="GtkLabel" id="label379"> 
    144                                 <property name="visible">True</property> 
    145                                 <property name="xalign">0</property> 
    146                                 <property name="xpad">1</property> 
    147                                 <property name="label" translatable="yes">Use only one message _window:</property> 
    148                                 <property name="use_underline">True</property> 
    149                                 <property name="mnemonic_widget">one_window_type_combobox</property> 
    150                               </widget> 
    151                               <packing> 
     147                              <widget class="GtkCheckButton" id="compact_view_checkbutton"> 
     148                                <property name="can_focus">True</property> 
     149                                <property name="tooltip" translatable="yes">Hides buttons in chatwindows to </property> 
     150                                <property name="label" translatable="yes">_Make message windows compact</property> 
     151                                <property name="use_underline">True</property> 
     152                                <property name="response_id">0</property> 
     153                                <property name="draw_indicator">True</property> 
     154                                <signal name="toggled" handler="on_compact_view_checkbutton_toggled"/> 
     155                              </widget> 
     156                              <packing> 
     157                                <property name="right_attach">2</property> 
     158                                <property name="top_attach">4</property> 
     159                                <property name="bottom_attach">5</property> 
     160                                <property name="x_options">GTK_FILL</property> 
     161                              </packing> 
     162                            </child> 
     163                            <child> 
     164                              <widget class="GtkCheckButton" id="xhtml_checkbutton"> 
     165                                <property name="visible">True</property> 
     166                                <property name="can_focus">True</property> 
     167                                <property name="tooltip" translatable="yes">Some messages may include rich content (formatting, colors etc). If checked, Gajim will just display the raw message text.</property> 
     168                                <property name="label" translatable="yes">Ignore rich content in incoming messages</property> 
     169                                <property name="use_underline">True</property> 
     170                                <property name="response_id">0</property> 
     171                                <property name="draw_indicator">True</property> 
     172                                <signal name="toggled" handler="on_xhtml_checkbutton_toggled"/> 
     173                              </widget> 
     174                              <packing> 
     175                                <property name="right_attach">2</property> 
     176                                <property name="top_attach">5</property> 
     177                                <property name="bottom_attach">6</property> 
     178                                <property name="x_options">GTK_FILL</property> 
     179                              </packing> 
     180                            </child> 
     181                            <child> 
     182                              <widget class="GtkCheckButton" id="speller_checkbutton"> 
     183                                <property name="can_focus">True</property> 
     184                                <property name="label" translatable="yes">_Highlight misspelled words</property> 
     185                                <property name="use_underline">True</property> 
     186                                <property name="response_id">0</property> 
     187                                <property name="draw_indicator">True</property> 
     188                                <signal name="toggled" handler="on_speller_checkbutton_toggled"/> 
     189                              </widget> 
     190                              <packing> 
     191                                <property name="right_attach">2</property> 
     192                                <property name="top_attach">6</property> 
     193                                <property name="bottom_attach">7</property> 
     194                                <property name="x_options">GTK_FILL</property> 
     195                              </packing> 
     196                            </child> 
     197                            <child> 
     198                              <widget class="GtkEventBox" id="eventbox5"> 
     199                                <property name="visible">True</property> 
     200                                <property name="tooltip" translatable="yes">If not disabled, Gajim will replace ascii smilies like ':)' with equivalent animated or static graphical emoticons</property> 
     201                                <child> 
     202                                  <widget class="GtkLabel" id="label381"> 
     203                                    <property name="visible">True</property> 
     204                                    <property name="xalign">0</property> 
     205                                    <property name="xpad">1</property> 
     206                                    <property name="label" translatable="yes">Emoticons:</property> 
     207                                  </widget> 
     208                                </child> 
     209                              </widget> 
     210                              <packing> 
     211                                <property name="x_options">GTK_FILL</property> 
     212                              </packing> 
     213                            </child> 
     214                            <child> 
     215                              <widget class="GtkComboBox" id="emoticons_combobox"> 
     216                                <property name="visible">True</property> 
     217                                <signal name="changed" handler="on_emoticons_combobox_changed"/> 
     218                              </widget> 
     219                              <packing> 
     220                                <property name="left_attach">1</property> 
     221                                <property name="right_attach">2</property> 
     222                                <property name="x_options">GTK_FILL</property> 
     223                              </packing> 
     224                            </child> 
     225                            <child> 
     226                              <widget class="GtkComboBox" id="one_window_type_combobox"> 
     227                                <property name="visible">True</property> 
     228                                <property name="items" translatable="yes">Never 
     229Always 
     230Per account 
     231Per type</property> 
     232                                <signal name="changed" handler="on_one_window_type_combo_changed"/> 
     233                              </widget> 
     234                              <packing> 
     235                                <property name="left_attach">1</property> 
     236                                <property name="right_attach">2</property> 
    152237                                <property name="top_attach">2</property> 
    153238                                <property name="bottom_attach">3</property> 
     
    172257                            </child> 
    173258                            <child> 
    174                               <widget class="GtkComboBox" id="one_window_type_combobox"> 
    175                                 <property name="visible">True</property> 
    176                                 <property name="items" translatable="yes">Never 
    177 Always 
    178 Per account 
    179 Per type</property> 
    180                                 <signal name="changed" handler="on_one_window_type_combo_changed"/> 
    181                               </widget> 
    182                               <packing> 
    183                                 <property name="left_attach">1</property> 
    184                                 <property name="right_attach">2</property> 
     259                              <widget class="GtkLabel" id="label379"> 
     260                                <property name="visible">True</property> 
     261                                <property name="xalign">0</property> 
     262                                <property name="xpad">1</property> 
     263                                <property name="label" translatable="yes">Use only one message _window:</property> 
     264                                <property name="use_underline">True</property> 
     265                                <property name="mnemonic_widget">one_window_type_combobox</property> 
     266                              </widget> 
     267                              <packing> 
    185268                                <property name="top_attach">2</property> 
    186269                                <property name="bottom_attach">3</property> 
     
    189272                            </child> 
    190273                            <child> 
    191                               <widget class="GtkCheckButton" id="compact_view_checkbutton"> 
    192                                 <property name="can_focus">True</property> 
    193                                 <property name="tooltip" translatable="yes">Hides buttons in chatwindows to </property> 
    194                                 <property name="label" translatable="yes">_Make message windows compact</property> 
    195                                 <property name="use_underline">True</property> 
    196                                 <property name="response_id">0</property> 
    197                                 <property name="draw_indicator">True</property> 
    198                                 <signal name="toggled" handler="on_compact_view_checkbutton_toggled"/> 
    199                               </widget> 
    200                               <packing> 
    201                                 <property name="right_attach">2</property> 
    202                                 <property name="top_attach">3</property> 
    203                                 <property name="bottom_attach">4</property> 
    204                                 <property name="x_options">GTK_FILL</property> 
    205                               </packing> 
    206                             </child> 
    207                             <child> 
    208                               <widget class="GtkCheckButton" id="xhtml_checkbutton"> 
    209                                 <property name="visible">True</property> 
    210                                 <property name="can_focus">True</property> 
    211                                 <property name="tooltip" translatable="yes">Some messages may include rich content (formatting, colors etc). If checked, Gajim will just display the raw message text.</property> 
    212                                 <property name="label" translatable="yes">Ignore rich content in incoming messages</property> 
    213                                 <property name="use_underline">True</property> 
    214                                 <property name="response_id">0</property> 
    215                                 <property name="draw_indicator">True</property> 
    216                                 <signal name="toggled" handler="on_xhtml_checkbutton_toggled"/> 
    217                               </widget> 
    218                               <packing> 
    219                                 <property name="right_attach">2</property> 
    220                                 <property name="top_attach">4</property> 
    221                                 <property name="bottom_attach">5</property> 
    222                                 <property name="x_options">GTK_FILL</property> 
    223                               </packing> 
    224                             </child> 
    225                             <child> 
    226                               <widget class="GtkCheckButton" id="speller_checkbutton"> 
    227                                 <property name="can_focus">True</property> 
    228                                 <property name="label" translatable="yes">_Highlight misspelled words</property> 
    229                                 <property name="use_underline">True</property> 
    230                                 <property name="response_id">0</property> 
    231                                 <property name="draw_indicator">True</property> 
    232                                 <signal name="toggled" handler="on_speller_checkbutton_toggled"/> 
    233                               </widget> 
    234                               <packing> 
    235                                 <property name="right_attach">2</property> 
    236                                 <property name="top_attach">5</property> 
    237                                 <property name="bottom_attach">6</property> 
    238                                 <property name="x_options">GTK_FILL</property> 
    239                               </packing> 
    240                             </child> 
    241                             <child> 
    242                               <widget class="GtkComboBox" id="emoticons_combobox"> 
    243                                 <property name="visible">True</property> 
    244                                 <signal name="changed" handler="on_emoticons_combobox_changed"/> 
    245                               </widget> 
    246                               <packing> 
    247                                 <property name="left_attach">1</property> 
    248                                 <property name="right_attach">2</property> 
    249                                 <property name="x_options">GTK_FILL</property> 
    250                               </packing> 
    251                             </child> 
    252                             <child> 
    253                               <widget class="GtkEventBox" id="eventbox5"> 
    254                                 <property name="visible">True</property> 
    255                                 <property name="tooltip" translatable="yes">If not disabled, Gajim will replace ascii smilies like ':)' with equivalent animated or static graphical emoticons</property> 
    256                                 <child> 
    257                                   <widget class="GtkLabel" id="label381"> 
    258                                     <property name="visible">True</property> 
    259                                     <property name="xalign">0</property> 
    260                                     <property name="xpad">1</property> 
    261                                     <property name="label" translatable="yes">Emoticons:</property> 
    262                                   </widget> 
    263                                 </child> 
    264                               </widget> 
    265                               <packing> 
     274                              <widget class="GtkLabel" id="label387"> 
     275                                <property name="visible">True</property> 
     276                                <property name="xalign">0</property> 
     277                                <property name="xpad">1</property> 
     278                                <property name="label" translatable="yes">Treat all incoming messages as:</property> 
     279                              </widget> 
     280                              <packing> 
     281                                <property name="top_attach">1</property> 
     282                                <property name="bottom_attach">2</property> 
    266283                                <property name="x_options">GTK_FILL</property> 
    267284                              </packing> 
     
    308325                            <property name="row_spacing">6</property> 
    309326                            <child> 
    310                               <widget class="GtkLabel" id="label6"> 
     327                              <widget class="GtkLabel" id="label4"> 
    311328                                <property name="visible">True</property> 
    312329                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> 
    313330                              </widget> 
    314331                              <packing> 
    315                                 <property name="left_attach">2</property> 
     332                                <property name="left_attach">3</property> 
    316333                                <property name="right_attach">4</property> 
    317                                 <property name="top_attach">1</property> 
    318                                 <property name="bottom_attach">2</property> 
    319                               </packing> 
    320                             </child> 
    321                             <child> 
    322                               <widget class="GtkLabel" id="label249"> 
    323                                 <property name="visible">True</property> 
    324                                 <property name="xalign">0</property> 
    325                                 <property name="label" translatable="yes">T_heme:</property> 
    326                                 <property name="use_underline">True</property> 
    327                                 <property name="mnemonic_widget">theme_combobox</property> 
    328                               </widget> 
    329                               <packing> 
    330                                 <property name="x_options">GTK_FILL</property> 
    331                                 <property name="y_options">GTK_FILL</property> 
    332                               </packing> 
    333                             </child> 
    334                             <child> 
    335                               <widget class="GtkButton" id="manage_theme_button"> 
    336                                 <property name="visible">True</property> 
    337                                 <property name="can_focus">True</property> 
    338                                 <property name="tooltip" translatable="yes">Configure color and font of the interface</property> 
    339                                 <property name="label" translatable="yes">Ma_nage...</property> 
    340                                 <property name="use_underline">True</property> 
    341                                 <property name="response_id">0</property> 
    342                                 <signal name="clicked" handler="on_manage_theme_button_clicked"/> 
    343                               </widget> 
    344                               <packing> 
    345                                 <property name="left_attach">2</property> 
    346                                 <property name="right_attach">3</property> 
    347                                 <property name="x_options">GTK_FILL</property> 
    348                                 <property name="y_options">GTK_FILL</property> 
    349                               </packing> 
    350                             </child> 
    351                             <child> 
    352                               <widget class="GtkComboBox" id="theme_combobox"> 
    353                                 <property name="visible">True</property> 
    354                                 <signal name="changed" handler="on_theme_combobox_changed"/> 
    355                               </widget> 
    356                               <packing> 
    357                                 <property name="left_attach">1</property> 
    358                                 <property name="right_attach">2</property> 
    359                                 <property name="x_options">GTK_FILL</property> 
    360                                 <property name="y_options">GTK_FILL</property> 
    361                               </packing> 
    362                             </child> 
    363                             <child> 
    364                               <widget class="GtkLabel" id="label174"> 
    365                                 <property name="visible">True</property> 
    366                                 <property name="xalign">0</property> 
    367                                 <property name="label" translatable="yes">Status _iconset:</property> 
    368                                 <property name="use_underline">True</property> 
    369                                 <property name="mnemonic_widget">iconset_combobox</property> 
    370                               </widget> 
    371                               <packing> 
    372                                 <property name="top_attach">1</property> 
    373                                 <property name="bottom_attach">2</property> 
    374                                 <property name="x_options">GTK_FILL</property> 
    375                                 <property name="y_options">GTK_FILL</property> 
     334                              </packing> 
     335                            </child> 
     336                            <child> 
     337                              <widget class="GtkCheckButton" id="transports_iconsets_checkbutton"> 
     338                                <property name="visible">True</property> 
     339                                <property name="can_focus">True</property> 
     340                                <property name="tooltip" translatable="yes">If checked, Gajim will use protocol-specific status icons. (eg. A contact from MSN will have the equivalent msn icon for status online, away, busy, etc...)</property> 
     341                                <property name="label" translatable="yes">Use _transports iconsets</property> 
     342                                <property name="use_underline">True</property> 
     343                                <property name="response_id">0</property> 
     344                                <property name="draw_indicator">True</property> 
     345                                <signal name="toggled" handler="on_transports_iconsets_checkbutton_toggled"/> 
     346                              </widget> 
     347                              <packing> 
     348                                <property name="right_attach">4</property> 
     349                                <property name="top_attach">2</property> 
     350                                <property name="bottom_attach">3</property> 
    376351                              </packing> 
    377352                            </child> 
     
    391366                            </child> 
    392367                            <child> 
    393                               <widget class="GtkCheckButton" id="transports_iconsets_checkbutton"> 
    394                                 <property name="visible">True</property> 
    395                                 <property name="can_focus">True</property> 
    396                                 <property name="tooltip" translatable="yes">If checked, Gajim will use protocol-specific status icons. (eg. A contact from MSN will have the equivalent msn icon for status online, away, busy, etc...)</property> 
    397                                 <property name="label" translatable="yes">Use _transports iconsets</property> 
    398                                 <property name="use_underline">True</property> 
    399                                 <property name="response_id">0</property> 
    400                                 <property name="draw_indicator">True</property> 
    401                                 <signal name="toggled" handler="on_transports_iconsets_checkbutton_toggled"/> 
    402                               </widget> 
    403                               <packing> 
     368                              <widget class="GtkLabel" id="label174"> 
     369                                <property name="visible">True</property> 
     370                                <property name="xalign">0</property> 
     371                                <property name="label" translatable="yes">Status _iconset:</property> 
     372                                <property name="use_underline">True</property> 
     373                                <property name="mnemonic_widget">iconset_combobox</property> 
     374                              </widget> 
     375                              <packing> 
     376                                <property name="top_attach">1</property> 
     377                                <property name="bottom_attach">2</property> 
     378                                <property name="x_options">GTK_FILL</property> 
     379                                <property name="y_options">GTK_FILL</property> 
     380                              </packing> 
     381                            </child> 
     382                            <child> 
     383                              <widget class="GtkComboBox" id="theme_combobox"> 
     384                                <property name="visible">True</property> 
     385                                <signal name="changed" handler="on_theme_combobox_changed"/> 
     386                              </widget> 
     387                              <packing> 
     388                                <property name="left_attach">1</property> 
     389                                <property name="right_attach">2</property> 
     390                                <property name="x_options">GTK_FILL</property> 
     391                                <property name="y_options">GTK_FILL</property> 
     392                              </packing> 
     393                            </child> 
     394                            <child> 
     395                              <widget class="GtkButton" id="manage_theme_button"> 
     396                                <property name="visible">True</property> 
     397                                <property name="can_focus">True</property> 
     398                                <property name="tooltip" translatable="yes">Configure color and font of the interface</property> 
     399                                <property name="label" translatable="yes">Ma_nage...</property> 
     400                                <property name="use_underline">True</property> 
     401                                <property name="response_id">0</property> 
     402                                <signal name="clicked" handler="on_manage_theme_button_clicked"/> 
     403                              </widget> 
     404                              <packing> 
     405                                <property name="left_attach">2</property> 
     406                                <property name="right_attach">3</property> 
     407                                <property name="x_options">GTK_FILL</property> 
     408                                <property name="y_options">GTK_FILL</property> 
     409                              </packing> 
     410                            </child> 
     411                            <child> 
     412                              <widget class="GtkLabel" id="label249"> 
     413                                <property name="visible">True</property> 
     414                                <property name="xalign">0</property> 
     415                                <property name="label" translatable="yes">T_heme:</property> 
     416                                <property name="use_underline">True</property> 
     417                                <property name="mnemonic_widget">theme_combobox</property> 
     418                              </widget> 
     419                              <packing> 
     420                                <property name="x_options">GTK_FILL</property> 
     421                                <property name="y_options">GTK_FILL</property> 
     422                              </packing> 
     423                            </child> 
     424                            <child> 
     425                              <widget class="GtkLabel" id="label6"> 
     426                                <property name="visible">True</property> 
     427                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> 
     428                              </widget> 
     429                              <packing> 
     430                                <property name="left_attach">2</property> 
    404431                                <property name="right_attach">4</property> 
    405                                 <property name="top_attach">2</property> 
    406                                 <property name="bottom_attach">3</property> 
    407                               </packing> 
    408                             </child> 
    409                             <child> 
    410                               <widget class="GtkLabel" id="label4"> 
    411                                 <property name="visible">True</property> 
    412                                 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> 
    413                               </widget> 
    414                               <packing> 
    415                                 <property name="left_attach">3</property> 
    416                                 <property name="right_attach">4</property> 
     432                                <property name="top_attach">1</property> 
     433                                <property name="bottom_attach">2</property> 
    417434                              </packing> 
    418435                            </child> 
     
    475492                            <property name="row_spacing">6</property> 
    476493                            <child> 
    477                               <widget class="GtkComboBox" id="outgoing_chat_states_combobox"> 
    478                                 <property name="visible">True</property> 
    479                                 <property name="items" translatable="yes">All chat states 
    480 Composing only 
    481 Disabled</property> 
    482                                 <signal name="changed" handler="on_outgoing_chat_states_combobox_changed"/> 
    483                               </widget> 
    484                               <packing> 
    485                                 <property name="left_attach">1</property> 
     494                              <widget class="GtkCheckButton" id="ignore_events_from_unknown_contacts_checkbutton"> 
     495                                <property name="visible">True</property> 
     496                                <property name="can_focus">True</property> 
     497  &nb