summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1f2f04e)
raw | patch | inline | side by side (parent: 1f2f04e)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 21 Aug 2007 00:01:21 +0000 (00:01 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 21 Aug 2007 00:01:21 +0000 (00:01 +0000) |
src/widgets/desktop-widget.cpp | patch | blob | history |
index 19cc7bd05cccee4f0345ab79c7e68bd205e05ed3..4b744e3dffc1db2349036de76302c24333c951e3 100644 (file)
{
g_signal_handlers_block_by_func (G_OBJECT (dtw->zoom_status), (gpointer)G_CALLBACK (sp_dtw_zoom_value_changed), dtw);
gtk_spin_button_set_value (GTK_SPIN_BUTTON (dtw->zoom_status), log(dtw->desktop->current_zoom()) / log(2));
+ gtk_widget_queue_draw(GTK_WIDGET(dtw->zoom_status));
+ if (GTK_WIDGET(dtw->zoom_status)->window)
+ gdk_window_process_updates(GTK_WIDGET(dtw->zoom_status)->window, TRUE);
g_signal_handlers_unblock_by_func (G_OBJECT (dtw->zoom_status), (gpointer)G_CALLBACK (sp_dtw_zoom_value_changed), dtw);
}