Changeset 10392
- Timestamp:
- 09/08/08 13:27:37 (2 months ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 modified
-
data/glade/message_window.glade (modified) (1 diff)
-
data/pixmaps/upload.png (added)
-
src/chat_control.py (modified) (2 diffs)
-
src/groupchat_control.py (modified) (1 diff)
-
src/roster_window.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/glade/message_window.glade
r10017 r10392 277 277 <property name="visible">True</property> 278 278 <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> 279 <property name="stock">gtk-save</property>280 279 <property name="icon_size">1</property> 281 280 </widget> -
trunk/src/chat_control.py
r10362 r10392 1026 1026 1027 1027 self._send_file_button = self.xml.get_widget('send_file_button') 1028 # add a special img for send file button 1029 path_to_upload_img = os.path.join(gajim.DATA_DIR, 'pixmaps', 'upload.png') 1030 img = gtk.Image() 1031 img.set_from_file(path_to_upload_img) 1032 self._send_file_button.set_image(img) 1028 1033 id = self._send_file_button.connect('clicked', 1029 1034 self._on_send_file_menuitem_activate) … … 1971 1976 separatormenuitem2 = xml.get_widget('separatormenuitem2') 1972 1977 1978 # add a special img for send file menuitem 1979 path_to_upload_img = os.path.join(gajim.DATA_DIR, 'pixmaps', 'upload.png') 1980 img = gtk.Image() 1981 img.set_from_file(path_to_upload_img) 1982 send_file_menuitem.set_image(img) 1983 1973 1984 muc_icon = gtkgui_helpers.load_icon('muc_active') 1974 1985 if muc_icon: -
trunk/src/groupchat_control.py
r10377 r10392 2110 2110 2111 2111 item = xml.get_widget('send_file_menuitem') 2112 # add a special img for send file menuitem 2113 path_to_upload_img = os.path.join(gajim.DATA_DIR, 'pixmaps', 'upload.png') 2114 img = gtk.Image() 2115 img.set_from_file(path_to_upload_img) 2116 item.set_image(img) 2117 2112 2118 if not c.resource: 2113 2119 item.set_sensitive(False) -
trunk/src/roster_window.py
r10384 r10392 5164 5164 'add_special_notification_menuitem') 5165 5165 5166 # add a special img for send file menuitem 5167 path_to_upload_img = os.path.join(gajim.DATA_DIR, 'pixmaps', 5168 'upload.png') 5169 img = gtk.Image() 5170 img.set_from_file(path_to_upload_img) 5171 send_file_menuitem.set_image(img) 5172 5166 5173 if not our_jid: 5167 5174 # add a special img for rename menuitem … … 5285 5292 execute_command_menuitem = xml.get_widget( 5286 5293 'execute_command_menuitem') 5294 5295 # add a special img for send file menuitem 5296 path_to_upload_img = os.path.join(gajim.DATA_DIR, 'pixmaps', 'upload.png') 5297 img = gtk.Image() 5298 img.set_from_file(path_to_upload_img) 5299 send_file_menuitem.set_image(img) 5287 5300 5288 5301 # send custom status icon
