Show
Ignore:
Timestamp:
12/18/07 23:26:36 (11 months ago)
Author:
asterix
Message:

begining of normal control work: get single message patch from #1041 and begin to make it a MessageControl? subclass

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/normal_control/data/glade/message_window.glade

    r9162 r9177  
    3535                                <property name="visible">True</property> 
    3636                                <property name="ypad">5</property> 
    37                                 <property name="stock">None</property> 
     37                                <property name="stock">gtk-missing-image</property> 
    3838                              </widget> 
    3939                              <packing> 
     
    7171                                  <widget class="GtkImage" id="avatar_image"> 
    7272                                    <property name="visible">True</property> 
    73                                     <property name="stock">None</property> 
     73                                    <property name="stock">gtk-missing-image</property> 
    7474                                  </widget> 
    7575                                </child> 
     
    189189                                    <property name="visible">True</property> 
    190190                                    <property name="xpad">2</property> 
    191                                     <property name="stock">None</property> 
     191                                    <property name="stock">gtk-missing-image</property> 
    192192                                  </widget> 
    193193                                </child> 
     
    349349                      <widget class="GtkImage" id="tab_image"> 
    350350                        <property name="visible">True</property> 
    351                         <property name="stock">None</property> 
     351                        <property name="stock">gtk-missing-image</property> 
    352352                      </widget> 
    353353                      <packing> 
     
    417417                              <widget class="GtkImage" id="gc_banner_status_image"> 
    418418                                <property name="visible">True</property> 
    419                                 <property name="stock">None</property> 
     419                                <property name="stock">gtk-missing-image</property> 
    420420                              </widget> 
    421421                              <packing> 
     
    565565                                    <property name="visible">True</property> 
    566566                                    <property name="xpad">2</property> 
    567                                     <property name="stock">None</property> 
     567                                    <property name="stock">gtk-missing-image</property> 
    568568                                  </widget> 
    569569                                </child> 
     
    728728                      <widget class="GtkImage" id="image1346"> 
    729729                        <property name="visible">True</property> 
    730                         <property name="stock">None</property> 
     730                        <property name="stock">gtk-missing-image</property> 
    731731                      </widget> 
    732732                      <packing> 
     
    778778              </packing> 
    779779            </child> 
     780            <child> 
     781              <widget class="GtkVBox" id="normal_child_vbox"> 
     782                <property name="can_focus">True</property> 
     783                <property name="border_width">3</property> 
     784                <property name="spacing">1</property> 
     785                <child> 
     786                  <widget class="GtkAlignment" id="alignment4"> 
     787                    <property name="visible">True</property> 
     788                    <property name="left_padding">3</property> 
     789                    <property name="right_padding">3</property> 
     790                    <child> 
     791                      <widget class="GtkEventBox" id="banner_eventbox"> 
     792                        <property name="visible">True</property> 
     793                        <child> 
     794                          <widget class="GtkHBox" id="hbox9"> 
     795                            <property name="visible">True</property> 
     796                            <child> 
     797                              <widget class="GtkImage" id="banner_status_image"> 
     798                                <property name="visible">True</property> 
     799                                <property name="ypad">5</property> 
     800                                <property name="stock">gtk-missing-image</property> 
     801                              </widget> 
     802                              <packing> 
     803                                <property name="expand">False</property> 
     804                                <property name="fill">False</property> 
     805                                <property name="padding">5</property> 
     806                              </packing> 
     807                            </child> 
     808                            <child> 
     809                              <widget class="GtkVBox" id="banner_vbox"> 
     810                                <property name="visible">True</property> 
     811                                <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> 
     812                                <property name="border_width">5</property> 
     813                                <child> 
     814                                  <widget class="GtkLabel" id="banner_name_label"> 
     815                                    <property name="visible">True</property> 
     816                                    <property name="xalign">0</property> 
     817                                    <property name="label">&lt;span weight="heavy" size="large"&gt;Contact name&lt;/span&gt;</property> 
     818                                    <property name="use_markup">True</property> 
     819                                  </widget> 
     820                                </child> 
     821                                <child> 
     822                                  <placeholder/> 
     823                                </child> 
     824                              </widget> 
     825                              <packing> 
     826                                <property name="position">1</property> 
     827                              </packing> 
     828                            </child> 
     829                            <child> 
     830                              <widget class="GtkEventBox" id="avatar_eventbox"> 
     831                                <property name="visible">True</property> 
     832                                <property name="visible_window">False</property> 
     833                                <child> 
     834                                  <widget class="GtkImage" id="avatar_image"> 
     835                                    <property name="visible">True</property> 
     836                                    <property name="stock">gtk-missing-image</property> 
     837                                  </widget> 
     838                                </child> 
     839                              </widget> 
     840                              <packing> 
     841                                <property name="expand">False</property> 
     842                                <property name="fill">False</property> 
     843                                <property name="position">2</property> 
     844                              </packing> 
     845                            </child> 
     846                          </widget> 
     847                        </child> 
     848                      </widget> 
     849                    </child> 
     850                  </widget> 
     851                  <packing> 
     852                    <property name="expand">False</property> 
     853                    <property name="fill">False</property> 
     854                  </packing> 
     855                </child> 
     856                <child> 
     857                  <widget class="GtkTable" id="headers_table2"> 
     858                    <property name="visible">True</property> 
     859                    <property name="n_rows">3</property> 
     860                    <property name="n_columns">5</property> 
     861                    <property name="column_spacing">12</property> 
     862                    <property name="row_spacing">6</property> 
     863                    <child> 
     864                      <widget class="GtkLabel" id="label4"> 
     865                        <property name="visible">True</property> 
     866                        <property name="label" translatable="yes">Subject:</property> 
     867                      </widget> 
     868                      <packing> 
     869                        <property name="top_attach">2</property> 
     870                        <property name="bottom_attach">3</property> 
     871                        <property name="x_options">GTK_FILL</property> 
     872                        <property name="y_options"></property> 
     873                      </packing> 
     874                    </child> 
     875                    <child> 
     876                      <widget class="GtkEntry" id="from_entry"> 
     877                        <property name="visible">True</property> 
     878                        <property name="can_focus">True</property> 
     879                        <property name="no_show_all">True</property> 
     880                      </widget> 
     881                      <packing> 
     882                        <property name="left_attach">1</property> 
     883                        <property name="right_attach">2</property> 
     884                        <property name="y_options"></property> 
     885                      </packing> 
     886                    </child> 
     887                    <child> 
     888                      <widget class="GtkEntry" id="subject_entry"> 
     889                        <property name="visible">True</property> 
     890                        <property name="can_focus">True</property> 
     891                      </widget> 
     892                      <packing> 
     893                        <property name="left_attach">1</property> 
     894                        <property name="right_attach">4</property> 
     895                        <property name="top_attach">2</property> 
     896                        <property name="bottom_attach">3</property> 
     897                        <property name="y_options"></property> 
     898                      </packing> 
     899                    </child> 
     900                    <child> 
     901                      <widget class="GtkLabel" id="count_chars_label"> 
     902                        <property name="visible">True</property> 
     903                        <property name="label" translatable="yes">0</property> 
     904                      </widget> 
     905                      <packing> 
     906                        <property name="left_attach">4</property> 
     907                        <property name="right_attach">5</property> 
     908                        <property name="top_attach">2</property> 
     909                        <property name="bottom_attach">3</property> 
     910                        <property name="x_options">GTK_FILL</property> 
     911                        <property name="y_options"></property> 
     912                      </packing> 
     913                    </child> 
     914                    <child> 
     915                      <widget class="GtkEntry" id="to_entry"> 
     916                        <property name="visible">True</property> 
     917                        <property name="can_focus">True</property> 
     918                        <property name="no_show_all">True</property> 
     919                      </widget> 
     920                      <packing> 
     921                        <property name="left_attach">1</property> 
     922                        <property name="right_attach">2</property> 
     923                        <property name="top_attach">1</property> 
     924                        <property name="bottom_attach">2</property> 
     925                        <property name="y_options"></property> 
     926                      </packing> 
     927                    </child> 
     928                    <child> 
     929                      <widget class="GtkLabel" id="from_label"> 
     930                        <property name="visible">True</property> 
     931                        <property name="no_show_all">True</property> 
     932                        <property name="xalign">0</property> 
     933                        <property name="label" translatable="yes">From:</property> 
     934                      </widget> 
     935                      <packing> 
     936                        <property name="x_options">GTK_FILL</property> 
     937                        <property name="y_options"></property> 
     938                      </packing> 
     939                    </child> 
     940                    <child> 
     941                      <widget class="GtkLabel" id="to_label"> 
     942                        <property name="visible">True</property> 
     943                        <property name="no_show_all">True</property> 
     944                        <property name="xalign">0</property> 
     945                        <property name="label" translatable="yes">To:</property> 
     946                      </widget> 
     947                      <packing> 
     948                        <property name="top_attach">1</property> 
     949                        <property name="bottom_attach">2</property> 
     950                        <property name="x_options">GTK_FILL</property> 
     951                        <property name="y_options"></property> 
     952                      </packing> 
     953                    </child> 
     954                    <child> 
     955                      <widget class="GtkLabel" id="to_name"> 
     956                        <property name="visible">True</property> 
     957                        <property name="events">GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> 
     958                        <property name="no_show_all">True</property> 
     959                        <property name="label" translatable="yes">to_name</property> 
     960                      </widget> 
     961                      <packing> 
     962                        <property name="left_attach">3</property> 
     963                        <property name="right_attach">5</property> 
     964                        <property name="top_attach">1</property> 
     965                        <property name="bottom_attach">2</property> 
     966                        <property name="x_options">GTK_FILL</property> 
     967                      </packing> 
     968                    </child> 
     969                    <child> 
     970                      <widget class="GtkImage" id="to_status_image"> 
     971                        <property name="visible">True</property> 
     972                        <property name="events"></property> 
     973                        <property name="no_show_all">True</property> 
     974                        <property name="stock">gtk-missing-image</property> 
     975                      </widget> 
     976                      <packing> 
     977                        <property name="left_attach">2</property> 
     978                        <property name="right_attach">3</property> 
     979                        <property name="top_attach">1</property> 
     980                        <property name="bottom_attach">2</property> 
     981                        <property name="x_options">GTK_FILL</property> 
     982                      </packing> 
     983                    </child> 
     984                    <child> 
     985                      <widget class="GtkImage" id="from_status_image"> 
     986                        <property name="visible">True</property> 
     987                        <property name="events"></property> 
     988                        <property name="no_show_all">True</property> 
     989                        <property name="stock">gtk-missing-image</property> 
     990                      </widget> 
     991                      <packing> 
     992                        <property name="left_attach">2</property> 
     993                        <property name="right_attach">3</property> 
     994                        <property name="x_options">GTK_FILL</property> 
     995                      </packing> 
     996                    </child> 
     997                    <child> 
     998                      <widget class="GtkLabel" id="from_name"> 
     999                        <property name="visible">True</property> 
     1000                        <property name="events">GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> 
     1001                        <property name="no_show_all">True</property> 
     1002                        <property name="label" translatable="yes">from_name</property> 
     1003                      </widget> 
     1004                      <packing> 
     1005                        <property name="left_attach">3</property> 
     1006                        <property name="right_attach">5</property> 
     1007                        <property name="x_options">GTK_FILL</property> 
     1008                      </packing> 
     1009                    </child> 
     1010                  </widget> 
     1011                  <packing> 
     1012                    <property name="expand">False</property> 
     1013                    <property name="position">1</property> 
     1014                  </packing> 
     1015                </child> 
     1016                <child> 
     1017                  <widget class="GtkVBox" id="vbox2"> 
     1018                    <property name="visible">True</property> 
     1019                    <child> 
     1020                      <widget class="GtkScrolledWindow" id="conversation_scrolledwindow"> 
     1021                        <property name="height_request">60</property> 
     1022                        <property name="visible">True</property> 
     1023                        <property name="can_focus">True</property> 
     1024                        <property name="border_width">3</property> 
     1025                        <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property> 
     1026                        <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property> 
     1027                        <property name="shadow_type">GTK_SHADOW_IN</property> 
     1028                        <child> 
     1029                          <placeholder/> 
     1030                        </child> 
     1031                      </widget> 
     1032                    </child> 
     1033                    <child> 
     1034                      <widget class="GtkScrolledWindow" id="message_scrolledwindow"> 
     1035                        <property name="visible">True</property> 
     1036                        <property name="can_focus">True</property> 
     1037                        <property name="border_width">3</property> 
     1038                        <property name="hscrollbar_policy">GTK_POLICY_NEVER</property> 
     1039                        <property name="vscrollbar_policy">GTK_POLICY_NEVER</property> 
     1040                        <property name="shadow_type">GTK_SHADOW_IN</property> 
     1041                        <child> 
     1042                          <placeholder/> 
     1043                        </child> 
     1044                      </widget> 
     1045                      <packing> 
     1046                        <property name="expand">False</property> 
     1047                        <property name="position">1</property> 
     1048                      </packing> 
     1049                    </child> 
     1050                  </widget> 
     1051                  <packing> 
     1052                    <property name="position">2</property> 
     1053                  </packing> 
     1054                </child> 
     1055                <child> 
     1056                  <widget class="GtkHBox" id="actions_hbox"> 
     1057                    <property name="visible">True</property> 
     1058                    <child> 
     1059                      <widget class="GtkHBox" id="hbox10"> 
     1060                        <property name="visible">True</property> 
     1061                        <property name="spacing">1</property> 
     1062                        <child> 
     1063                          <widget class="GtkEventBox" id="gpg_eventbox2"> 
     1064                            <property name="visible">True</property> 
     1065                            <property name="tooltip" translatable="yes">OpenPGP Encryption</property> 
     1066                            <child> 
     1067                              <widget class="GtkToggleButton" id="gpg_togglebutton2"> 
     1068                                <property name="visible">True</property> 
     1069                                <property name="relief">GTK_RELIEF_NONE</property> 
     1070                                <property name="focus_on_click">False</property> 
     1071                                <property name="response_id">0</property> 
     1072                                <child> 
     1073                                  <widget class="GtkImage" id="image8"> 
     1074                                    <property name="visible">True</property> 
     1075                                    <property name="stock">gtk-dialog-authentication</property> 
     1076                                  </widget> 
     1077                                </child> 
     1078                              </widget> 
     1079                            </child> 
     1080                          </widget> 
     1081                          <packing> 
     1082                            <property name="expand">False</property> 
     1083                          </packing> 
     1084                        </child> 
     1085                        <child> 
     1086                          <widget class="GtkVSeparator" id="vseparator3"> 
     1087                            <property name="visible">True</property> 
     1088                          </widget> 
     1089                          <packing> 
     1090                            <property name="expand">False</property> 
     1091                            <property name="position">1</property> 
     1092                          </packing> 
     1093                        </child> 
     1094                      </widget> 
     1095                    </child> 
     1096                    <child> 
     1097                      <widget class="GtkHBox" id="hbox11"> 
     1098                        <property name="visible">True</property> 
     1099                        <property name="border_width">3</property> 
     1100                        <property name="spacing">6</property> 
     1101                        <child> 
     1102                          <widget class="GtkButton" id="emoticons_button"> 
     1103                            <property name="visible">True</property> 
     1104                            <property name="can_focus">True</property> 
     1105                            <property name="tooltip" translatable="yes">Click to insert an emoticon (Alt+M)</property> 
     1106                            <property name="response_id">0</property> 
     1107                            <child> 
     1108                              <widget class="GtkHBox" id="hbox12"> 
     1109                                <property name="visible">True</property> 
     1110                                <child> 
     1111                                  <widget class="GtkImage" id="emoticons_button_image2"> 
     1112                                    <property name="visible">True</property> 
     1113                                    <property name="xpad">2</property> 
     1114                                    <property name="stock">gtk-missing-image</property> 
     1115                                  </widget> 
     1116                                </child> 
     1117                                <child> 
     1118                                  <widget class="GtkArrow" id="arrow7"> 
     1119                                    <property name="visible">True</property> 
     1120                                    <property name="arrow_type">GTK_ARROW_DOWN</property> 
     1121                                  </widget> 
     1122                                  <packing> 
     1123                                    <property name="position">1</property> 
     1124                                  </packing> 
     1125                                </child> 
     1126                              </widget> 
     1127                            </child> 
     1128                          </widget> 
     1129                          <packing> 
     1130                            <property name="expand">False</property> 
     1131                            <property name="fill">False</property> 
     1132                          </packing> 
     1133                        </child> 
     1134                        <child> 
     1135                          <widget class="GtkButton" id="normal_window_actions_button"> 
     1136                            <property name="visible">True</property> 
     1137                            <property name="can_focus">True</property> 
     1138                            <property name="response_id">0</property> 
     1139                            <child> 
     1140                              <widget class="GtkAlignment" id="alignment5"> 
     1141                                <property name="visible">True</property> 
     1142                                <property name="xscale">0</property> 
     1143                                <property name="yscale">0</property> 
     1144                                <child> 
     1145                                  <widget class="GtkHBox" id="hbox13"> 
     1146                                    <property name="visible">True</property> 
     1147                                    <property name="spacing">2</property> 
     1148                                    <child> 
     1149                                      <widget class="GtkImage" id="image9"> 
     1150                                        <property name="visible">True</property> 
     1151                                        <property name="stock">gtk-execute</property> 
     1152                                      </widget> 
     1153                                      <packing> 
     1154                                        <property name="expand">False</property> 
     1155                                        <property name="fill">False</property> 
     1156                                      </packing> 
     1157                                    </child> 
     1158                                    <child> 
     1159                                      <widget class="GtkLabel" id="label5"> 
     1160                                        <property name="visible">True</property> 
     1161                                        <property name="label" translatable="yes" comments="Make sure the character after &quot;_&quot; is not M/m (conflicts with Alt+M that is supposed to show the Emoticon Selector)">_Actions</property> 
     1162                                        <property name="use_underline">True</property> 
     1163                                      </widget> 
     1164                                      <packing> 
     1165                                        <property name="expand">False</property> 
     1166                                        <property name="fill">False</property> 
     1167                                        <property name="position">1</property> 
     1168                                      </packing> 
     1169                                    </child> 
     1170                                    <child> 
     1171                                      <widget class="GtkArrow" id="arrow8"> 
     1172                                        <property name="visible">True</property> 
     1173                                        <property name="arrow_type">GTK_ARROW_DOWN</property> 
     1174                                      </widget> 
     1175                                      <packing> 
     1176                                        <property name="expand">False</property> 
     1177                                        <property name="fill">False</property> 
     1178                                        <property name="position">2</property> 
     1179                                      </packing> 
     1180                                    </child> 
     1181                                  </widget> 
     1182                                </child> 
     1183                              </widget> 
     1184                            </child> 
     1185                          </widget> 
     1186                          <packing> 
     1187                            <property name="expand">False</property> 
     1188                            <property name="fill">False</property> 
     1189                            <property name="position">1</property> 
     1190                          </packing> 
     1191                        </child> 
     1192                        <child> 
     1193                          <widget class="GtkVSeparator" id="vseparator7"> 
     1194                            <property name="visible">True</property> 
     1195                          </widget> 
     1196                          <packing> 
     1197                            <property name="expand">False</property> 
     1198                            <property name="fill">False</property> 
     1199                            <property name="position">2</property> 
     1200                          </packing> 
     1201                        </child> 
     1202                        <child> 
     1203                          <widget class="GtkButton" id="send_button"> 
     1204                            <property name="visible">True</property> 
     1205                            <property name="can_focus">True</property> 
     1206                            <property name="response_id">0</property> 
     1207                            <child> 
     1208                              <widget class="GtkAlignment" id="alignment6"> 
     1209                                <property name="visible">True</property> 
     1210                                <property name="xscale">0</property> 
     1211                                <property name="yscale">0</property> 
     1212                                <child> 
     1213                                  <widget class="GtkHBox" id="hbox14"> 
     1214                                    <property name="visible">True</property> 
     1215                                    <property name="spacing">2</property> 
     1216                                    <child> 
     1217                                      <widget class="GtkImage" id="image10"> 
     1218                                        <property name="visible">True</property> 
     1219                                        <property name="stock">gtk-jump-to</property> 
     1220                                      </widget> 
     1221                                      <packing> 
     1222                                        <property name="expand">False</property> 
     1223