Mercurial > pidgin
comparison pidgin/gtkstatusbox.c @ 25924:584063555949
Remove trailing whitespace
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 26 Jan 2009 06:44:00 +0000 |
parents | 1163d93da109 |
children | 17168b8379f2 |
comparison
equal
deleted
inserted
replaced
25923:7fc110f70662 | 25924:584063555949 |
---|---|
1644 status_box->popup_in_progress && | 1644 status_box->popup_in_progress && |
1645 gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (status_box->toggle_button))) { | 1645 gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (status_box->toggle_button))) { |
1646 pidgin_status_box_popdown (status_box); | 1646 pidgin_status_box_popdown (status_box); |
1647 return TRUE; | 1647 return TRUE; |
1648 } else if (ewidget == status_box->toggle_button) { | 1648 } else if (ewidget == status_box->toggle_button) { |
1649 status_box->popup_in_progress = TRUE; | 1649 status_box->popup_in_progress = TRUE; |
1650 } | 1650 } |
1651 | 1651 |
1652 /* released outside treeview */ | 1652 /* released outside treeview */ |
1653 if (ewidget != status_box->toggle_button) { | 1653 if (ewidget != status_box->toggle_button) { |
1654 pidgin_status_box_popdown (status_box); | 1654 pidgin_status_box_popdown (status_box); |
1696 ret = FALSE; | 1696 ret = FALSE; |
1697 | 1697 |
1698 gtk_tree_path_free (path); | 1698 gtk_tree_path_free (path); |
1699 return ret; | 1699 return ret; |
1700 } | 1700 } |
1701 } | 1701 } |
1702 } | 1702 } |
1703 return FALSE; | 1703 return FALSE; |
1704 } | 1704 } |
1705 | 1705 |
1706 static void | 1706 static void |
1775 status_box->hbox = gtk_hbox_new(FALSE, 6); | 1775 status_box->hbox = gtk_hbox_new(FALSE, 6); |
1776 status_box->cell_view = gtk_cell_view_new(); | 1776 status_box->cell_view = gtk_cell_view_new(); |
1777 status_box->vsep = gtk_vseparator_new(); | 1777 status_box->vsep = gtk_vseparator_new(); |
1778 status_box->arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE); | 1778 status_box->arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE); |
1779 | 1779 |
1780 status_box->store = gtk_list_store_new(NUM_COLUMNS, G_TYPE_INT, GDK_TYPE_PIXBUF, G_TYPE_STRING, G_TYPE_STRING, | 1780 status_box->store = gtk_list_store_new(NUM_COLUMNS, G_TYPE_INT, GDK_TYPE_PIXBUF, G_TYPE_STRING, G_TYPE_STRING, |
1781 G_TYPE_STRING, G_TYPE_POINTER, GDK_TYPE_PIXBUF, G_TYPE_BOOLEAN); | 1781 G_TYPE_STRING, G_TYPE_POINTER, GDK_TYPE_PIXBUF, G_TYPE_BOOLEAN); |
1782 status_box->dropdown_store = gtk_list_store_new(NUM_COLUMNS, G_TYPE_INT, GDK_TYPE_PIXBUF, G_TYPE_STRING, | 1782 status_box->dropdown_store = gtk_list_store_new(NUM_COLUMNS, G_TYPE_INT, GDK_TYPE_PIXBUF, G_TYPE_STRING, |
1783 G_TYPE_STRING, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_STRING, G_TYPE_BOOLEAN); | 1783 G_TYPE_STRING, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_STRING, G_TYPE_BOOLEAN); |
1784 | 1784 |
1785 gtk_cell_view_set_model(GTK_CELL_VIEW(status_box->cell_view), GTK_TREE_MODEL(status_box->store)); | 1785 gtk_cell_view_set_model(GTK_CELL_VIEW(status_box->cell_view), GTK_TREE_MODEL(status_box->store)); |
1786 gtk_list_store_append(status_box->store, &(status_box->iter)); | 1786 gtk_list_store_append(status_box->store, &(status_box->iter)); |
1787 | 1787 |