Mercurial > pidgin
changeset 5286:f82c251c8300
[gaim-migrate @ 5658]
David Brigada (jsi) writes:
" I juggled a little code around. This means that you
can now set the buddy ticker to be as small as 1px
wide. The default is still 500px. Also included is
the related patch to the .todo file."
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 02 May 2003 21:25:49 +0000 |
parents | d921cd867bfa |
children | abd6d3abbe37 |
files | .todo plugins/ticker/ticker.c |
diffstat | 2 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/.todo Fri May 02 21:20:19 2003 +0000 +++ b/.todo Fri May 02 21:25:49 2003 +0000 @@ -50,9 +50,6 @@ add chooser to sound </note> </note> - <note priority="medium" time="1036040080"> - fix buddy ticker resize bug. can't shrink it below default - </note> <note priority="medium" time="1036210515"> blist does not resize correctly on some platforms. this does not seem to be an issue on linux. </note>
--- a/plugins/ticker/ticker.c Fri May 02 21:20:19 2003 +0000 +++ b/plugins/ticker/ticker.c Fri May 02 21:25:49 2003 +0000 @@ -68,6 +68,7 @@ } tickerwindow = gtk_window_new(GTK_WINDOW_TOPLEVEL); + gtk_window_set_default_size(GTK_WINDOW(tickerwindow), 500, -1); g_signal_connect(G_OBJECT(tickerwindow), "delete_event", G_CALLBACK (buddy_ticker_destroy_window), NULL); gtk_window_set_title (GTK_WINDOW(tickerwindow), _("Buddy Ticker")); @@ -79,7 +80,7 @@ gtk_ticker_set_interval(GTK_TICKER(ticker), 500); gtk_ticker_set_scootch(GTK_TICKER(ticker), 10); gtk_ticker_start_scroll(GTK_TICKER(ticker)); - gtk_widget_set_size_request(ticker, 500, -1); + gtk_widget_set_size_request(ticker, 1, -1); gtk_widget_show_all(tickerwindow); }