1
2009-03-15 Vincent Untz <vuntz@gnome.org>
3
Mark desktop files as trusted when it makes sense.
5
* libpanel-util/panel-keyfile.[ch]: (_panel_key_file_make_executable):
6
new, mark a file as executable
7
(panel_key_file_to_file): prepend a #! header to the desktop file if
8
there's none, and mark the file as executable
9
(panel_key_file_copy_and_mark_trusted): new, does what it says :-)
10
* menu.c: (add_app_to_desktop): update to use
11
panel_key_file_copy_and_mark_trusted() instead of g_file_copy() so that
12
the copied file is marked as trusted
14
2009-03-11 Vincent Untz <vuntz@gnome.org>
16
* panel-menu-items.c: (panel_place_menu_item_append_local_gio),
17
(panel_place_menu_item_append_remote_gio): ignore shadow mounts.
19
==================== 2.25.92 ====================
21
2009-02-26 Vincent Untz <vuntz@gnome.org>
23
* libpanel-util/panel-error.c: (panel_error_dialog): Use close button
24
instead of ok button in error dialogs.
26
2009-02-24 Vincent Untz <vuntz@gnome.org>
28
Fix some randr-interaction by connecting to the monitors-changed
31
Patch by Matthias Clasen <mclasen@redhat.com>
33
* panel-multiscreen.c: (panel_multiscreen_reinit_idle),
34
(panel_multiscreen_queue_reinit): use an idle loop as callback since we
35
can get two signals emitted at the same time.
36
(panel_multiscreen_init): connect to monitors-changed too
37
(panel_multiscreen_reinit): trivial update
39
==================== 2.25.91 ====================
41
2009-02-16 Vincent Untz <vuntz@gnome.org>
43
* panel-default-setup.entries: remove mixer from the panel layout since
44
we don't use an applet by default anymore (it's in the notification
45
area now). Distributions still shipping the applet will probably patch
48
==================== 2.25.90 ====================
50
2009-01-21 Frederic Crozat <fcrozat@mandriva.com>
52
* panel-applet-frame.c:
54
Fix format security warnings.
56
2009-01-21 Vincent Untz <vuntz@gnome.org>
58
If an applet is not loading, it blocks the panel initial animation. So
59
add a timeout of 5 seconds to always show the panels after this
62
* applet.c: (panel_applet_queue_initial_unhide_toplevels): GSourceFunc
63
again, and remove the timeout
64
(panel_applet_stop_loading), (panel_applet_load_idle_handler): trivial
66
(panel_applet_load_queued_applets): add the timeout
68
==================== 2.25.5.1 ====================
70
2009-01-21 Vincent Untz <vuntz@gnome.org>
72
* applet.c: (panel_applet_load_idle_handler): add missing break that
73
makes the panel reach an assertion when a separator exists in the user
76
==================== 2.25.5 ====================
78
2009-01-20 Vincent Untz <vuntz@gnome.org>
80
* panel-menu-items.c: (panel_menu_items_append_from_desktop): respect
81
TryExec in the desktop file.
82
Based on patch by Matthias Clasen <mclasen@redhat.com>
85
2009-01-20 Vincent Untz <vuntz@gnome.org>
87
* applet.c: (panel_applet_stop_loading): the assertion there was wrong,
88
and caused a crash when reloading an applet that crashed.
90
2009-01-20 Vincent Untz <vuntz@gnome.org>
92
* panel-toplevel.c: (panel_toplevel_update_struts): do not recompute
93
the end position of the initial animation, since it's not needed, and
94
it overrides the struts conflict resolution.
96
2009-01-20 Vincent Untz <vuntz@gnome.org>
98
* panel-session.c: (panel_session_init): add a reminder about things to
99
check when migrating to eggsmclient.
101
2009-01-20 Vincent Untz <vuntz@gnome.org>
103
Connect to the session manager only when we're really ready, so that
104
the struts are really set. Therefore, nautilus doesn't have jumping
107
Based on patch by Behdad Esfahbod <behdad@gnome.org>
109
* main.c: (main): don't connect to the session manager automatically,
110
and move the session initialization code just before we enter the
112
* panel-session.c: (panel_session_init): connect to the session manager
114
2009-01-20 Vincent Untz <vuntz@gnome.org>
116
* panel-toplevel.c: (panel_toplevel_button_press_event): don't require
117
the mouse button modifier to move a non-expanded panel. Only the
118
handles can be grabbed, and they're there for that.
120
2009-01-20 Vincent Untz <vuntz@gnome.org>
122
Correctly set the struts before and during the initial toplevel
123
animation, so that desktop icons don't jump.
125
Loosely based on some code by Ray Strode <rstrode@redhat.com>
127
* panel-toplevel.c: (panel_toplevel_update_struts): if we're still
128
doing the initial animation, then we're really only interested in the
129
end of animation coordinates for the struts. Also fix a typo in code
130
that might have weird side-effects on multiscreen.
131
(panel_toplevel_update_auto_hide_position): if we're looking for the
132
end position of animation, then get the real auto-hide size. It's
133
useful for the initial animation where the position is hidden (and
134
therefore, we don't get the real auto-hide size).
135
(panel_toplevel_update_animating_position): mark the initial animation
137
(panel_toplevel_update_position): trivial update
138
(panel_toplevel_update_geometry): cleanup
139
(panel_toplevel_initially_hide): don't set the struts here, it's
141
(panel_toplevel_calculate_animation_end_geometry): new, split from
142
panel_toplevel_start_animation() so that it can be used elsewhere.
143
Also, a toplevel that is in its initial animation (but not a
144
auto-hiding toplevel) should have its end position computed as its
146
(panel_toplevel_start_animation): some trivial update
147
(panel_toplevel_auto_unhide_timeout_handler): remove
148
initial_animation_done = TRUE here, since it's not what we want and
151
2009-01-20 Vincent Untz <vuntz@gnome.org>
153
Fix initial un-hiding of newly created panels. And also make sure that
154
a panel that was unused but put back in the configuration gets its
155
applets/objects loaded.
157
* applet.c: (panel_applet_queue_initial_unhide_toplevels): simplify
158
(panel_applet_stop_loading): trivial update
159
(panel_applet_load_idle_handler): if there's no applet to load anymore,
160
then do the initial unhiding. This is necessary in case there's still
161
an applet in the configuration that matches no panel -- else, we're
162
blocked with no visible panel at all.
163
(panel_applet_load_queued_applets): don't put
164
panel_applet_queue_initial_unhide_toplevels() in the idle loop and call
165
it correctly. It already queues stuff in the idle loop...
166
* panel-profile.c: (panel_profile_load_and_show_toplevel): for panels
167
added during runtime, we also check if there are some applets/objects
168
that might belong to it.
169
(panel_profile_load_and_show_toplevel_startup): old version of
170
panel_profile_load_and_show_toplevel(), only used on panel startup
171
(panel_profile_object_id_list_update): new, based on
172
panel_profile_object_id_list_notify() so that it can be used elsewhere
173
(panel_profile_object_id_list_notify): just call
174
panel_profile_object_id_list_notify()
175
(panel_profile_load): use panel_profile_load_and_show_toplevel_startup()
177
2009-01-20 Vincent Untz <vuntz@gnome.org>
179
First part of smoothing the panel slide-in on login.
181
Patch by Ray Strode <rstrode@redhat.com>, with a few minor bug
182
fixes/changes from me.
184
We delay the slide-in until all panel objects are loaded.
186
* applet.[ch]: (panel_applet_queue_initial_unhide_toplevels): new
187
(panel_applet_stop_loading): new, when an object has stopped loading,
188
we look if we should queue an unhide
189
(panel_applet_load_idle_handler): put the applet that is being loaded
190
in the list of applets loading, and call panel_applet_stop_loading()
192
(panel_applet_load_queued_applets): unhide the panels if there's no
194
* panel-applet-frame.c: (panel_applet_frame_activated): consolidate
195
freeing stuff in case of error, and call panel_applet_stop_loading()
196
* panel-toplevel.[ch]: (panel_toplevel_attach_to_widget): an attached
197
toplevel (ie, drawer) should not have an initial animation
198
(panel_toplevel_initially_hide): don't queue an unhide here, but still
200
(panel_toplevel_queue_initial_unhide): new
202
2009-01-20 Vincent Untz <vuntz@gnome.org>
204
Only move panel with the mouse when a mouse button modifier is used
205
(the same one as in metacity). Ie: you can drag the panel to move it
208
Based on patch by William Lachance <wrlach@gmail.com>
210
* panel-bindings.[ch]: monitor the gconf key for the mouse button
211
modifier and provide an API to access it
212
(panel_binding_set_from_string): fix typo in warning
213
(panel_binding_watch): don't translate warning
214
(panel_bindings_mouse_modifier_set_from_string): new
215
(panel_bindings_mouse_modifier_changed): new
216
(panel_bindings_initialise): don't translate warning, handle the mouse
217
button modifier stuff too
218
(panel_bindings_set_entries): trivial update
219
(panel_bindings_get_mouse_button_modifier_keymask): new
220
* panel-toplevel.c: (panel_toplevel_button_press_event): look at the
221
modifier mask before starting the move
223
2009-01-15 Vincent Untz <vuntz@gnome.org>
225
Fix gnome-panel part of bug #536915.
226
Based on patch by Ray Strode <rstrode@redhat.com>
228
* libpanel-util/panel-session-manager.[ch]:
229
(panel_session_manager_is_shutdown_available): new, to tell if shutdown
230
is available from the session manager
231
* panel-action-button.c:
232
(panel_action_shutdown_reboot_is_disabled): use the new method for the
235
==================== 2.25.3 ====================
237
2008-12-16 Bastien Nocera <hadess@hadess.net>
239
* panel-menu-items.c (panel_place_menu_item_create_menu): Remove
240
nautilus-cd-burner from the Places menu, it's now in the System Tools
241
instead (Closes: #508385)
243
2008-12-11 Vincent Untz <vuntz@gnome.org>
245
* libpanel-util/panel-show.c: (panel_show_help): plug leak
247
2008-12-11 Vincent Untz <vuntz@gnome.org>
249
Stop using gnome_util_user_shell(). This not needed, unless we want to
250
have the aliases defined in a shell work in the run dialog. I'm nearly
251
sure no other "run dialog"-type programs do this anyway, and it's
252
really not a command line from the shell (redirecting output doesn't
254
And some much needed cleanups.
256
* panel-run-dialog.c: (command_is_executable): don't accept URI, and
257
return the stuff that g_shell_parse_argv() gives us so we don't have
259
(panel_run_dialog_launch_command): no gnome_util_user_shell() anymore,
261
(panel_run_dialog_execute): remove some useless stuff, don't assume we
262
can run a program over http, do not accept applications if they're
263
started by URI (file:///) -- it doesn't really make sense anyway; stop
264
mixing the strings with the disk encoding and utf-8
265
(panel_run_dialog_create_desktop_file): ditto (more or less), and make
268
2008-12-10 Vincent Untz <vuntz@gnome.org>
270
* panel-action-button.c: remove FIXME
272
2008-12-10 Vincent Untz <vuntz@gnome.org>
274
Stop using GnomeHelp, and use gtk_show_uri() for displaying help.
276
* panel-util.[ch]: (panel_show_help): kill
277
* libpanel-util/panel-show.[ch]: (_panel_show_error_dialog): use
278
g_markup_printf_escaped()
280
(panel_show_uri_force_mime_type): fix a check
281
(_panel_show_help_error_dialog), (_panel_show_help_handle_error),
282
(panel_show_help): new, they all do what their name imply
284
* applet.c: (applet_callback_callback):
285
* panel-action-button.c: (panel_action_button_invoke_menu):
286
* panel-addto.c: (panel_addto_dialog_response):
287
* panel-context-menu.c: (panel_context_menu_show_help):
288
* panel-ditem-editor.c: (response_cb):
289
* panel-menu-bar.c: (panel_menu_bar_invoke_menu):
290
* panel-menu-button.c: (panel_menu_button_invoke_menu):
291
* panel-properties-dialog.c: (panel_properties_dialog_response):
292
* panel-run-dialog.c: (panel_run_dialog_response):
293
updates for panel_show_help()
295
* panel-action-button.c: fix help for "connect to server"
297
* libpanel-util/panel-launch.c: (_panel_launch_error_dialog): escape
298
the name of the application since it will be used inside markup
299
(_panel_launch_handle_error): new, to factorize code
300
(panel_app_info_launch_uris):
301
(panel_launch_desktop_file_with_fallback): use
302
_panel_launch_handle_error()
304
2008-12-10 Vincent Untz <vuntz@gnome.org>
306
Use gio to launch desktop files, instead of gnome-desktop.
308
* panel-util.[ch]: (panel_ditem_launch),
309
(panel_util_launch_from_key_file), (panel_launch_desktop_file): kill
310
* libpanel-util/panel-launch.[ch]: new, with some nice API
311
* libpanel-util/Makefile.am: add new file
312
* libpanel-util/panel-show.c: (_panel_app_info_launch_uri): killed
313
(panel_show_nautilus_search_uri): use panel_app_info_launch_uri()
314
(panel_show_uri_force_mime_type): use panel_app_info_launch_uri()
315
* launcher.c: (launcher_launch), (drag_data_received_cb): use
316
panel_launch_key_file()
317
* panel-action-button.c: (panel_action_search): use
318
panel_launch_desktop_file_with_fallback()
319
* panel-menu-bar.c: (panel_menu_bar_invoke_menu): use
320
panel_launch_desktop_file_with_fallback()
321
* panel-menu-button.c: (panel_menu_button_invoke_menu): ditto
322
* panel-menu-items.c: (panel_menu_item_activate_desktop_file): use
323
panel_launch_desktop_file()
325
2008-12-10 Vincent Untz <vuntz@gnome.org>
327
* libpanel-util/panel-list.c: (panel_g_list_swap_next),
328
(panel_g_list_swap_prev), (panel_g_list_resort_item),
329
(panel_g_slist_make_unique): various minor cleanups to avoid possible
332
2008-12-10 Vincent Untz <vuntz@gnome.org>
334
* panel-util.[ch]: move all panel_g_(s)list functions to...
335
* libpanel-util/panel-list.[ch]: ... here (new files)
336
* libpanel-util/Makefile.am: add new file
338
* panel-widget.c: include panel-list.h
340
2008-12-09 Vincent Untz <vuntz@gnome.org>
342
Remove dependency on gnome_util_home_file()
344
* launcher.h: move PANEL_LAUNCHERS_PATH to panel-util.c
345
* launcher.c: (panel_launcher_delete): update to use
346
panel_launcher_is_in_personal_path()
347
Move some functions to panel-util.c. That's suboptimal, but I can't
348
figure out yet how I want the code to be organized, so...
349
* panel-util.c: (panel_launcher_get_personal_path): new, real
350
gnome_util_home_file() killer
351
(panel_launcher_is_in_personal_path): new, does what the name implies
352
(panel_launcher_get_gfile),
353
(panel_launcher_get_uri), (panel_launcher_get_filename): moved from
355
(panel_make_full_path): trivial update
356
* panel-util.h: also remove UpdateFunction which was unused
358
2008-12-09 Vincent Untz <vuntz@gnome.org>
360
* panel-properties-dialog.c:
361
(panel_properties_dialog_setup_image_chooser): remove the filter
362
chooser in the file chooser: since there's only one filter, the chooser
363
is not really useful.
365
2008-12-09 Vincent Untz <vuntz@gnome.org>
367
* panel-run-dialog.c: (panel_run_dialog_launch_command): Use
368
gnome_desktop_prepend_terminal_to_vector() instead of
369
gnome_prepend_terminal_to_vector(), to slowly get rid of libgnome
371
2008-12-09 Vincent Untz <vuntz@gnome.org>
373
* panel-background.c:
374
(panel_background_set_image_background_on_widget): don't use a cairo
375
matrix, we can do the same thing by just shifting the pixmap in
376
gdk_cairo_set_source_pixmap()
378
2008-12-09 Vincent Untz <vuntz@gnome.org>
380
Lots of "remove deprecated API usage" and single include fun.
382
* panel-compatibility.c: (copy_gconf_dir):
383
s/gconf_entry_free/gconf_entry_unref
384
* panel-applet-frame.c: add missing include for glib/gi18n.h
385
(panel_applet_frame_activated): fix buglet where gtk_object_sink() was
386
used but we really wanted g_object_unref
387
* applet.c: (panel_applet_recreate_menu):
388
s/gtk_widget_unref/g_object_unref
389
(panel_applet_create_menu): use g_object_ref_sink
390
* panel-bindings.c: (panel_binding_clear_entry):
391
s/gtk_binding_entry_clear/gtk_binding_entry_remove/
392
* menu.c: (panel_load_menu_image_deferred): use g_object_ref_sink
393
* panel-background.c:
394
(panel_background_set_no_background_on_widget):
395
s/gtk_rc_style_unref/g_object_unref
396
* panel-widget.c: (remove_tab_bindings), (remove_move_bindings),
397
(remove_all_move_bindings):
398
s/gtk_binding_entry_clear/gtk_binding_entry_remove/
399
(panel_widget_cremove): s/gtk_widget_(un)ref/g_object_(un)ref/
400
* panel-gconf.c: (panel_gconf_copy_dir),
401
(panel_gconf_associate_schemas_in_dir):
402
s/gconf_entry_free/gconf_entry_unref
403
* panel-config-global.c: (panel_global_config_load):
404
s/gconf_entry_free/gconf_entry_unref
405
* panel-addto.c: add missing glib/gi18n.h
407
* panel-action-button.h:
408
* panel-action-protocol.h:
409
* panel-applet-frame.h:
411
* panel-compatibility.h:
414
* panel-menu-items.h:
416
* panel-stock-icons.[ch]:
420
* xstuff.h: single include!
422
2008-12-09 Vincent Untz <vuntz@gnome.org>
424
* panel-context-menu.c: (panel_context_menu_show_about_dialog): use
425
parenthesis instead of angle brackets for a mail address. Fix bug
428
2008-12-09 Vincent Untz <vuntz@gnome.org>
430
* panel-background.c:
431
(panel_background_set_image_background_on_widget): use
432
gdk_cairo_set_source_pixmap() now that it's available, instead of
435
2008-12-09 Vincent Untz <vuntz@gnome.org>
437
* main.c: (main): set an application name. It's used by the gio
438
authentication dialog.
440
2008-12-09 Vincent Untz <vuntz@gnome.org>
442
* main.c: (main): don't call gnome_authentication_manager_init()
443
anymore. Since we use gio, we don't need to do this which was needed
446
2008-12-08 Vincent Untz <vuntz@gnome.org>
448
Use dbus-based uniquification instead of bonobo-based, and makes it
449
possible to replace a currently running panel.
450
Based on patch by Colin Walters <walters@verbum.org>
453
* GNOME_Panel.server.in: kill
454
* Makefile.am: updated for file removal
455
* main.c: (main): add a --replace option to replace the current panel
456
* panel-session.c: (panel_session_handle_die_request): just call
458
* panel-shell.[ch]: this is pretty much rewritten
460
2008-12-08 Vincent Untz <vuntz@gnome.org>
462
* libpanel-util/panel-cleanup.c: (panel_cleanup_register),
463
(panel_cleanup_unregister): accept NULL data
465
2008-12-08 Vincent Untz <vuntz@gnome.org>
467
* panel-action-button.c: use C_() instead of Q_().
468
* panel-menu-items.c: (panel_place_menu_item_create_menu),
469
(panel_menu_items_append_lock_logout): ditto
470
* panel-properties-dialog.c:
471
(panel_properties_dialog_setup_orientation_combo): use NC_() and
472
then g_dpgettext2() instead of Q_()
473
Based on patch by Philip Withnall <bugzilla@tecnocode.co.uk>
474
Fix bug #558418, part of a GNOME Goal.
476
==================== 2.24.2 ====================
478
==================== 2.24.1 ====================
480
==================== 2.24.0 ====================
482
2008-09-22 Vincent Untz <vuntz@gnome.org>
484
* panel-properties-dialog.glade: fix for GTK+ adjustment enforcement
485
http://mail.gnome.org/archives/desktop-devel-list/2008-September/msg00148.html
487
2008-09-11 Benjamin Berg <benjamin@sipsolutions.net>
489
* menu.c: (panel_create_menu):
490
* panel-context-menu.c: (panel_context_menu_create):
491
Name the panel menus "gnome-panel-main-menu" for the menubar and
492
main menu applet. The panels context menu is now called
493
"gnome-panel-context-menu".
495
==================== 2.23.92 ====================
497
2008-09-09 Vincent Untz <vuntz@gnome.org>
499
Revert the auto-hide behavior change that got introduced in 2.23.6.
500
It was annoying for users.
502
* panel-toplevel.c: (panel_toplevel_get_effective_auto_hide_size): new
503
function, to know the effective auto hide size
504
(panel_toplevel_update_struts): use
505
panel_toplevel_get_effective_auto_hide_size() for the strut
506
(panel_toplevel_update_auto_hide_position): use
507
panel_toplevel_get_effective_auto_hide_size() now
509
==================== 2.23.91 ====================
511
2008-08-31 SeĆ”n de BĆŗrca <sdeburca@svn.gnome.org>
513
* panel-context-menu.c: (panel_context_menu_show_about_dialog):
514
Set title of about dialog to allow for correct translation. Fixes bug
517
==================== 2.23.90.1 ====================
519
2008-08-21 Vincent Untz <vuntz@gnome.org>
521
* libpanel-util/panel-session-manager.c:
522
(panel_session_manager_request_logout): update for signature change for
525
==================== 2.23.90 ====================
527
2008-08-18 Baptiste Mille-Mathias <baptiste.millemathias@gmail.com>
529
* panel-icon-names.h: change the bookmark icon name according to latest
530
gnome-icon-theme, so version 2.23.90 is needed now,
531
Patch from Michael Monreal <michael.monreal@gmx.net>.
534
==================== 2.23.6 ====================
536
2008-08-04 Vincent Untz <vuntz@gnome.org>
538
* panel-toplevel.c: (panel_toplevel_update_struts): remove the special
539
case for auto-hidden panels. We just update the struts as if they were
540
normal panels, with their current position.
541
This changes a bit the behavior (ie, full-screen windows resize when
542
the panel gets unhidden and then hidden again), but after playing with
543
it, I think the new behavior is actually quite nice. If we revert the
544
change, then we'll have to fix bug #529031 by clamping auto_hide_size,
545
like we do in panel_toplevel_update_auto_hide_position().
548
2008-08-04 Vincent Untz <vuntz@gnome.org>
550
* panel-util.c: (panel_make_unique_desktop_path_from_name): go back to
551
NAME_MAX instead of MAXNAMLEN since the former is POSIX and not all OS
552
have MAXNAMLEN either. Since we have to be compatible with all OS out
553
there, use MAXNAMLEN if NAME_MAX is not defined on the OS.
556
2008-08-04 Vincent Untz <vuntz@gnome.org>
558
* panel-menu-bar.c: (panel_menu_bar_hide_tooltip_and_focus): renamed
559
from panel_menu_bar_hide_tooltip(), and also unfocus the focused
560
child of the toplevel when opening the menu. This fixes a cosmetic
562
(panel_menu_bar_setup_tooltip): updated
565
2008-08-04 Vincent Untz <vuntz@gnome.org>
567
* panel-menu-items.c: (panel_menu_items_append_lock_logout): don't show
568
logout/shutdown if it's locked down. Remove extra separator that got
569
added when screensaver is locked down.
572
2008-08-04 Vincent Untz <vuntz@gnome.org>
574
* panel-util.c: (panel_lock_screen_action_available),
575
(panel_lock_screen_action): check the lock screen lockdown setting
576
before doing anything. The UI is already blocking the user for locking
577
the screen (by making the widget non-sensitive, eg), but this is extra
579
* gnome-desktop-item-edit.c: update to make it compile because of this
581
Based on a patch from Matt Keenan <matt.keenan@sun.com>
584
2008-08-04 Vincent Untz <vuntz@gnome.org>
586
* panel-run-dialog.c: (panel_run_dialog_execute): s/url/uri/
588
2008-08-04 Vincent Untz <vuntz@gnome.org>
590
Mount volumes if needed in panel_show_*
591
Based on patch by Matthias Clasen <mclasen@redhat.com>
594
* libpanel-util/panel-show.c: (_panel_show_mount_async_callback): new,
595
callback when the mount operation is finished
596
(_panel_show_handle_error): improve code, and handle
597
G_IO_ERROR_NOT_MOUNTED
598
(_panel_app_info_launch_uri): updated
599
(panel_show_uri): ditto
601
2008-08-04 Vincent Untz <vuntz@gnome.org>
603
* libpanel-util/Makefile.am: add new files
604
* libpanel-util/panel-error.[ch]: new, moved from panel-util.c
605
* libpanel-util/panel-glib.[ch]: moved some functions from panel-util.c
606
here and rename them: panel_g_lookup_in_data_dirs(),
607
panel_g_utf8_strstrcase()
608
also add panel_g_lookup_in_applications_dirs
609
* libpanel-util/panel-show.[ch]: new, to ease showing of URIs
612
(panel_error_dialog): moved to libpanel-util/panel-error.c
613
(panel_ensure_dir): use g_mkdir()
614
(panel_lookup_in_data_dirs): moved to libpanel-util/panel-error.c
615
(panel_util_utf8_strstrcase): ditto
616
(panel_util_gdk_pixbuf_load_from_stream): kill because we use GTK+ 2.13
618
(panel_util_get_pixbuf_from_g_loadable_icon): use
619
gdk_pixbuf_new_from_stream()
621
* launcher.c: (launch_url): simply call panel_show_uri()
622
(create_launcher): use panel_g_lookup_in_applications_dirs()
623
* panel-addto.c: (panel_addto_filter_func): small update
624
(panel_compatibility_migrate_applications_scheme): use
625
panel_g_lookup_in_applications_dirs()
626
* panel-menu-items.c: (activate_uri_on_screen): simply use
628
(activate_uri): fix parameter name
629
(activate_path): new, to change a path into a uri before
630
activate_uri_on_screen()
631
(activate_home_uri): call activate_path()
632
(activate_desktop_uri): ditto
633
(volume_mount_cb): s/path/uri
634
* panel-recent.c: (show_uri): simply use
635
panel_show_uri_force_mime_type()
636
(recent_documents_activate_cb): add a comment
637
* panel-run-dialog.c: (panel_run_dialog_show_url): kill
638
(panel_run_dialog_execute): use panel_show_uri()
639
(panel_run_dialog_find_command_idle): updated
641
* gnome-desktop-item-edit.c: #include update
642
* panel-action-button.c: ditto
643
* panel-compatibility.c: ditto
644
* panel-context-menu.c: ditto
645
* panel-menu-button.c: ditto
646
* panel-menu-bar.c: ditto
647
* panel-properties-dialog.c: ditto
648
* panel-shell.c: ditto
650
2008-08-03 Vincent Untz <vuntz@gnome.org>
652
* panel-menu-items.c: (panel_menu_item_mount_volume): use
654
* panel-mount-operation.[ch]: kill those files
655
* Makefile.am: updated
657
2008-08-03 Vincent Untz <vuntz@gnome.org>
659
* panel-multiscreen.c: (panel_multiscreen_x),
660
(panel_multiscreen_y), (panel_multiscreen_width),
661
(panel_multiscreen_height),
662
(panel_multiscreen_is_at_visible_extreme):
663
Fix assertion. Patch by Matthias Clasen <mclasen@redhat.com>
666
==================== 2.23.5 ====================
668
2008-07-22 Vincent Untz <vuntz@gnome.org>
670
* panel-default-setup.entries: s/top_panel/bottom_panel/ in some
671
bottom_panel definitions
673
2008-06-30 Vincent Untz <vuntz@gnome.org>
675
Fix compiler warnings. Patch by Kjartan Maraas <kmaraas@gnome.org>.
678
* button-widget.c: (button_widget_unrealize),
679
(button_widget_get_icon_theme), (button_widget_get_pixbuf):
680
* launcher.c: (drag_drop_cb):
681
* panel-action-button.c: (panel_action_connect_server):
682
* panel-applet-frame.c:
683
* panel-background-monitor.c:
684
* panel-ditem-editor.c: (panel_ditem_editor_save):
685
* panel-force-quit.c:
688
* panel-menu-button.c:
689
* panel-menu-items.c:
690
* panel-multiscreen.c: (panel_multiscreen_reinit):
692
* panel-toplevel.c: (panel_toplevel_calc_floating),
693
(panel_toplevel_get_auto_hide):
694
* panel-widget.c: (panel_widget_reparent):
695
* xstuff.c: (zoom_expose):
697
2008-06-30 Vincent Untz <vuntz@gnome.org>
699
* launcher.c: (setup_button): fox crash when editing launcher
700
properties on OS where NULL isn't a good idea in printf(). Patch by
701
Marcel Telka <marcel@telka.sk>. Fix bug #528581.
703
2008-06-30 Vincent Untz <vuntz@gnome.org>
705
s/string_empty/PANEL_GLIB_STR_EMPTY/
707
* libpanel-util/Makefile.am: updated
708
* libpanel-util/panel-glib.h: add new file, with only the
709
PANEL_GLIB_STR_EMPTY macro right now...
710
* panel-util.h: remove string_empty
712
* launcher.c: (setup_button):
713
* panel-addto.c: (panel_addto_make_text),
714
(panel_addto_name_change):
715
* panel-menu-items.c: (panel_menu_items_append_from_desktop):
716
* panel-properties-dialog.c:
717
(panel_properties_dialog_setup_image_chooser),
718
(panel_properties_dialog_update_background_image):
719
* panel-util.c: (panel_util_get_file_display_for_common_files),
720
(panel_util_set_tooltip_text):
721
* panel.c: (drop_url): actuall do the
722
s/string_empty/PANEL_GLIB_STR_EMPTY/
724
2008-06-27 Luca Ferretti <elle.uca@libero.it>
726
* panel-icon-names.h: Use non-legacy icon "system-shutdown" from
727
fd.o naming spec instead "gnome-shutdown". The icon is yet available
730
==================== 2.23.4 ====================
732
2008-06-17 Vincent Untz <vuntz@gnome.org>
734
* libpanel-util/panel-power-manager.h:
735
* libpanel-util/panel-session-manager.[ch]: fix distcheck.Again.
737
2008-06-17 Vincent Untz <vuntz@gnome.org>
739
* libpanel-util/panel-power-manager.c: fix distcheck
741
2008-06-06 Rodney Dawes <dobey@gnome.org>
743
* panel-icon-names.h:
744
Use system-log-out instead of gnome-logout
745
Use image-missing instead of gnome-unknown
747
2008-06-06 Vincent Untz <vuntz@gnome.org>
749
Use the gnome-session DBus API to log out/shut down. The dialog is also
750
displayed by gnome-session.
753
* Makefile.am: remove files
754
* panel-gdm.[ch]: killed, not used anymore
755
* panel-logout.[ch]: killed, not used anymore
756
* panel-session.[ch]: remove panel_session_request_logout()
757
* libpanel-util/Makefile.am: add new files
758
* libpanel-util/panel-session-manager.[ch]: new, object to interact
759
with the session manager
760
* panel-action-button.c: (panel_action_logout): use PanelSessionManager
762
(panel_action_shutdown): ditto
763
(panel_action_shutdown_reboot_is_disabled): updated, with a comment
765
* libpanel-util/panel-power-manager.c: remove useless includes
766
(panel_power_manager_can_suspend): add g_return_val_if_fail
767
(panel_power_manager_can_hibernate): add g_return_val_if_fail
768
(panel_power_manager_attempt_suspend): add g_return_if_fail
769
(panel_power_manager_attempt_hibernate): add g_return_if_fail
771
2008-06-06 Vincent Untz <vuntz@gnome.org>
774
* libpanel-util/Makefile.am:
775
* panel-power-manager.[ch]: move PanelPowerManager to libpanel-util
776
* panel-logout.c: update the include for the change
778
2008-06-06 Vincent Untz <vuntz@gnome.org>
780
* libpanel-util/panel-dbus-service.[ch]: rename
781
panel_dbus_service_init_service to panel_dbus_service_define_service
782
* panel-power-manager.c: (panel_power_manager_constructor): updated for
785
2008-06-06 Vincent Untz <vuntz@gnome.org>
787
* panel-power-manager.[ch]: rename panel_get_power_manager() to
788
panel_power_manager_get()
789
* panel-logout.c: (panel_logout_init): updated for this change
791
2008-06-06 Vincent Untz <vuntz@gnome.org>
793
* libpanel-util/panel-cleanup.[ch]: add description
794
* libpanel-util/panel-keyfile.[ch]: ditto
795
* libpanel-util/Makefile.am: add new file
796
* libpanel-util/panel-dbus-service.[ch]: new utility object to make it
797
easier to use dbus services. Maybe this is insane, but I have the
798
feeling I'm going to duplicate lots of code without this.
799
* panel-power-manager.[ch]: basically port to PanelDBusService and:
800
(panel_get_power_manager): use panel_cleanup_register()
802
2008-06-05 Vincent Untz <vuntz@gnome.org>
804
* libpanel-util/Makefile.am: add new file
805
* libpanel-util/panel-cleanup.[ch]: small utility API to ease cleanup
807
* main.c: (main): use new API
808
* panel-gconf.c: (panel_gconf_get_client): ditto
810
2008-06-05 Vincent Untz <vuntz@gnome.org>
812
Let's start cleaning up the source. Okay, this attempt will certainly
813
fail at some point ;-)
814
First step, create an internal libpanel-util library where we put some
816
We start with the GKeyFile extensions.
818
* Makefile.am: updated for this change
819
* libpanel-util/Makefile.am: new
820
* libpanel-util/panel-keyfile.[ch]: new, based on panel-util.c code
821
* panel-ditem-editor.c: s/panel_util_key_file/panel_key_file/g
822
* panel-menu-items.c: s/panel_util_key_file/panel_key_file/g
823
* panel-run-dialog.c: s/panel_util_key_file/panel_key_file/g
824
* panel-util.[ch]: s/panel_util_key_file/panel_key_file/g and remove
826
* launcher.c: s/panel_util_key_file/panel_key_file/g
827
* gnome-desktop-item-edit.c: s/panel_util_key_file/panel_key_file/g
829
==================== 2.23.3 ====================
831
2008-05-20 Vincent Untz <vuntz@gnome.org>
833
* panel-addto.c: (panel_addto_setup_launcher_drag): use an URI and not
834
a path when setting the drag source for text/uri-list. Fix bug #532171.
836
2008-05-16 Vincent Untz <vuntz@gnome.org>
838
* panel-menu-items.c: (activate_uri_on_screen): new, based on
840
(activate_uri): just call activate_uri_on_screen
841
(volume_mount_cb): open the mount after having mounted it
844
==================== 2.23.2.1 ====================
846
==================== 2.23.2 ====================
848
2008-05-07 Vincent Untz <vuntz@gnome.org>
850
* panel-recent.c: (show_uri): do not only look for applications that
851
can open URI; if the file is gio-native (file://), then it's fine to
852
get applications that can open paths.
854
==================== 2.23.1 ====================
856
==================== 2.22.1.3 ====================
858
==================== 2.22.1.2 ====================
860
==================== 2.22.1.1 ====================
862
==================== 2.22.1 ====================
864
2008-04-04 Vincent Untz <vuntz@gnome.org>
866
* panel-applet-frame.c: (panel_applet_frame_load): plug potential leak
867
(panel_applet_frame_finalize): correctly release the bonobo object.
868
This fixes bug #513347, and also bug #522025 as a side-effect.
869
Thanks to Michael Meeks <michael.meeks@novell.com> for the hint!
871
2008-03-18 Frederic Crozat <fcrozat@mandriva.com>
873
* panel-logout.c: convert username / login
874
to UTF-8 if current locale is not UTF-8.
876
==================== 2.22.0 ====================
878
==================== 2.21.92 ====================
880
2008-02-25 Alexander Larsson <alexl@redhat.com>
882
* panel-menu-items.c:
884
g_uri_get_scheme -> g_uri_parse_scheme
886
2008-02-25 Alexander Larsson <alexl@redhat.com>
888
* launcher.c (panel_launcher_delete):
889
Use g_file_has_prefix instead of renamed
890
g_file_contains_file.
892
2008-02-21 Vincent Untz <vuntz@gnome.org>
894
Make drawer work again. Fix bug #517191.
896
* panel-toplevel.c: (panel_toplevel_initially_hide):
897
explicitly do everything for the initial hide here. And don't hide for
899
(panel_toplevel_realize): initially hide here
900
(panel_toplevel_init): don't initially hide here
902
2008-02-20 Vincent Untz <vuntz@gnome.org>
904
* gnome-desktop-item-edit.c: (main): make creating .desktop files with
905
--create-new work again. Also fix a leak.
908
2008-02-13 Vincent Untz <vuntz@gnome.org>
910
* panel-menu-items.c: (panel_place_menu_item_append_gtk_bookmarks):
911
* panel-recent.c: (show_uri):
912
Add FIXME for really minor things to handle in the future...
914
2008-02-12 Vincent Untz <vuntz@gnome.org>
916
Use the customized CD icons when there's one.
919
* menu.[ch]: make IconToLoad handle GIcon
920
(icon_to_load_free): updated
921
(icon_to_load_copy): ditto
922
(load_icons_handler): load from GIcon when there's one
923
(create_submenu_entry): updated for panel_load_menu_image_deferred()
925
(create_menuitem): ditto
926
(setup_menu_item_with_icon): take a GIcon parameter
927
(panel_load_menu_image_deferred): ditto, and use it
928
* panel-menu-items.c: (panel_menu_items_append_from_desktop): updated
929
for setup_menu_item_with_icon() change
930
(panel_menu_items_append_place_item): add a GIcon parameter and use it
931
(panel_menu_items_create_action_item_full): updated
932
for setup_menu_item_with_icon() change
933
(panel_place_menu_item_append_gtk_bookmarks): updated
934
for setup_menu_item_with_icon() change
935
(panel_menu_item_append_drive): directly use the GIcon
936
(panel_menu_item_append_volume): ditto
937
(panel_menu_item_append_mount): ditto
938
(panel_place_menu_item_append_local_gio): updated
939
for setup_menu_item_with_icon() change
940
(panel_place_menu_item_append_remote_gio): updated
941
for setup_menu_item_with_icon() change
942
(panel_place_menu_item_create_menu): updated for
943
panel_menu_items_append_place_item() change
944
* panel-recent.c: (panel_recent_append_documents_menu): updated for
945
setup_menu_item_with_icon() change
946
* panel-util.[ch]: (panel_util_gdk_pixbuf_load_from_stream): new,
948
(panel_util_get_pixbuf_from_g_loadable_icon): new, load a
949
GLoadableIcon in a pixbuf
951
==================== 2.21.91 ====================
953
2008-02-11 Vincent Untz <vuntz@gnome.org>
955
Fancy launcher animation when in a composited environment.
956
Based on patch by Denis Washington <denisw@svn.gnome.org>
959
* launcher.c: (launcher_launch), (drag_data_received_cb): update for
960
xstuff_zoom_animate change
961
* xstuff.[ch]: (zoom_timeout): new, redraw the zoom window
962
(zoom_expose): new, fill the zoom window with the current state of the
963
animation, or free resources at the end
964
(draw_zoom_animation_composited): new, magic stuff inside :-)
965
(draw_zoom_animation): remove trailing spaces
966
(xstuff_zoom_animate): use the fancy effect if the screen is
969
2008-02-11 Vincent Untz <vuntz@gnome.org>
971
Improve startup animation by starting the toplevels totally hidden.
973
* panel-toplevel.c: add a new initial_animation_done field
974
(panel_toplevel_update_auto_hide_position): if we haven't done the
975
startup animation, set the auto hide size to 0
976
(panel_toplevel_animation_timeout): when finishing an animation, mark
977
that we're done with the initial startup animation
978
(panel_toplevel_auto_unhide_timeout_handler): disable startup
979
animation if there's no animation, for auto-hiding toplevels, unhide
980
and hide again the toplevel so we can animate to the autohide size
981
(panel_toplevel_init): init new field
983
2008-02-11 Vincent Untz <vuntz@gnome.org>
985
Smooth animation between two auto-hide sizes.
987
* panel-toplevel.c: (panel_toplevel_start_animation): don't override
988
the timeout id if we already have one. Keep the current handler since
989
it will work with the new goal too.
990
(panel_toplevel_set_auto_hide_size): if the panel is auto-hidden, then
991
unhide and hide the panel so that we have an animation towards the new
994
2008-02-11 Vincent Untz <vuntz@gnome.org>
996
Switch back to 24x24 icons again.
997
Based on patch by Matthias Clasen <mclasen@redhat.com>
1000
* button-widget.c: (button_widget_size_allocate): handle 24x24 icons
1002
* menu.c: (panel_make_menu_icon): scale the icon to the size only if
1003
it's not a bit smaller (ie, don't scale to 24 if we get 22)
1004
* panel-stock-icons.c: (panel_init_stock_icons_and_items): use 24x24
1005
for the menu bar icon
1006
* panel-stock-icons.h: default menu icon size is 24
1008
2008-02-11 Vincent Untz <vuntz@gnome.org>
1010
Better bonobo applets asynchronous loading.
1011
Patch by openSUSE people (don't know who, probably Rodrigo Moya or
1015
* panel-applet-frame.c: (panel_applet_frame_load): use
1016
bonobo-activation instead of moniker
1017
(panel_applet_frame_construct_moniker): renamed to...
1018
(panel_applet_frame_construct_item): this, and updated
1019
(panel_applet_frame_activated): do lots of complex stuff I don't fully
1020
understand :-) But it works! I promise!
1022
2008-02-11 Vincent Untz <vuntz@gnome.org>
1024
* panel-logout.c: (panel_logout_init): center the window
1025
(panel_logout_new): focus the window. Patch by Matthias Clasen
1026
<mclasen@redhat.com>. Fix bug #514026
1028
2008-02-11 Vincent Untz <vuntz@gnome.org>
1030
Animate panel startup.
1031
Based on patch by William Jon McCann <mccann@jhu.edu>
1034
* panel-toplevel.c: (get_delta): use GTimeVal
1035
(panel_toplevel_update_animating_position): updated for get_delta()
1037
(panel_toplevel_realize): queue an automatic unhide
1038
(panel_toplevel_animation_timeout): updated
1039
(panel_toplevel_get_animation_time): make the time depend on the
1041
(panel_toplevel_start_animation): updated for
1042
panel_toplevel_get_animation_time() change
1043
(panel_toplevel_initially_hide): new
1044
(panel_toplevel_init): initially make the toplevel automatically
1047
2008-02-11 Vincent Untz <vuntz@gnome.org>
1049
* panel-menu-items.c: (panel_place_menu_item_append_local_gio): put
1050
items in a submenu if there are too many items. Fix a regression.
1052
2008-02-11 Vincent Untz <vuntz@gnome.org>
1054
* panel-menu-items.c: (panel_menu_item_mount_volume): update for API
1057
2008-02-11 Vincent Untz <vuntz@gnome.org>
1059
* panel-util.c: (panel_util_get_icon_for_uri): remove workaround for
1060
application/x-gnome-saved-search places. We don't need the
1061
fast-content-type anymore. Maybe this was needed before because of a
1064
2008-02-11 Vincent Untz <vuntz@gnome.org>
1066
* panel-util.c: (panel_util_get_file_description): new, to get the
1067
description of a GFile
1068
(panel_util_get_label_for_uri): rework to use the description of the
1069
GFile when available
1071
2008-02-11 Vincent Untz <vuntz@gnome.org>
1073
* panel-menu-items.c: (panel_place_menu_item_append_local_gio),
1074
(panel_place_menu_item_append_remote_gio): use g_file_is_native()
1075
instead of looking at the URI scheme
1077
2008-02-11 Vincent Untz <vuntz@gnome.org>
1079
* panel.c: (drop_uri): finish gio port
1081
2008-02-10 Vincent Untz <vuntz@gnome.org>
1083
* panel-menu-items.c: (panel_place_menu_item_append_local_gio): add
1084
back a string that was removed and will be used again soon. Right now,
1085
it's just sitting there, useless. But it's temporary :-)
1087
2008-02-10 Vincent Untz <vuntz@gnome.org>
1089
* panel-menu-items.c: (panel_place_menu_item_append_volumes): renamed
1091
(panel_place_menu_item_append_local_gio): this. Also add mounts that
1092
have no volume and that have a root with a file: scheme
1093
(panel_place_menu_item_append_mounts): renamed to...
1094
(panel_place_menu_item_append_remote_gio): this. Only add mounts that
1095
have not a root with a file: scheme
1096
(panel_place_menu_item_create_menu): updated
1098
2008-02-10 Vincent Untz <vuntz@gnome.org>
1100
* panel-menu-items.c: (panel_menu_items_append_from_desktop): fix
1102
(panel_place_menu_item_drives_changed): new
1103
(panel_place_menu_item_volumes_changed): new
1104
(panel_place_menu_item_finalize): disconnect new signal handlers
1105
(panel_place_menu_item_init): connect to the drive-* and volume-*
1108
2008-02-10 Vincent Untz <vuntz@gnome.org>
1110
Once upon a time, someone created gio. And those words were told:
1111
"thou shall port your application to gio".
1112
And people worked hard towards this goal.
1115
* panel-mount-operation.[ch]: add PanelMountOperation, stolen from eel
1116
* panel-menu-items.c: (activate_uri): easy port to gio
1117
(panel_menu_items_append_from_desktop): ditto
1118
(panel_place_menu_item_append_gtk_bookmarks): harder, but still okay
1120
(drive_poll_for_media_cb): new, callback when polling a drive. There's
1121
a FIXME: should we automount the newly discovered volume?
1122
(panel_menu_item_rescan_drive): new, we poll a drive when we activate
1124
(panel_menu_item_append_drive): new, to append a drive to the menu
1125
(volume_mount_cb): new, callback when mounting a volume. There's a
1126
FIXME: should we activate the URI of the new mount?
1127
(panel_menu_item_mount_volume): new, we mount a volume when we
1129
(panel_menu_item_append_volume): new, to append a volume to the menu
1130
(panel_menu_item_append_mount): new, to append a mount to the menu
1131
(panel_place_menu_item_append_volumes): new, based on nautilus code
1132
(panel_place_menu_item_append_mounts): ditto
1133
(panel_place_menu_item_create_menu): simplify code to get the name of
1134
the Home folder, easy port to gio
1135
(panel_place_menu_item_gtk_bookmarks_changed): updated
1136
(panel_place_menu_item_mounts_changed): updated
1137
(panel_place_menu_item_finalize): updated
1138
(panel_place_menu_item_init): easy port
1139
* panel-util.[ch]: (panel_util_get_icon_name_from_g_icon): export
1140
(panel_util_get_file_display_name_if_mount): fix leak
1141
(panel_util_get_file_icon_name_if_mount): fix leak
1143
2008-02-10 Vincent Untz <vuntz@gnome.org>
1145
* panel-util.c: (panel_util_get_label_for_uri): typo in translator
1148
2008-02-10 Vincent Untz <vuntz@gnome.org>
1150
I wonder what this commit is about. Maybe some gio port work? Oh,
1151
right, it is about this. Cool.
1153
* gnome-desktop-item-edit.c: (panel_gconf_get_client): add sucky
1154
symbols for linking with panel-util.o
1155
* launcher.c: (panel_launcher_get_gfile): new, get a GFile of the
1156
location of the launcher
1157
(panel_launcher_get_uri): gio port
1158
(launch_url): we don't need to make the url canonical
1159
(drag_data_received_cb): get rid of gnome-vfs
1160
(panel_launcher_delete): gio port
1161
(setup_button): get rid of gnome-vfs
1162
(panel_launcher_find_writable_uri): ditto
1163
(panel_launcher_create_with_id): ditto
1164
(panel_launcher_create_copy): gio port
1165
* panel-ditem-editor.c: (panel_ditem_editor_constructor): gio port
1166
* panel-icon-names.h: add two icons
1167
* panel-recent.c: (show_uri): port to gio. We'll need to use
1168
GdkAppLaunchContext when we can depend on the new gtk+, though.
1169
* panel-run-dialog.c: (panel_run_dialog_set_default_icon): use the
1170
launcher icon as a default icon for drag and drop
1171
(command_is_executable): trivial gio port
1172
(panel_run_dialog_execute): trivial gio port, thanks to
1173
panel_util_get_file_optional_homedir()
1174
(entry_drag_data_received): trivial gio port
1175
(panel_run_dialog_create_desktop_file): trivial gio port, thanks to
1176
panel_util_get_file_optional_homedir()
1177
Also fix a crash when dragging the icon for a command without an icon
1178
by setting the .desktop icon to the launcher one
1179
(pixmap_drag_data_get): we want an URI here, not a path
1180
* panel-util.c: (internal_panel_is_uri_writable): kill
1181
(panel_is_uri_writable): gio port
1182
(panel_uri_exists): ditto
1183
(panel_make_unique_desktop_uri): ditto
1184
(panel_util_key_file_load_from_uri): ditto
1185
(panel_util_get_vfs_method_display_name): killed
1186
(panel_util_get_icon_for_uri_method): killed
1187
(panel_util_get_gfile_root): new, get the root parent of a GFile
1188
(panel_util_get_icon_name_from_g_icon): new, get an icon name that
1189
exists in the default icon theme from a GIcon
1190
(panel_util_get_file_display_name_if_mount): new, get name of a GFile
1191
if it's the root of a GMount
1192
(panel_util_get_file_display_for_common_files): new, get name of
1193
GFiles that are common
1194
(panel_util_get_file_display_name): new, utility to easily get the
1196
(panel_util_get_file_icon_name_if_mount): new, get icon name of a
1197
GFile if it's the root of a GMount
1198
(panel_util_get_icon_for_uri_known_folders): updated, port to gio and
1200
(panel_util_get_label_for_uri): gio port. Explicitly mention the
1201
algorithm. There's a bug for hostnames, though.
1202
(panel_util_get_icon_for_uri): gio port. Explicitly mention the
1204
(panel_util_get_file_optional_homedir): new, get a GFile from a
1205
location which might be relative to $HOME
1206
* panel-util.h: updated
1207
* panel.c: (drop_urilist): use the content-type, not the
1208
fast-content-type. It's okay. This is a rarely used operation anyway.
1210
2008-02-10 Vincent Untz <vuntz@gnome.org>
1212
Lalalala. gio port. Lalalala.
1214
* gnome-desktop-item-edit.c: (get_uri): killed
1215
(main): straight port, really easy.
1217
2008-02-10 Vincent Untz <vuntz@gnome.org>
1219
Continue gio port...
1221
* menu.c: (drag_data_get_menu_cb): simplify with g_filename_to_uri()
1222
* panel.c: (drop_urilist): port the function to gio
1224
2008-02-09 Vincent Untz <vuntz@gnome.org>
1227
Based on patch by Diego Escalante Urrelo <diegoe@gnome.org>
1228
Fix part of bug #509756.
1230
* menu.c: (add_app_to_desktop): straight port
1231
(drag_data_get_menu_cb): ditto
1233
2008-02-09 Benjamin Berg <benjamin@sipsolutions.net>
1235
* panel-toplevel.c: (panel_toplevel_expose):
1236
Fix bug #497998. This correct the orientation of the panel handles.
1238
==================== 2.21.90 ====================
1240
2008-01-29 Elijah Newren <newren gnome org>
1242
* xstuff.c: (get_typed_property_data):
1243
Fix G_STRFUNC usage so that it compiles.
1245
2008-01-28 Christian Persch <chpe@gnome.org>
1247
* xstuff.c: (get_typed_property_data):
1248
Use G_STRFUNC instead of the deprecated G_GNUC_FUNCTION.
1250
2008-01-28 Vincent Untz <vuntz@gnome.org>
1252
* panel-logout.c: (panel_logout_timeout): if the name of the user is
1253
"Unknown", then display the login name.
1254
Fix bug #509129, based on patch by Martin Schoen
1255
<martin_schoen@gmx.de>
1257
==================== 2.21.5 ====================
1259
==================== 2.20.1 ====================
1261
==================== 2.20.0.1 ====================
1263
2007-09-18 Vincent Untz <vuntz@gnome.org>
1265
* panel-icon-names.h: revert the previous commit: it breaks some icon
1266
themes. We'll give some time to the authors to fix their themes, and
1267
use the new icon name in 2.22.
1269
==================== 2.20.0 ====================
1271
2007-09-17 Vincent Untz <vuntz@gnome.org>
1273
* panel-icon-names.h: use new icon name for logout.
1274
Patch by Luca Ferretti <elle.uca@libero.it>
1277
2007-09-11 Ray Strode <rstrode@redhat.com>
1279
* panel-toplevel.c: (panel_toplevel_attach_to_widget):
1280
fix typo in previous commit.
1282
2007-09-11 Ray Strode <rstrode@redhat.com>
1284
* panel-toplevel.c: (panel_toplevel_attach_to_widget):
1285
Show drawers on same monitor as the panels they're
1286
attached to (bug 300883).
1288
==================== 2.19.92 ====================
1290
2007-08-29 Jaap Haitsma <jaap@haitsma.org>
1292
* panel-icon-names.h: Use system-search i.s.o. removed gnome-searchtool
1293
icon. Fixes bug #470194
1295
2007-08-27 Frederic Peters <fpeters@0d.be>
1297
reviewed by: Vincent Untz
1299
* menu.c: (create_submenu_entry): do not show tooltips for application
1300
categories in menu. (bug 463919)
1302
2007-08-27 Frederic Peters <fpeters@0d.be>
1304
reviewed by: Vincent Untz
1306
* panel-logout.c: (panel_logout_timeout): fallback to user name when
1307
real name is empty. (bug 456925)
1309
==================== 2.19.6 ====================
1311
2007-08-01 Ray Strode <rstrode@redhat.com>
1313
* panel-power-manager.c: (panel_power_manager_on_name_owner_change),
1314
(panel_power_manager_ensure_gpm_connection),
1315
(panel_power_manager_can_suspend),
1316
(panel_power_manager_can_hibernate):
1317
Use new freedesktop.org power management interface. Patch by
1318
Matthias Clasen <mclasen@redhat.com> (bug 460400)
1320
2007-07-25 Vincent Untz <vuntz@gnome.org>
1322
* panel-util.c: (panel_util_set_tooltip_text): remove old signal
1323
handler for query-tooltip when setting a new tooltip
1324
Fix bug #459973. Patch by Matthias Clasen <mclasen@redhat.com>
1326
2007-07-16 Vincent Untz <vuntz@gnome.org>
1328
* panel-profile.c: (panel_profile_load_toplevel): really look at the
1329
gconfvalue for x_right/y_bottom (just use -1 if it isn't set). This
1330
is needed for people coming from old versions of GNOME. If we don't do
1331
this, the returned value is 0, and the panel moves from the left to
1334
==================== 2.19.5 ====================
1336
2007-07-07 Vincent Untz <vuntz@gnome.org>
1338
* panel-context-menu.c: (panel_context_menu_show_about_dialog): use
1339
program-name instead of name property for GtkAboutDialog.
1342
2007-07-03 Bastien Nocera <hadess@hadess.net>
1344
* panel-action-button.c: (panel_action_force_quit):
1345
* panel-action-protocol.c: (panel_action_protocol_kill_dialog),
1346
(panel_action_protocol_filter), (panel_action_protocol_init):
1347
* panel-force-quit.c: (panel_force_quit):
1348
* panel-force-quit.h: Add the _GNOME_PANEL_ACTION_KILL_DIALOG message
1349
to allow a keybinding for the force quit dialogue to be added
1352
2007-07-01 Vincent Untz <vuntz@gnome.org>
1354
* button-widget.c: (button_widget_expose): add a detail for the arrow
1355
in the button widget
1357
2007-07-01 Vincent Untz <vuntz@gnome.org>
1359
* menu.[ch]: (create_item_context_menu): don't use setup_menuitem(),
1360
but gtk_menu_item_new_with_mnemonic() since we don't need what
1361
setup_menuitem() does
1362
(setup_menuitem): always create invisible mnemonic
1363
(create_submenu_entry): updated
1364
(create_menuitem): updated
1365
(setup_menu_item_with_icon): always create invisible mnemonic
1366
* panel-menu-items.c:
1367
* panel-recent.c: updated for
1368
setup_menuitem()/setup_menu_item_with_icon() change
1370
2007-07-01 Vincent Untz <vuntz@gnome.org>
1372
* panel-toplevel.c: add two comments to help with understanding the
1375
2007-07-01 Vincent Untz <vuntz@gnome.org>
1377
Migrate to GtkTooltip.
1379
* panel-util.[ch]: (panel_util_query_tooltip_cb): new, check if
1380
tooltips are enabled but displaying one
1381
(panel_util_set_tooltip_text): wrapper for tooltip for the panel,
1382
since we need to check if the tooltips are enabled in the panel config.
1383
* panel-config-global.c: simplify, since we don't need to do the
1386
* panel-globals.h: remove useless global GtkTooltips variable
1390
* panel-action-button.c:
1391
* panel-menu-button.c:
1392
* panel-menu-items.c:
1393
* panel-recent.c: use panel_util_set_tooltip_text()
1394
* panel-menu-bar.c: (panel_menu_bar_enter_applications): kill
1395
(panel_menu_bar_enter_places): kill
1396
(panel_menu_bar_enter_desktop): kill
1397
(panel_menu_bar_reinit_tooltip): updated
1398
(panel_menu_bar_hide_tooltip): updated
1399
(panel_menu_bar_setup_tooltip): simplify thanks to GtkTooltip
1400
* gnome-desktop-item-edit.c:
1401
(panel_global_config_get_tooltips_enabled): needed symbol for
1402
compilation. This is just a hacky workaround.
1404
2007-07-01 Vincent Untz <vuntz@gnome.org>
1406
* panel-icon-names.h: add icon for home folder
1407
* panel-menu-items.c: (activate_home_uri): new
1408
(panel_place_menu_item_create_menu): don't use nautilus-home.desktop,
1409
but create a "place" menu item. Fix bug #338700.
1410
Also, put an uri for the Desktop menu item, else it will crash on drag
1412
* panel-util.c: (panel_util_get_icon_for_uri_known_folders): new, gets
1413
the icon for some well-know folders ($HOME, $Desktop)
1414
(panel_util_get_icon_for_uri): updated to use
1415
panel_util_get_icon_for_uri_known_folders()
1416
* panel.c: (drop_uri): get the icon too
1417
(drop_urilist): updated, don't get an icon here for uris
1419
2007-07-01 Vincent Untz <vuntz@gnome.org>
1421
* panel-lockdown.c: (panel_lockdown_notify_find): compare the
1422
GCallbacks too, instead of just checking that the GCallback that we
1423
have in our list is not NULL. That was probably a typo.
1426
2007-07-01 Vincent Untz <vuntz@gnome.org>
1428
Make it possible to have bigger panels (up to 1/5 the screen size).
1429
Help for people wanting sidebars.
1432
* panel-properties-dialog.glade: don't have a page_size of 12 for the
1434
* panel-properties-dialog.c:
1435
(panel_properties_dialog_setup_size_spin): don't hardcode the maximum
1436
size and use panel_toplevel_get_maximum_size()
1437
(panel_properties_dialog_update_orientation): update the spin button
1439
* panel-toplevel.[ch]: (panel_toplevel_update_size): take into account
1440
the maximum size computed by panel_toplevel_get_maximum_size() too
1441
(panel_toplevel_get_maximum_size): new, gets the maximum size, which
1442
depends on the monitor size
1444
2007-06-29 Vincent Untz <vuntz@gnome.org>
1446
* panel.[ch]: (panel_destroy): disconnect the "deactivate" signal
1448
(panel_menu_get): simplify
1449
(make_popup_panel_menu): make static
1450
Should fix bug #448025, where the panel was crashing because the
1451
toplevel is used while already destroyed
1453
2007-06-29 Vincent Untz <vuntz@gnome.org>
1455
Add fields to PanelToplevel to have the possibility to use a position
1456
relative from the right and/or bottom of the monitor. This is mainly
1457
for non-expanded panels. This fixes the panel position:
1458
- after a resolution change: if the panel was at the bottom or right
1459
of the screen and the resolution goes down and up again, we no
1460
longer have a panel that starts to be floating for no reason
1461
- when the panel is at the right of the screen and its size grows
1462
(because of a tasklist): it no longer becomes centered or snaps to
1463
the left of the screen.
1464
This change should still compatibility with older configuration: if
1465
you log in with an older GNOME after having used 2.20, things should
1466
still work as expected.
1467
Fix bug #107622 (and maybe other bugs).
1469
* panel-toplevel.schemas.in: add x_right, y_bottom keys for toplevels
1470
* panel-default-setup.entries: add those keys in the default setup
1471
* panel-profile.c: (panel_profile_queue_toplevel_location_change):
1472
(panel_profile_connect_to_toplevel):
1473
(panel_profile_toplevel_change_notify):
1474
(panel_profile_load_toplevel):
1475
(panel_profile_can_be_moved_freely): basically, a dumb update to
1476
handle the new keys (I just searched for what was done for the x and y
1477
keys and copied that)
1478
* panel-toplevel.[ch]: add new fields and properties for x_right and
1480
(panel_toplevel_begin_grab_op): updated
1481
(panel_toplevel_cancel_grab_op): updated
1482
(panel_toplevel_resize_to_pointer): update y_bottom and x_right when
1484
(panel_toplevel_move_to): fix x (y) when x_centered (y_centered) is
1485
true, and compute the new x_right/y_bottom values
1486
(panel_toplevel_calc_floating): use position from x_right/y_bottom
1487
when they're different from -1
1488
(panel_toplevel_update_normal_position): don't set x/y after snapping:
1489
this is just wrong, since setting x/y should only be done after a
1490
direct change by the user (and not automatically). This function is
1491
only used to update the x/y in the geometry, and not in the config.
1492
Also, to determine if we need to snap, only use x/y (with right/bottom
1493
variants) from the config, not the computed values imposed by
1494
constraints. This part fix the case where a panel is right aligned,
1495
but gets centered and then left aligned because its size grows
1496
(panel_toplevel_update_auto_hide_position): same update
1497
(panel_toplevel_update_expanded_position): compute x_right and
1498
y_bottom too, and notify of their changes when needed
1499
(panel_toplevel_update_position): handle x_right/y_bottom in the
1500
temporary position_centered case, and core part of the change: use
1501
x_right/y_bottom when they're not -1
1502
(panel_toplevel_set_property): updated for new properties
1503
(panel_toplevel_get_property): ditto
1504
(panel_toplevel_class_init): ditto
1505
(panel_toplevel_init): ditto
1506
(panel_toplevel_set_expand): small update to put the right values for
1508
(panel_toplevel_set_orientation): when rotating a centered panel, set
1509
the relevant x_right/y_bottom value to -1 (since the rotated panel is
1510
centered (but not "force-centered"), its position is relative to the
1512
(panel_toplevel_set_x): add x_right handling
1513
(panel_toplevel_set_y): add y_bottom handling
1514
(panel_toplevel_get_position): add x_right/y_bottom handling
1516
2007-06-26 Vincent Untz <vuntz@gnome.org>
1518
* gnome-desktop-item-edit.c: (main): use
1519
g_option_context_set_translation_domain() to translate the description
1520
Patch by Gabor Kelemen <kelemeng@gnome.hu>. Fix bug #450158
1522
2007-06-26 Vincent Untz <vuntz@gnome.org>
1524
* panel-icon-names.h: new icon for recent documents
1525
* panel-recent.c: (panel_recent_append_documents_menu): use new icon
1529
2007-06-26 Vincent Untz <vuntz@gnome.org>
1531
Improve handling of size hints from applets. This is needed to have
1532
the latest tasklist (libwnck 2.19.5) to correctly work.
1533
For non-expanded panels, this means we have to "forward" the size
1534
hints from all applets using it from PanelWidget to PanelToplevel.
1535
This is a non-trivial change because it might break panel
1536
sizing and positioning...
1538
* panel-toplevel.c: (panel_toplevel_update_size_from_hints): new, when
1539
there are size hints, try to share all the remaining space on the
1540
screen that is not needed by applets not using size hints between
1541
applets using size hints. This breaks a bit the separation between
1542
PanelWidget and PanelToplevel, but I can't think of any other way to
1544
(panel_toplevel_update_size): use
1545
panel_toplevel_update_size_from_hints(), and make it nicely work for
1547
* panel-widget.[ch]: (panel_widget_size_request): don't take into
1548
account for the size request applets using size hints. Instead, keep a
1549
list of those applets, to be used later.
1550
(panel_widget_count_expanded_applets): kill
1551
(panel_widget_size_allocate):
1552
- for packed panels: the toplevel will have decided which size to use
1553
for applets using size hints. We don't need the "compression" part
1554
anymore. Of course, we can have an overflow, but we didn't handle
1555
this before anyway, so...
1556
- for expanded panels: the cell and the minimum cell should be the
1557
minimum size in the size hints for applets using size hints: using
1558
the requested size is wrong since the requested size generally is
1559
"the best size" for the applet, which is not the smaller size the
1560
applet can handle. Also fix minor bugs where the minimum cell for
1561
applets using size hints is just too big for the panel.
1562
(panel_widget_finalize): clean new fields
1563
(panel_widget_init): init new fields
1564
(panel_widget_set_applet_size_hints): check that the size hints are
1565
valid before accepting them
1566
* panel-applet-frame.c:
1567
(panel_applet_frame_set_size_hints_from_any): simplify a bit
1569
2007-06-26 Vincent Untz <vuntz@gnome.org>
1571
* panel.c: (drop_uri): fix call to panel_util_get_label_for_uri()
1573
2007-06-19 Vincent Untz <vuntz@gnome.org>
1575
* panel-toplevel.c: (panel_toplevel_calc_new_orientation): do not
1576
choose height over width for the "should I change orientation"
1577
distance because the orientation is horizontal: since the geometry of
1578
the panel might not have been updated, those may be swapped (eg, if
1579
you had an horizontal panel and it becomes vertical, they're swapped
1580
for some time). Instead, choose the lowest of the two which is correct
1581
all cases, even when the height is bigger than the width in an
1582
horizontal panel (think about it for a few minutes).
1583
Fix the "panel goes a bit crazy when moving it around", also known as
1586
==================== 2.19.4 ====================
1588
2007-06-15 Vincent Untz <vuntz@gnome.org>
1590
* menu.c: (menu_destroy_context_menu): new
1591
(create_item_context_menu): when the menu item is destroyed, also
1592
destroy the context menu and block the restoring of grabs which would
1593
fail since the applications menu has been destroyed.
1596
2007-06-14 Vincent Untz <vuntz@gnome.org>
1598
* launcher.c: (is_this_drop_ok), (drag_drop_cb): use
1599
gdk_atom_intern_static_string() instead of gdk_atom_intern()
1600
* panel-action-protocol.c: (panel_action_protocol_init): ditto
1601
* panel-background-monitor.c: (panel_background_monitor_init): ditto
1603
2007-06-14 Vincent Untz <vuntz@gnome.org>
1605
Use new glib API where it makes sense.
1607
* applet.c: (panel_applet_save_position): use g_timeout_add_seconds()
1608
* menu.c: (add_app_to_desktop): use g_get_user_special_dir() to know
1610
* panel-ditem-editor.c: (panel_ditem_editor_changed),
1611
(panel_ditem_editor_revert): use g_timeout_add_seconds()
1612
* panel-menu-items.c: (activate_uri): small update
1613
(activate_desktop_uri): new, use g_get_user_special_dir() to know
1615
(panel_place_menu_item_create_menu): use activate_desktop_uri() for
1616
the desktop menu item
1618
==================== 2.19.3 ====================
1620
2007-05-26 Vincent Untz <vuntz@gnome.org>
1622
* panel-properties-dialog.c:
1623
(panel_properties_dialog_update_for_attached): change title of the
1624
dialog to Drawer Properties if the toplevel is a drawer.
1627
2007-05-26 Vincent Untz <vuntz@gnome.org>
1629
* panel-icon-names.h: add new icon
1630
* panel-menu-items.c: (panel_place_menu_item_append_volumes): use an
1631
icon for removable media menu item
1632
Fix FIXME and bug #343180
1634
2007-05-26 Vincent Untz <vuntz@gnome.org>
1636
* panel-ditem-editor.c: (panel_ditem_editor_name_changed),
1637
(panel_ditem_editor_comment_changed),
1638
(panel_ditem_editor_icon_changed), (panel_ditem_editor_revert): use
1639
panel_util_key_file_remove_all_locale_key()
1640
* panel-util.[ch]: (panel_util_key_file_remove_all_locale_key): new,
1641
to remove all localized and non-locale versions of a key.
1644
2007-05-26 Vincent Untz <vuntz@gnome.org>
1646
* panel-properties-dialog.c:
1647
(panel_properties_dialog_image_changed): ignore the first
1648
selection-changed signals, since they're bogus (GTK+ bug #327243)
1649
(panel_properties_dialog_setup_image_chooser): initialize helper.
1652
2007-05-26 Vincent Untz <vuntz@gnome.org>
1654
* panel-applet-frame.c: (panel_applet_frame_set_flags_from_any):
1655
update the background if a handle was added. Fix initial background
1656
not working for handles.
1659
2007-05-25 Vincent Untz <vuntz@gnome.org>
1661
* panel-icon-names.h: add new icons
1662
* panel-menu-items.c: (activate_uri): handle x-nautilus-search uri by
1663
directly launching nautilus. This is ugly, though.
1664
(panel_place_menu_item_append_gtk_bookmarks): accept trash and
1665
x-nautilus-search uri, and also use the new functions from panel-util
1666
* panel-util.[ch]: (panel_util_get_vfs_method_display_name): new
1667
(panel_util_get_icon_for_uri_method): new
1668
(panel_util_get_label_for_uri): new
1669
(panel_util_get_icon_for_uri): new
1670
Most of this is copied from nautilus.
1671
* panel.c: (drop_uri): use panel_util_get_label_for_uri()
1672
(drop_urilist): add FIXME
1673
Fix bug #402628, bug #309598.
1675
2007-05-25 Vincent Untz <vuntz@gnome.org>
1677
* panel-run-dialog.c: (program_list_selection_changed): don't reset
1678
visibility of all programs in the program list. And beautify the code.
1681
2007-05-25 Vincent Untz <vuntz@gnome.org>
1683
* panel-ditem-editor.c: (panel_ditem_editor_setup_ui): set default
1685
(panel_ditem_editor_activated): emits a reponse for the dialog
1686
(panel_ditem_editor_connect_signals): connect to the activate signal
1690
2007-05-25 Vincent Untz <vuntz@gnome.org>
1692
* panel-ditem-editor.c: (panel_ditem_editor_setup_ui): always put
1693
initial focus on the name entry
1694
Fix part of bug #440690
1696
2007-05-25 Vincent Untz <vuntz@gnome.org>
1698
* gnome-desktop-item-edit.c: (main): use
1699
panel_ditem_editor_new_directory() when it makes sense
1700
* panel-ditem-editor.[ch]: add a new type-directory construct-only
1701
property to know if the file is for .directory files
1702
(panel_ditem_editor_constructor): set the Type key to directory if
1703
we're editing a .directory file, and cache this information in
1705
(panel_ditem_editor_get_property): updated for new property
1706
(panel_ditem_editor_set_property): updated for new property
1707
(panel_ditem_editor_class_init): updated for new property
1708
(panel_ditem_editor_get_item_type): properly handle the .directory
1710
(panel_ditem_editor_setup_ui): don't show the combo if we edit a new
1712
(panel_ditem_editor_init): update
1713
(setup_icon_entry): update
1714
(panel_ditem_editor_save): update, and make the error message
1716
(panel_ditem_editor_new_full): new
1717
(panel_ditem_editor_new): update to call panel_ditem_editor_new_full()
1718
(panel_ditem_editor_new_directory): new
1719
(panel_ditem_editor_set_type_directory): new
1720
(panel_ditem_editor_get_type_directory): new
1723
2007-05-17 Vincent Untz <vuntz@gnome.org>
1725
* panel-force-quit.c: (kill_window_question): set title, since the
1726
dialog appears in tasklist now
1727
* panel-recent.c: (recent_documents_clear_cb): ditto
1729
2007-05-17 Vincent Untz <vuntz@gnome.org>
1731
* panel-logout.c: (panel_logout_timeout): add username of the current
1732
user to the logout dialog
1734
2007-05-17 Vincent Untz <vuntz@gnome.org>
1736
* panel-recent.c: (recent_documents_clear_cb): fix compilation
1738
2007-05-16 Vincent Untz <vuntz@gnome.org>
1740
* panel-applet-frame.c: (panel_applet_frame_loading_failed): make the
1741
dialog a warning insted of a question
1742
* panel-force-quit.c: (kill_window_question): make dialog text more
1743
HIG compliant, make it a warning, don't skip the taskbar
1744
* panel-logout.c: (panel_logout_init): don't skip the pager for the
1746
* panel-recent.c: (recent_documents_clear_cb): make the dialog a
1747
question, don't skip the tasklist
1748
* panel.c: (panel_deletion_dialog): don't set a title to the dialog,
1749
and make the dialog a warning
1752
2007-05-15 Vincent Untz <vuntz@gnome.org>
1754
* button-widget.[ch]: (button_widget_realize),
1755
(button_widget_unset_pixbufs), (button_widget_reload_pixbuf),
1756
(button_widget_icon_theme_changed), (button_widget_finalize),
1757
(button_widget_get_property), (button_widget_set_property),
1758
(button_widget_expose), (button_widget_size_request),
1759
(button_widget_size_allocate), (button_widget_activate),
1760
(button_widget_button_press), (button_widget_init),
1761
(button_widget_class_init), (button_widget_set_activatable),
1762
(button_widget_get_activatable), (button_widget_set_icon_name),
1763
(button_widget_get_icon_name), (button_widget_set_orientation),
1764
(button_widget_get_orientation), (button_widget_set_has_arrow),
1765
(button_widget_get_has_arrow), (button_widget_set_dnd_highlight),
1766
(button_widget_get_dnd_highlight),
1767
(button_widget_set_ignore_leave), (button_widget_get_ignore_leave),
1768
(button_widget_get_icon_theme), (button_widget_get_pixbuf):
1769
Use a private structure to contain object data
1770
Make "ignore-leave" a property
1771
Add button_widget_set_ignore_leave(),
1772
button_widget_get_ignore_leave(), button_widget_get_icon_theme() and
1773
button_widget_get_pixbuf()
1774
* launcher.c: (setup_button): updated to use
1775
button_widget_get_icon_theme()
1776
(panel_launcher_set_dnd_enabled): updated to use
1777
button_widget_get_pixbuf()
1778
* panel-menu-button.c: (panel_menu_button_menu_deactivated),
1779
(panel_menu_button_popup_menu): updated to use
1780
button_widget_set_ignore_leave()
1782
2007-05-15 Vincent Untz <vuntz@gnome.org>
1784
* launcher.c: (setup_button): if the value for the Icon key is empty,
1785
use the launcher icon
1787
2007-05-15 Vincent Untz <vuntz@gnome.org>
1789
* panel-util.c: (panel_make_unique_desktop_path_from_name): use
1790
MAXNAMLEN instead of NAME_MAX, for BSD/Solaris compatibility
1791
Fix bug #438637. Patch by Damien Carbery <damien.carbery@sun.com>
1793
==================== 2.19.2 ====================
1795
2007-05-13 Vincent Untz <vuntz@gnome.org>
1797
* panel-applet-frame.c: (panel_applet_frame_cnx_broken),
1798
(panel_applet_frame_loading_failed): set a title for the error dialogs
1799
since they're shown in the tasklist
1801
2007-05-13 Vincent Untz <vuntz@gnome.org>
1803
* panel-util.c: (panel_error_dialog): set a title when we show the
1804
dialog in the tasklist
1806
2007-05-13 Vincent Untz <vuntz@gnome.org>
1808
* launcher.c: (launcher_properties): don't set a parent window,
1809
because we don't want the dialog to be transient to a panel toplevel
1810
(panel_launcher_create_from_info): set a parent for the error dialog
1811
* panel-applet-frame.c: (panel_applet_frame_reload_response): destroy
1812
the dialog anyway if we're in an inconsistent state
1813
(panel_applet_frame_cnx_broken): set urgency hint on the dialog
1814
(panel_applet_frame_loading_failed): ditto, and register the dialog as
1816
* panel-context-menu.c: (panel_context_menu_delete_panel): set a
1817
parent for the error dialog
1818
* panel-logout.c: (panel_logout_init): add FIXME
1819
* panel-properties-dialog.c: (panel_properties_dialog_present): set a
1820
parent for the error dialog
1821
* panel-util.c: (panel_error_dialog): if we don't have a parent, show
1822
the dialog in the task bar since we don't have any real other windows
1823
shown on the screen. This follows the HIG.
1824
* panel-widget.c: (panel_widget_register_open_dialog): show the dialog
1825
in the task bar, for the same reason.
1827
2007-05-13 Vincent Untz <vuntz@gnome.org>
1829
* launcher.c: (panel_launcher_create_with_id): if we have a file URI,
1830
we need to unescape the URI before putting the filename in gconf,
1831
since the file on disk is unescaped.
1834
2007-05-13 Vincent Untz <vuntz@gnome.org>
1836
* Makefile.am: install data in $(datadir)/gnome-panel/ instead of
1837
$(datadir)/gnome/panel/
1840
2007-05-13 Vincent Untz <vuntz@gnome.org>
1842
* panel-util.c: (panel_make_unique_desktop_path_from_name): remove
1843
duplicate g_free() which makes the panel crash
1845
2007-05-13 Vincent Untz <vuntz@gnome.org>
1847
* panel-util.c: (panel_error_dialog):
1848
* panel-context-menu.c: (panel_context_menu_show_about_dialog):
1849
* panel.c: (panel_deletion_dialog): don't call
1850
gtk_window_set_wmclass() since GTK+ doc says "Don't use this
1853
2007-05-13 Vincent Untz <vuntz@gnome.org>
1855
* gnome-panel.desktop.in.in: renamed from gnome-panel.desktop.in and
1857
* panel-context-menu.c: (panel_context_menu_show_about_dialog): update
1858
description to be less geeky
1859
* Makefile.am: updated
1861
2007-05-12 Vincent Untz <vuntz@gnome.org>
1863
* panel-ditem-editor.c: (type_combo_changed): change mnemonic for
1867
2007-05-12 Vincent Untz <vuntz@gnome.org>
1869
* gnome-desktop-item-edit.c: (get_unique_name): kill
1870
(find_uri_on_save): use panel_make_unique_desktop_path_from_name()
1872
* panel-util.[ch]: (panel_make_unique_desktop_path_from_name): new,
1873
based on code from panel_make_unique_desktop_uri(), but also takes
1874
into account NAME_MAX
1875
(panel_make_unique_desktop_uri): use
1876
panel_make_unique_desktop_path_from_name()
1879
2007-05-12 Vincent Untz <vuntz@gnome.org>
1881
* panel-gdm.c: (gdm_init_protocol_connection): prefer the new path for
1883
Fix bug #437460. Patch by LoĆÆc Minier <lool+gnome@via.ecp.fr>
1885
2007-05-12 Vincent Untz <vuntz@gnome.org>
1887
* panel-action-button.c: (panel_action_shutdown_reboot_is_disabled):
1888
renamed from panel_action_shutdown_is_disabled()
1889
* panel-logout.c: (panel_logout_new): only show restart/shutdown
1890
buttons when gdm supports the actions
1891
Fix bug #433792. Patch by Brian Cameron <Brian.Cameron@Sun.Com>
1893
2007-05-12 Vincent Untz <vuntz@gnome.org>
1895
* panel-icon-names.h: new file, containing defines for all named icons
1896
we use. So that the names are easy to change.
1897
* Makefile.am: add new file
1898
* drawer.c: (create_drawer_applet):
1900
* gnome-desktop-item-edit.c: (main):
1901
* launcher.c: (setup_button):
1903
* menu.c: (create_submenu_entry):
1904
* panel-action-button.c:
1906
* panel-context-menu.c: (panel_context_menu_show_about_dialog):
1907
* panel-ditem-editor.c: (setup_icon_entry):
1908
* panel-force-quit.c: (display_popup_window):
1909
* panel-force-quit.h:
1910
* panel-logout.c: (panel_logout_new):
1911
* panel-menu-bar.c: (panel_menu_bar_init):
1913
* panel-menu-button.c: (panel_menu_button_get_icon):
1914
* panel-menu-button.h:
1915
* panel-menu-items.c: (panel_place_menu_item_append_gtk_bookmarks),
1916
(panel_place_menu_item_create_menu), (panel_place_menu_item_new):
1917
* panel-run-dialog.c: (panel_run_dialog_set_default_icon):
1918
* panel-run-dialog.h:
1919
* panel-separator.h:
1920
* panel-stock-icons.c:
1921
* panel.c: (drop_url), (drop_urilist), (panel_receive_dnd_data):
1922
Update to use the new macros
1924
2007-05-12 Vincent Untz <vuntz@gnome.org>
1926
* panel-util.[ch]: (panel_util_key_file_ensure_C_key): new
1927
* panel-ditem-editor.c: (panel_ditem_editor_save): move code to use
1928
panel_util_key_file_ensure_C_key()
1930
2007-05-12 Vincent Untz <vuntz@gnome.org>
1932
* panel-util.[ch]: (guess_icon_from_exec): new, moved from launcher.c
1933
* panel-ditem-editor.c: (setup_icon_entry): new, to setup the icon in
1935
(panel_ditem_editor_constructor): if we're creating a new file, call
1936
setup_icon_entry() to get nice default icons
1937
(panel_ditem_editor_command_changed): guess the icon from the new
1938
command and update it. It's what the user wants in 99% of the case, to
1940
(panel_ditem_editor_sync_display): use setup_icon_entry()
1941
* gnome-desktop-item-edit.c: (find_uri_on_save_directory): kill
1942
(main): when the file for a .directory file doesn't exist, we don't
1943
need to register a save_uri function. It was impossible to edit a
1944
file that was not passed a non-absolute URI
1945
* launcher.c: (guess_icon_from_exec): moved in another file
1946
(setup_button): if we can't find an icon, use the launcher icon
1947
* button-widget.c: (button_widget_reload_pixbuf): add FIXME
1948
Sideeffect: fix bug #435150
1950
2007-05-07 Vincent Untz <vuntz@gnome.org>
1952
* panel-util.[ch]: (panel_util_make_exec_uri_for_desktop): new
1953
* panel-ditem-editor.c: (command_browse_chooser_response): use the new
1954
function to add quotes when necessary, since this is how the Exec
1955
works with spaces. Fixes creating launchers with empty spaces in the
1957
(panel_ditem_editor_sync_display): set the filename in the icon entry
1958
after having looked at the theme directory. Fixes the launcher editor
1959
to not save a localized Icon key with the whole path when there's only
1962
2007-05-07 Vincent Untz <vuntz@gnome.org>
1964
* panel-run-dialog.c: fix alignment of the run button again, and use
1965
markup for the label in there
1967
2007-05-01 Vincent Untz <vuntz@gnome.org>
1969
* panel-ditem-editor.c: use Location instead of File for the combo box
1972
2007-05-01 Vincent Untz <vuntz@gnome.org>
1974
* panel-applet-frame.c: (panel_applet_frame_cnx_broken): default the
1975
dialog response to "reload"
1976
(panel_applet_frame_loading_failed): default the response to "don't
1980
2007-05-01 Vincent Untz <vuntz@gnome.org>
1982
* panel-shell.c: (panel_shell_register_error_dialog): new, show the
1983
error dialog with a checkbox to let the user force the panel to not
1984
be restarted by gnome-session
1985
(panel_shell_register): force the panel to not be restarted if there's
1986
already one running and don't show an error dialog in this case
1987
* panel-session.[ch]: (panel_session_do_not_restart): new, to tell the
1988
session manager to not restart the panel
1991
2007-04-30 Vincent Untz <vuntz@gnome.org>
1993
* panel-util.[ch]: (missing_pixbuf): unused => kill
1994
* menu.c: remove useless include
1995
(menus_have_icons_changed): remove useless code
1997
==================== 2.18.1 ====================
1999
2007-04-10 Vincent Untz <vuntz@gnome.org>
2001
* panel-util.c: (panel_lock_screen_action_get_command): if EUID is 0,
2002
return NULL if the user wants to lock the screen: gnome-screensaver
2003
and xscreensaver don't support root locking the screen.
2006
2007-04-10 Vincent Untz <vuntz@gnome.org>
2008
* panel-run-dialog.c: (panel_run_dialog_destroy): call
2009
panel_run_dialog_disconnect_pixmap()
2010
(panel_run_dialog_disconnect_pixmap): new function, to disconnect
2012
Fix bug happening because we get a screen_changed signal when the
2013
widget is destroyed and the data read in the handler has already been
2015
Fix bug #413921. Patch by Ray Strode <rstrode@redhat.com>
2017
2007-04-10 Vincent Untz <vuntz@gnome.org>
2019
* panel-util.c: (panel_error_dialog): don't use the error message as a
2021
Fix bug #418186. Patch by Chris Wilson <chris@chris-wilson.co.uk>
2023
2007-03-15 Vincent Untz <vuntz@gnome.org>
2025
* gnome-panel.desktop.in: fix NoDisplay value to be valid
2027
==================== 2.18.0 ====================
2029
2007-03-06 Vincent Untz <vuntz@gnome.org>
2031
* Makefile.am: install gnome-panel.desktop for bug-buddy
2032
* gnome-panel/gnome-panel.desktop.in: new
2035
2007-03-05 Vincent Untz <vuntz@gnome.org>
2037
* panel-run-dialog.glade: fix alignment of a button. This is not a UI
2038
freeze break since this was wrongly introduced by glade with the
2039
commit on 2007-02-18.
2042
2007-02-27 Vincent Untz <vuntz@gnome.org>
2044
* menu.c: (setup_menuitem): don't connect to the size request signal
2045
if the icon size is invalid
2046
* panel-menu-items.c: (panel_place_menu_item_new),
2047
(panel_desktop_menu_item_new): use an invalid icon size for
2048
setup_menuitem() if we don't use icon
2049
Fix large height of the menubar, which forced the panel size to be at
2052
==================== 2.17.92 ====================
2054
2007-02-19 Vincent Untz <vuntz@gnome.org>
2056
* panel-run-dialog.c: add missing include
2057
* panel-menu-button.c: ditto
2058
* launcher.c: remove useless include
2059
* panel-action-button.c: ditto
2060
* panel-addto.c: ditto
2061
* panel-applet-frame.c: (panel_applet_frame_load_from_gconf): check
2062
that the iid is not an emptry string too
2063
* applet.c: (setup_an_item): get rid of setup_menuitem() and
2064
panel_create_menu() usage
2065
(panel_applet_create_menu): ditto
2066
* panel-context-menu.c: (panel_context_menu_build_edition): ditto
2067
(panel_context_menu_create): ditto
2069
2007-02-18 Vincent Untz <vuntz@gnome.org>
2071
* panel-menu-bar.c: (panel_menu_bar_enter_applications): call
2072
panel_menu_bar_update_text_gravity() and connect to the screen-changed
2073
signal because we need to set the gravity again
2074
(set_item_text_gravity): new, magic pango stuff
2075
(panel_menu_bar_update_text_gravity): new
2076
Fix bug #337443, based on patch by Behdad Esfahbod <behdad@gnome.org>
2078
2007-02-18 Vincent Untz <vuntz@gnome.org>
2080
Fix bug #343092: the image is not always 48x48 anymore
2082
* panel-run-dialog.c: (panel_run_dialog_set_icon): add argument to
2083
force the reloading of icon, move useless check so that it's useful,
2084
use GtkSettings to get the size of the icon instead of hardcoding 48
2085
(panel_run_dialog_find_command_idle): update for
2086
panel_run_dialog_set_icon() change
2087
(program_list_selection_changed): ditto
2088
(panel_run_dialog_style_set): new, reload icon
2089
(panel_run_dialog_screen_changed): ditto
2090
(panel_run_dialog_setup_pixmap): connect to style-set and
2091
screen-changed signal
2092
* panel-run-dialog.glade: don't force size of the image (and totally
2093
rewritten by glade3...)
2095
2007-02-17 Vincent Untz <vuntz@gnome.org>
2097
* panel-applet-frame.c: remove useless moving_focus_out field
2099
2007-02-17 Vincent Untz <vuntz@gnome.org>
2101
* panel-util.c: (panel_util_launch_from_key_file): get localized values
2103
This shows translated names in "Starting %s..."
2106
2007-02-17 Vincent Untz <vuntz@gnome.org>
2108
Fix error dialogs always popping up when there's an applet that fails
2109
to load and we move a launcher or add another applet.
2111
* panel-applet-frame.c: (panel_applet_frame_loading_failed): add the
2112
applet to a list of applet we don't want to reload
2113
(panel_applet_frame_loading_failed_response): if the user chooses to
2114
delete the applet, remove the id from the list of applet we don't want
2115
to reload, since it can be reused by another applet
2116
(panel_applet_frame_load): don't load the applet if we already failed
2119
2007-02-17 Vincent Untz <vuntz@gnome.org>
2121
* panel-menu-items.c: (panel_place_menu_item_new):
2122
(panel_desktop_menu_item_new): fix warnings introduced by last commit
2124
2007-02-17 Vincent Untz <vuntz@gnome.org>
2126
* panel-menu-items.c: (panel_place_menu_item_new):
2127
(panel_desktop_menu_item_new): use setup_menuitem() to correctly
2128
setup the menu items, so that mnemonics work
2129
Fix bug #402431, patch by Padraig O'Briain <padraig.obriain@sun.com>
2131
2007-02-17 Vincent Untz <vuntz@gnome.org>
2133
* panel-background-monitor.c:
2135
* panel-applet-frame.c:
2136
* panel-menu-items.c:
2138
* panel-menu-button.c:
2140
* panel-action-button.c:
2143
Use G_DEFINE_TYPE. This sometimes implied renaming _instance_init() to
2144
_init() and changed code using parent_class to use *_parent_class.
2146
2007-02-17 Vincent Untz <vuntz@gnome.org>
2148
* menu.c: (image_menuitem_size_request): we shouldn't forget about the
2149
border width and y thickness.
2150
Fix initial position of menu that is wrong: bug #321462, bug #331780.
2152
==================== 2.17.91 ====================
2154
2007-02-12 Vincent Untz <vuntz@gnome.org>
2156
* panel-toplevel.c: (panel_toplevel_hide_button_clicked): fix for RTL
2157
* panel-widget.[ch]: (panel_widget_size_allocate): start from the end of
2158
the panel when placing applets in RTL environments
2159
(panel_widget_get_cursorloc): get position in coordinates starting
2160
from the right in RTL environments
2161
* panel.c: (panel_popup_menu): use panel_widget_get_cursorloc
2162
Fix bug #149886, patch by yair <yairhr@yahoo.com>
2164
2007-02-12 Vincent Untz <vuntz@gnome.org>
2166
* panel-util.c: (panel_make_unique_desktop_uri): accept NULL arguments
2167
* launcher.c: (panel_launcher_find_writable_uri): remove useless ;
2168
* launcher_save_uri: (launcher_save_uri): look at URL key instead of
2169
Exec key when saving a Link .desktop file, and default to Name in
2171
Should fix bug #402462
2173
2007-02-06 Vincent Untz <vuntz@gnome.org>
2175
Revert changes about settings.menu.
2176
Based on patch by Denis Washington <dwashington@gmx.net>
2178
* panel-compatibility.[ch]:
2179
(panel_compatiblity_migrate_settings_menu_button): kill
2180
* menu.c: (submenu_to_display): fix callback data when appending a
2182
* panel-menu-items.c: (panel_desktop_menu_item_append_menu): brought
2184
(panel_desktop_menu_item_create_menu): use settings.menu as basis for
2185
the menu and append data later
2186
* panel-menu-button.c: don't migrate from settings.menu
2187
* panel-addto.c: (panel_addto_make_application_model):
2188
(panel_addto_make_application_model): use settings.menu
2190
2007-02-06 Vincent Untz <vuntz@gnome.org>
2192
* panel-menu-button.c: (panel_menu_button_accessible_ref_child): emit
2193
the "show" signal on the menu so that it's populated
2194
(panel_menu_button_accessible_get_name): new
2195
(panel_menu_button_accessible_class_init): set the accessible name
2197
Patch by Padraig O'Briain <padraig.obriain@sun.com>
2200
==================== 2.17.90 ====================
2202
2007-01-15 Vincent Untz <vuntz@gnome.org>
2204
Fix main menu not completely reloading when gmenu sends a change
2207
* menu.c: (submenu_to_display): append end of the menu if there's
2208
a function to append
2209
(create_fake_menu): we don't need panel-menu-needs-appending anymore
2210
(handle_gmenu_tree_changed): ditto
2211
(create_applications_menu): ditto
2212
(main_menu_append): ditto
2213
(create_main_menu): don't connect to the show signal to append the end
2214
of the menu, and instead add what we need to do this as object data
2216
2007-01-15 Vincent Untz <vuntz@gnome.org>
2218
* launcher.c: (panel_launcher_delete): get the uri of the file before
2219
trying to unlink it so that we actually unlink it. And do not try to
2220
unlink it if it doesn't live in the user's launchers path.
2222
2007-01-15 Vincent Untz <vuntz@gnome.org>
2224
* panel-util.c: (panel_make_unique_desktop_uri): if the basename of
2225
the source contains -4.desktop, then remove not only .desktop, but
2226
also -4 since it was probably added by us. Helps avoiding having
2227
gok-1-1-1-1-1-1.desktop filenames when moving the launcher...
2229
2007-01-15 Vincent Untz <vuntz@gnome.org>
2231
* applet.c: (panel_applet_position_menu): correctly position menu in
2235
2007-01-15 Vincent Untz <vuntz@gnome.org>
2237
* panel-properties-dialog.glade:
2238
* panel-run-dialog.glade: do not hardcode invisible_char in glade files
2239
Fix bug #393901, patch by Vitaliy Ischenko <betalb@gmail.com>
2241
2007-01-15 Vincent Untz <vuntz@gnome.org>
2243
* panel-widget.c: (panel_widget_applet_button_press_event): do not
2244
start dragging an applet when it's not possible because a grab is
2246
Fix bug #381549, patch by Amnon Aaronsohn <amnonaar@gmail.com>
2248
2007-01-15 Vincent Untz <vuntz@gnome.org>
2250
* panel-action-button.c: (panel_action_logout): check for the
2251
/apps/gnome-session/options/logout_prompt key to know whether we
2252
should show the logout dialog or just log out
2253
Based on patch by Ray Strode <rstrode@redhat.com>
2256
2007-01-14 Vincent Untz <vuntz@gnome.org>
2258
* gnome-desktop-item-edit.c: (main): fix some not-translated strings,
2259
do not require not --create-new for some actions
2262
2007-01-14 Vincent Untz <vuntz@gnome.org>
2264
* main.c: (main): don't accept all unknown options, and instead add
2265
back a hidden --profile argument that does nothing.
2267
2007-01-14 Vincent Untz <vuntz@gnome.org>
2269
* panel-background-monitor.c: (panel_background_monitor_setup_pixbuf):
2270
get the size of the window with gdk_window_get_geometry() instead of
2271
gdk_drawable_get_size() since the lattest might not give us the latest
2272
size, and this breaks when resizing the screen.
2273
Fix bug #353781, patch by <bugreports@nn7.de>
2275
2007-01-14 Vincent Untz <vuntz@gnome.org>
2277
* launcher.[ch]: (panel_launcher_get_uri): new, get the uri of the
2279
(drag_data_get_cb): correctly set the uri of the launcher for uri-list
2281
(panel_launcher_create_copy): get the uri of the file before copying
2282
the launcher so that we don't lose the launcher when moving it
2283
(because of copying a non-existing file and then deleting it), also
2284
returns whether the copy succeeded or not
2285
* panel.c: (drop_internal_icon): stop moving the icon if the copy
2290
2007-01-14 Vincent Untz <vuntz@gnome.org>
2292
* panel-multiscreen.c: define environ for darwin
2295
2007-01-14 Vincent Untz <vuntz@gnome.org>
2297
* gnome-desktop-item-edit.c: (main):
2298
* panel-addto.c: s/launcher-program/gnome-panel-launcher/ (new name
2302
2007-01-14 Vincent Untz <vuntz@gnome.org>
2304
* panel-stock-icons.h: use 22 as default size for menu icons
2305
* button-widget.c: force size of the icons to be those defined in the
2306
tango spec (16, 22, 32, 48)
2309
2007-01-14 Vincent Untz <vuntz@gnome.org>
2311
* panel-compatibility.[ch]:
2312
(panel_compatiblity_migrate_settings_menu_button): new, migrates the
2313
settings menu button objects to a simple launcher
2314
* panel-menu-button.c: do not use settings.menu anymore, handle
2316
(panel_menu_button_load_from_gconf): migrate the settings menu buttons
2318
* panel-menu-button.h: remove cruft
2319
* panel-addto.c: (panel_addto_make_application_model): list capplets
2320
from preferences.menu instead of settings.menu
2322
2007-01-14 Vincent Untz <vuntz@gnome.org>
2324
* panel-menu-items.c: (panel_desktop_menu_item_append_menu): kill
2325
(panel_desktop_menu_item_create_menu): we don't need to load
2326
settings.menu anymore and we can just load gnomecc.desktop instead
2327
(new menu layout), so we load everything there
2328
(panel_desktop_menu_item_new): use the computer icon for this menu
2332
2007-01-14 Vincent Untz <vuntz@gnome.org>
2334
Patch by Dan Williams <danw@novell.com>
2337
* panel-util.c (panel_make_unique_desktop_uri): rename from
2338
"panel_make_unique_uri" and remove the "suffix" arg, since this is
2339
only used to create desktop file URIs. Add a "source" arg and base
2340
the desktop file name on that, so that we end up with names like
2341
"epiphany.desktop" rather than "hadjaha-00818f1ab6.desktop"
2343
* launcher.c (launcher_save_uri, panel_launcher_create_from_info)
2344
(panel_launcher_create_copy):
2345
* menu.c (add_app_to_desktop):
2346
* panel-run-dialog.c (panel_run_dialog_create_desktop_file):
2349
2007-01-14 Vincent Untz <vuntz@gnome.org>
2351
* button-widget.[ch]: (button_widget_reload_pixbuf): use
2352
GTK_STOCK_MISSING_IMAGE when the icon can't be found, kill the error
2355
Fix bug #100964, patch by Thomas Wood <thos@gnome.org>
2357
2007-01-14 Vincent Untz <vuntz@gnome.org>
2359
* gnome-desktop-item-edit.c: (main): make it possible to create a
2360
.directory file with a name instead of forcing the name to
2363
2007-01-05 Luca Ferretti <elle.uca@libero.it>
2365
* panel-action-button.c:
2366
* panel-menu-items.c:
2367
Change some UI strings as suggested in
2368
http://live.gnome.org/UsabilityTeam/Menu
2371
2006-12-04 Kjartan Maraas <kmaraas@gnome.org>
2373
* panel-recent.c: (panel_recent_append_documents_menu):
2374
Remove a warning about a var being used uninitialized.
2375
Patch from JP Rosevear. Closes bug #363312.
2377
==================== 2.16.2 ====================
2379
2006-11-14 Paolo Borelli <pborelli@katamail.com>
2381
* panel-menu-items.c (panel_menu_items_append_lock_logout):
2382
* gnome-panel/menu.c (main_menu_append):
2385
2006-11-14 Vincent Untz <vuntz@gnome.org>
2387
* panel-bindings.c: (panel_bindings_initialise): fix order of the
2389
Patch by Claudio Saavedra <csaavedra@alumnos.utalca.cl>
2392
2006-11-14 Vincent Untz <vuntz@gnome.org>
2394
* panel-compatibility.c: (panel_compatibility_migrate_objects): plug
2396
* panel-gdm.c: fix structure
2397
(gdm_init_protocol_connection): plug leak
2398
* panel-menu-items.c: (panel_place_menu_item_append_gtk_bookmar):
2399
handle case when gnome_vfs_get_local_path_from_uri() returns NULL
2401
Based on patch by Kjartan Maraas <kmaraas@gnome.org>.
2403
2006-11-11 Dennis Cranston <dennis_cranston@yahoo.com>
2405
* panel-ditem-editor.c: (panel_ditem_editor_make_ui): Dialog
2406
spacing fix. (bug #350691).
2408
==================== 2.16.1 ====================
2410
2006-10-01 Vincent Untz <vuntz@gnome.org>
2412
* update-from-egg.sh: kill
2414
2006-10-01 Vincent Untz <vuntz@gnome.org>
2416
* launcher.c: (ask_about_launcher): don't do anything if the command
2418
* panel-addto.c: do not present the 'new launcher' option if the
2419
command line is disabled
2420
Fix bug #356112. Patch by Bastien Nocera <hadess@hadess.net>
2422
2006-09-06 Frederic Crozat <fcrozat@mandriva.com>
2424
* panel-util.c: (panel_launch_desktop_file):
2425
Fix crash when alacarte isn't installed (bug #354637).
2427
==================== 2.16.0 ====================
2429
2006-09-04 Vincent Untz <vuntz@gnome.org>
2431
* panel-ditem-editor.c: (type_combo_changed): don't update the key
2432
file when setting up the combo ui.
2433
Workaround for bug #353095. A proper fix will go in later.
2435
==================== 2.15.92 ====================
2437
2006-08-18 Vincent Untz <vuntz@gnome.org>
2439
* panel-recent.c: (recent_documents_clear_cb): reset
2440
clear_recent_dialog to NULL when the dialog is destroyed
2441
Caught by Matthias Clasen <mclasen@redhat.com>
2443
2006-08-18 Vincent Untz <vuntz@gnome.org>
2445
Don't throw a critical warning if the icon can't be found in the icon
2447
Patch by Jens Granseuer <jensgr@gmx.net>
2450
* panel-ditem-editor.c: (panel_ditem_editor_sync_display): test if the
2451
returned filename is NULL
2453
2006-08-15 Vincent Untz <vuntz@gnome.org>
2455
* panel-ditem-editor.c: (panel_ditem_editor_connect_signals): change
2456
order of callbacks, so we update the keyfile data before sending a
2459
2006-08-14 Vincent Untz <vuntz@gnome.org>
2461
* panel-recent.c: (panel_recent_append_documents_menu): use the size
2462
of the manager to determine initial sensitivity, instead of using a
2463
value filled with random data.
2464
Should fix bug #351326
2466
2006-08-10 Vincent Untz <vuntz@gnome.org>
2468
* panel-properties-dialog.c: don't forget properly setting up the
2470
* panel-properties-dialog.glade: change a name
2472
2006-08-10 Vincent Untz <vuntz@gnome.org>
2474
* panel-applet-frame.c: (panel_applet_frame_finalize): disconnect from
2475
the connection broken signal before doing anything else.
2476
Fix crash when quitting and an applet is crashing.
2478
2006-08-09 Vincent Untz <vuntz@gnome.org>
2480
* panel-context-menu.c: (panel_context_menu_show_about_dialog): update
2482
(panel_context_menu_remove_panel): renamed to...
2483
(panel_context_menu_delete_panel): ... and use the toplevel from the
2485
(panel_context_menu_setup_remove_panel_item): renamed to...
2486
(panel_context_menu_setup_delete_panel_item): ... and don't update the
2487
label since we always use the same
2488
(make_panel_submenu): renamed to...
2489
(panel_context_menu_build_edition): updated
2490
(panel_context_menu_create): updated and added a FIXME
2493
* panel-menu-items.c: (panel_place_menu_item_append_volumes): change
2494
icon for the network places
2496
2006-08-09 Vincent Untz <vuntz@gnome.org>
2498
* panel-menu-items.c: (panel_menu_items_append_from_desktop): pass
2499
uri and not path to setup_uri_drag
2500
(panel_place_menu_item_create_menu): for the Desktop menu item, use an
2501
URI, and not a relative path.
2503
2006-08-09 Vincent Untz <vuntz@gnome.org>
2505
* menu.c: (drag_data_get_menu_cb): pass a real uri and not a path as
2507
Should fix bug #343756
2509
* menu.c: (create_menuitem): remove the extension of the icon if it's
2510
not an absolute path (for drag icon)
2511
* panel-ditem-editor.c: (panel_ditem_editor_icon_changed): ditto: we
2512
don't want to save the extension
2513
* panel-util.[ch]: (panel_util_icon_remove_extension): new
2514
(panel_find_icon): use panel_util_icon_remove_extension
2516
2006-08-09 Vincent Untz <vuntz@gnome.org>
2518
* panel.c: (drop_nautilus_desktop_uri): new, to handle
2519
some of the x-nautilus-desktop: URI (trash, home, computer, network)
2520
(drop_urilist): remove useless variable, use
2521
drop_nautilus_desktop_uri() when it makes sense
2522
Fix part of bug #143580
2524
2006-08-09 Vincent Untz <vuntz@gnome.org>
2526
* panel-menu-bar.c: (panel_menu_bar_invoke_menu): fix crash when
2527
alacarte is not found
2528
(panel_menu_button_invoke_menu): ditto
2529
Based on patch by Ray Strode <rstrode@redhat.com>
2532
2006-08-09 Vincent Untz <vuntz@gnome.org>
2534
* panel-run-dialog.h: update icon name for run dialog for icon name
2537
2006-08-08 Vincent Untz <vuntz@gnome.org>
2539
* gnome-desktop-item-edit.c: (is_an_uri): kill
2540
(get_uri): rewrote, with nice gnome_vfs_uri_make_full_from_relative()
2541
to resolve relative paths
2542
(main): report correct error if the file exists but --create-new was
2546
2006-08-08 Vincent Untz <vuntz@gnome.org>
2548
* panel-toplevel.c: (panel_toplevel_start_animation): when canceling
2549
the animation, really cancel it and remember we're not animating!
2551
Patch by ŠŠ¾ŃŠ°Š½ Š ŠøŠ»Š°Šŗ <zoran.rilak@gmail.com>
2553
==================== 2.15.91 ====================
2555
2006-08-08 Vincent Untz <vuntz@gnome.org>
2557
* drawer.h: forgot the drawer icon
2559
2006-08-08 Vincent Untz <vuntz@gnome.org>
2561
* panel-force-quit.h:
2563
* panel-menu-button.h:
2564
* panel-separator.h:
2565
* panel-stock-icons.[ch]: update for icon name changes
2567
2006-08-07 Vincent Untz <vuntz@gnome.org>
2569
* button-widget.[ch]: (button_widget_reload_pixbuf): remember the
2570
error dialog about the icon being not found and don't show a second
2571
one if we already have one and automatically destroy it if we find an
2573
(button_widget_instance_init): init the dialog
2575
2006-08-07 Vincent Untz <vuntz@gnome.org>
2577
* panel-menu-items.c: (panel_desktop_menu_item_new): use System
2578
instead of Desktop in the menu bar
2580
2006-08-06 Vincent Untz <vuntz@gnome.org>
2582
New dialog to edit the launchers!
2583
(and my biggest ChangeLog entry ever! awesome!)
2585
* Makefile.am: add panel-ditem-editor.[ch] and remove menu-ditem.[ch]
2586
* panel-ditem-editor.[ch]: new, with all the magic :-)
2587
* menu-ditem.[ch]: killed
2588
* gnome-desktop-item-edit.c: mark string for translation,
2589
(validate_for_filename): copied from menu-ditem.c
2590
(get_unique_name): ditto
2591
(find_uri_on_save_directory): new, to get the name when creating a
2593
(find_uri_on_save): new, ditto for .desktop files
2594
(error_reported): new, to report errors from the editor
2595
(main): mark string for translation, update with PanelDItemEditor love
2596
* launcher.[ch]: (panel_launcher_get_filename): updated so that we
2597
don't consider non-local files as okay
2598
(panel_launcher_save_ditem): kill
2599
(launch_url): moved to GKeyFile, updated for panel_error_dialog()
2601
(launcher_launch): ditto
2602
(drag_data_received_cb): updated to use
2603
panel_util_launch_from_key_file(), updated for panel_error_dialog()
2605
(free_launcher): updated
2606
(panel_launcher_delete): updated for location change
2607
(drag_data_get_cb): updated for location change
2608
(create_launcher): moved to GKeyFile, make sure that if the user edits
2609
a desktop file from a datadir, the desktop file will get a random name
2610
(guess_icon_from_exec): moved to GKeyFile
2611
(setup_button): ditto
2612
(panel_launcher_hoard): renamed to panel_launcher_find_writable_uri()
2614
(panel_launcher_find_writable_uri): ... change the function to only
2615
get a filename (without saving), also, make it more understandable :-)
2616
(properties_apply): kill
2617
(launcher_changed): rewrote, update button look
2618
(properties_close_callback): kill
2619
(launcher_command_changed): do what we did in previous
2620
launcher_changed(), ie: reset StartupNotify
2621
(launcher_save_uri): function to get uri where the PanelDItemEditor
2623
(set_revert_insensitive): kill
2624
(set_revert_sensitive): kill
2625
(window_response): kill
2626
(launcher_saved): update location gconf key if we had to change the
2628
(create_properties_dialog): kill
2629
(launcher_error_reported): report error
2630
(launcher_properties): move to PanelDItemEditor
2631
(load_launcher_applet): fix leak in case of error
2632
(launcher_load_from_gconf): update string
2633
(ensure_item_localefiled): kill
2634
(launcher_new_saved): add the launcher to the profile
2635
(really_add_launcher): kill
2636
(ask_about_launcher): move to PanelDItemEditor
2637
(panel_launcher_create_from_info): move to panel_util_key_file*
2638
(panel_launcher_create_with_id): updated since panel_launcher_hoard()
2640
(launcher_save): kill
2641
(find_launcher): updated
2642
* panel-util.[ch]: (panel_ditem_launch): make this private
2643
(panel_util_launch_from_key_file): new, to use gnome-desktop to launch
2644
a .desktop file in a GKeyFile
2645
(panel_launch_desktop_file): updated for panel_ditem_launch() change
2646
(panel_dialog): kill (well, integrated in panel_error_dialog())
2647
(panel_error_dialog): use GtkMessageDialog API to set the secondary
2648
text, make it possible to provide a parent window
2649
(panel_show_help): updated for panel_error_dialog() change
2650
(panel_lock_screen_action): ditto
2651
(panel_util_key_file_to_file): handle both URI and paths
2652
(panel_util_key_file_load_from_uri): new
2653
(panel_util_key_file_get_boolean): new
2654
(panel_util_key_file_set_locale_string): new
2655
(panel_util_key_file_remove_locale_key): new
2656
(and some other panel_util_key_file* macros): new
2658
* applet.c: updated for launcher_properties() change
2659
(panel_applet_register): update string
2660
* panel-applet-frame.c: (panel_applet_frame_activated): ditto
2661
* button-widget.c: (button_widget_reload_pixbuf): updated for
2662
panel_error_dialog() change
2663
* panel-action-button.c: (panel_action_search): ditto
2664
(panel_action_connect_server): ditto
2665
* panel-context-menu.c: (panel_context_menu_remove_panel): ditto
2666
(panel_context_menu_setup_remove_panel_it...): update string
2667
* panel-marshal.list: updated, and removed useless stuff
2668
* panel-menu-bar.c: (panel_menu_bar_invoke_menu): updated for
2669
panel_error_dialog() change
2670
* panel-menu-button.c: (panel_menu_button_invoke_menu): ditto
2671
* panel-menu-items.c: (activate_uri): ditto
2672
(panel_menu_item_activate_desktop_file): dittp
2673
(panel_menu_items_append_from_desktop): use panel_key_file* functions
2674
* panel-properties-dialog.c: (panel_properties_dialog_present):
2675
updated for panel_error_dialog() change
2676
* panel-recent.c: (recent_documents_activate_cb): ditto
2677
* panel-run-dialog.c: (panel_run_dialog_launch_command): ditto
2678
(panel_run_dialog_show_url): ditto
2679
(panel_run_dialog_execute): ditto
2680
(program_list_selection_changed): use panel_key_file* functions
2681
(panel_run_dialog_create_desktop_file): ditto
2682
(panel_run_dialog_present): updated for panel_error_dialog() change
2683
* panel-shell.c: (panel_shell_register): ditto
2684
* panel-widget.c: (panel_widget_class_init): use glib marshal
2687
2006-08-05 Vincent Untz <vuntz@gnome.org>
2689
* panel-run-dialog.c: (panel-run-dialog.c):
2690
(program_list_selection_changed): fix leaks introduced in the last
2691
commit, don't get useless name
2693
2006-08-05 Vincent Untz <vuntz@gnome.org>
2695
Remove usage of GnomeDesktopItem in some places
2697
* menu.c: remove useless include
2699
* panel-action-button.c: (panel_action_search): simply call
2700
panel_launch_desktop_file() instead of duplicating code
2702
* panel-menu-items.c: (panel_menu_item_activate_desktop_file): call
2703
panel_launch_desktop_file()
2705
* panel-run-dialog.c: keep the path to the currently selected desktop
2707
(panel_run_dialog_destroy): nullify more stuff
2708
(panel_run_dialog_find_command_idle): remove FIXME that was wrong
2709
(program_list_selection_changed): yay, GKeyFile love!, also show all
2710
programs in the program list and remember the path to the desktop file
2711
(entry_event): unselect the currently selected program in the list
2712
since the user has typed something
2713
(entry_changed): updated
2714
(panel_run_dialog_create_desktop_file): new, with GKeyFile love and
2715
mostly copied from the old pixmap_drag_data_get()
2716
(pixmap_drag_data_get): use the uri of the desktop file of the
2717
currently selected program if available
2719
* panel-util.[ch]: (panel_launch_desktop_file): load from file (and
2720
not from basename) if the path is absolute, test if fallback_exec is
2721
NULL before using it
2722
(panel_util_key_file_new_desktop): new, to create desktop files from
2724
(panel_util_key_file_to_file): new
2726
2006-07-28 Vincent Untz <vuntz@gnome.org>
2728
Port from egg-recent to GtkRecent.
2730
* Makefile.am: remove egg stuff
2732
* panel-menu-items.c: keep a GtkRecentManager instead of
2734
(panel_place_menu_item_create_menu): updated
2735
(panel_place_menu_item_recreate_menu): updated
2736
(panel_place_menu_item_finalize): updated
2737
(panel_place_menu_item_instance_init): get the default recent manager
2738
* panel-recent.[ch]: (recent_documents_activate_cb): updated for
2740
(panel_recent_model_changed_cb): renamed to...
2741
(panel_recent_manager_changed_cb): and updated
2742
(clear_dialog_response): updated
2743
(recent_documents_clear_cb): updated
2744
(recent_documents_tooltip_func): kill, GTK+ does this for us
2745
(panel_recent_append_documents_menu): updated with GtkRecent
2747
2006-07-28 Vincent Untz <vuntz@gnome.org>
2749
* panel-applet-frame.c: (panel_applet_frame_cnx_broken): check whether
2750
our X connection is still alive before displaying the dialog. (See bug
2751
#34803 for rationale)
2752
* xstuff.[ch]: (xstuff_xio_error_handler): new
2753
(xstuff_is_display_dead): new
2754
(xstuff_init): new, installs the xio error handler
2755
* main.c: (main): call xstuff_init()
2756
Based on patch by Ray Strode <rstrode@redhat.com> and
2757
FrƩdƩric Crozat <fcrozat@mandriva.com>
2760
==================== 2.15.90 ====================
2762
2006-07-24 Vincent Untz <vuntz@gnome.org>
2764
* Makefile.am: don't use eggaccelerators anymore
2765
* eggaccelerators.[ch]: kill
2766
* panel-bindings.c: (panel_binding_set_from_string): directly use
2767
gtk_accelerator_parse() now
2769
2006-07-24 Vincent Untz <vuntz@gnome.org>
2771
Use gnome-power-manager to implement suspend/hibernate.
2772
Based on patch by Ray Strode <rstrode@redhat.com>
2775
* panel-power-manager.[ch]: new files
2776
* Makefile.am: add new files
2777
* panel-logout.c: (panel_logout_init) connect to the power manager
2778
(panel_logout_destroy): unref the power manager
2779
(panel_logout_response): keep a ref to the power manager since we need
2780
it for this function, don't use GDM to hibernate since it has the nasty
2781
side-effect of loggint out the user..., implement suspend
2782
(panel_logout_new): add buttons to suspend and hibernate
2784
* panel-enums.h: reindent one line
2785
* panel-menu-items.h: ditto
2787
2006-07-24 Vincent Untz <vuntz@gnome.org>
2789
Use alacarte when available to edit menus.
2790
Based on patch by Frederic Crozat <fcrozat@mandriva.com>.
2792
* panel-menu-bar.c: (panel_menu_bar_load): look for alacarte before
2793
including the Edit menu item
2794
(panel_menu_bar_invoke_menu): try launching alacarte before
2796
* panel-menu-button.c: (panel_menu_button_load): look for alacarte
2797
before including the Edit menu item
2798
(panel_menu_button_invoke_menu): try launching alacarte before
2801
2006-07-23 Vincent Untz <vuntz@gnome.org>
2803
* panel-menu-items.c: (panel_place_menu_item_append_gtk_bookmarks):
2804
use gnome_vfs_unescape_string_for_display() instead of
2805
g_filename_display_basename() to make prettier strings.
2808
2006-07-23 Vincent Untz <vuntz@gnome.org>
2810
Send a changed signal from the background monitor when the screen size
2813
* panel-background-monitor.c: (panel_background_monitor_changed): new
2814
(panel_background_monitor_finalize): disconnect from the size-changed
2816
(panel_background_monitor_connect_to_screen): connect to the
2817
size-changed screen signal
2818
(panel_background_monitor_xevent_filter): call
2819
panel_background_monitor_changed() instead of having the code here
2820
Patch by Benjamin Otte <in7y118@public.uni-hamburg.de>
2822
2006-07-23 Vincent Untz <vuntz@gnome.org>
2824
* panel-util.c: (panel_util_cairo_rgbdata_to_pixbuf): fix endianness
2825
issue causing corrupted background. Based on patch by Andrew Johnson
2826
<acjgenius@earthlink.net>. Fix bug #347510.
2828
==================== 2.14.2 ====================
2830
2006-05-29 Vincent Untz <vuntz@gnome.org>
2832
* panel-context-menu.c: (panel_context_menu_show_about_dialog):
2833
destroy the about dialog on response. Fix bug #341517
2835
2006-04-25 Christian Neumair <chris@gnome-de.org>
2837
* panel-menu-items.c: (panel_place_menu_item_sort_volume),
2838
(panel_place_menu_item_append_volumes):
2839
Get rid of custom volume sorting code, use gnome_vfs_volume_compare.
2840
Thanks to Xavier Claessens <xclaesse@gmail.com>
2842
==================== 2.14.1 ====================
2844
2006-03-25 Vincent Untz <vuntz@gnome.org>
2846
* launcher.c: (launch_url): make a canonical uri before showing it
2849
2006-03-24 Vincent Untz <vuntz@gnome.org>
2851
* panel-menu-items.c: (panel_desktop_menu_item_append_menu): fix
2853
* main.c: (main): plug GnomeProgram leak
2854
* gnome-desktop-item-edit.c: (main): ditto
2857
2006-03-24 Vincent Untz <vuntz@gnome.org>
2859
* panel-menu-items.c: (panel_place_menu_item_append_gtk_bookmarks):
2860
special case local files that are not in a file: URI.
2861
Should fix bug #335456.
2862
(panel_desktop_menu_item_append_menu): don't leak the list of children
2863
* main.c: (main): don't free the GOption context: libgnome will do it
2864
* gnome-desktop-item-edit.c: (main): ditto, s/fprintf/g_printerr/
2866
==================== 2.14.0 ====================
2868
2006-03-07 Vincent Untz <vuntz@gnome.org>
2870
Fix underscores not being visible in menu items. Fix bug #332526
2872
* menu.c: (menu_escape_underscores_and_prepend): new function to
2873
prepend an underscore and escape all underscores in a label
2874
(setup_menuitem): use menu_escape_underscores_and_prepend
2876
2006-03-06 Vincent Untz <vuntz@gnome.org>
2878
* panel-menu-bar.c: (panel_menu_bar_invoke_menu): fix help id
2881
2006-03-06 Vincent Untz <vuntz@gnome.org>
2883
* panel-applet-frame.c: (panel_applet_frame_paint): fix orientation of
2885
* panel-toplevel.c: (panel_toplevel_expose): ditto
2886
Thanks to Benjamin Berg. Fix bug #329228
2888
2006-03-06 Vincent Untz <vuntz@gnome.org>
2890
* main.c: (main): ignore unknown options passed to the panel
2891
Patch by Ray Strode <rstrode@redhat.com>
2892
Fix bugs #332486, #331769, #332743
2894
2006-02-27 Vincent Untz <vuntz@gnome.org>
2896
* panel-logout.c: (panel_logout_new): remove the Suspend button for
2897
2.14. It's not working as expected (it logs the user out) and we
2898
didn't have it in gnome-session anyway. We'll put it back thanks to
2902
==================== 2.13.91 ====================
2904
2006-02-12 Vincent Untz <vuntz@gnome.org>
2906
* Makefile.am: put the x libs after the GNOME libs for the links. It
2907
seems it helps in some cases. Fix bug #328852
2909
2006-02-12 Vincent Untz <vuntz@gnome.org>
2911
Use GOption instead of popt
2913
* Makefile.am: don't link with popt
2914
* gnome-desktop-item-edit.c: (main): use GOption
2915
* main.c: (main): ditto
2917
2006-02-12 Vincent Untz <vuntz@gnome.org>
2919
* menu.c: (create_item_context_menu): add accelerator for items
2921
Fix invisible mnemonics in menu. Based on patch by Matthias Clasen
2922
<mclasen@redhat.com>. Fix bug #300730
2924
* menu.[ch]: (setup_mnemonic): kill
2925
(setup_invisible_mnemonic): kill
2926
(setup_menuitem): use an GtkAccelLabel for items with invisible
2928
(setup_menu_item_with_icon): update the parameter name so that it's
2929
clear that it creates a mnemonic if used
2931
2006-02-12 Vincent Untz <vuntz@gnome.org>
2933
* panel-action-button.c: add "..." at the end of the Shut Down and Log
2935
* panel-menu-items.c: (panel_menu_items_append_lock_logout): ditto
2938
2006-02-12 Vincent Untz <vuntz@gnome.org>
2940
* panel-run-dialog.c: (entry_changed): don't change a non-existing
2941
label when the program list is disabled. Fix a critical warning.
2944
2006-02-11 Vincent Untz <vuntz@gnome.org>
2946
* panel-logout.c: (panel_logout_timeout): don't change countdown every
2947
second, but every 10 seconds when there's more than 30 seconds to wait
2949
2006-02-11 Vincent Untz <vuntz@gnome.org>
2951
* panel-action-button.c: (panel_action_shutdown_is_disabled): new,
2952
check if GDM supports the shutdown action
2953
use this for the shutdown action button
2955
2006-02-11 Vincent Untz <vuntz@gnome.org>
2957
* panel-gdm.c: use SET_SAFE_LOGOUT_ACTION instead of SET_LOGOUT_ACTION
2960
2006-02-11 Vincent Untz <vuntz@gnome.org>
2962
* launcher.c: add a FIXME
2964
* panel-action-button.c: remove the shut down reference in tooltip
2965
* panel-menu-items.c: ditto
2966
Fix bugs #329610 and #330499
2968
* panel-logout.c: (panel_logout_new): s/Reboot/Restart/
2971
==================== 2.13.90 ====================
2973
2006-01-27 Vincent Untz <vuntz@gnome.org>
2975
* Makefile.am: fix distcheck
2977
2006-01-26 Kjartan Maraas <kmaraas@gnome.org>
2979
* panel.c: (drop_internal_applet): Fix a compiler warning.
2981
2006-01-23 Vincent Untz <vuntz@gnome.org>
2983
* panel-profile.c: (panel_profile_load_added_ids): don't load the
2984
object if the id is null, so we're more solid against gconf breakage
2985
(panel_profile_load_list): same here
2987
* panel-separator.c: (panel_separator_set_orientation): fix C99-ism
2988
Patch by Jens Granseuer <jensgr@gmx.net>
2990
2006-01-22 Vincent Untz <vuntz@gnome.org>
2992
* Makefile.am: don't remove panel-default-setup.entries in "make
2995
2006-01-22 Vincent Untz <vuntz@gnome.org>
2997
* GNOME_Panel_Popup.xml: give a verb to the separator so we can
2999
* panel-applet-frame.c: (panel_applet_frame_sync_menu_state): hide
3000
separator if the panel is locked down
3001
I don't really understand why it hides both separators (since the code
3002
should only requests that one of them is hidden), but since it's what
3003
we want, let's just be happy.
3006
2006-01-22 Vincent Untz <vuntz@gnome.org>
3008
* GNOME_Panel_Popup.xml: change accelerator for Lock To Panel
3009
* applet.c: (panel_applet_create_menu): ditto
3012
* panel-action-button.c: add a comment about strings
3013
* panel-menu-items[.ch]: (panel_menu_items_create_action_item_full):
3014
new based on panel_menu_items_create_action_item() but can force a
3016
(panel_menu_items_create_action_item): updated to use
3017
panel_menu_items_create_action_item_full()
3018
(panel_menu_items_append_lock_logout): put the username in the
3019
label/tooltip for Log out
3022
* panel-menu-items.c: (panel_place_menu_item_append_gtk_bookmarks):
3024
(panel_place_menu_item_sort_volume): remove warning
3025
(panel_place_menu_item_append_volumes): use an icon for the network
3028
* panel-addto.c: make the launcher description a bit better
3031
* panel-menu-bar.c: (panel_menu_bar_enter_places): simplify the
3035
* panel-properties-dialog.c: add context to the orientation strings
3036
(panel_properties_dialog_setup_orientation): use Q_()
3039
2006-01-22 Vincent Untz <vuntz@gnome.org>
3041
* panel-action-button.c: add back the screenshot action in an array
3042
(panel_action_get_is_deprecated): new
3043
(panel_action_get_is_disabled): check if the action is deprecated
3044
(panel_action_button_set_type): ditto
3045
(panel_action_button_load_from_gconf): beautify code
3046
(panel_action_button_load_from_drag): check if the action is deprecated
3049
2006-01-22 Vincent Untz <vuntz@gnome.org>
3051
Remove the screenshot action button and migrates the existing config
3052
to use gnome-screenshot.desktop
3054
* panel-action-button.c: remove screenshot stuff
3055
(panel_action_screenshot): kill
3056
(panel_action_button_load_from_gconf): if the type of the action is
3057
screenshot, migrate this object
3058
* panel-compatibility.[ch]:
3059
(panel_compatiblity_migrate_screenshot_action): new, migrates the
3060
screenshot action object to a simple launcher
3061
* panel-enums.h: mark PANEL_ACTION_SCREENSHOT as deprecated
3062
* panel-menu-items.c: (panel_desktop_menu_item_append_menu): remove
3065
2006-01-22 Vincent Untz <vuntz@gnome.org>
3067
* .cvsignore: remove panel-default-setup.entries from here
3068
* panel-default-setup.entries.in: kill
3069
* panel-default-setup.entries: add back, without DATADIR
3070
* Makefile.am: remove all the stuff related to the generation of
3071
panel-default-setup.entries
3072
* launcher.c: (create_launcher): look in the XDG data dirs if the
3073
.desktop file exists, so we can use epiphany.desktop without telling
3074
the panel the whole path.
3076
2006-01-22 Vincent Untz <vuntz@gnome.org>
3078
* panel-menu-items.c: (panel_desktop_menu_item_append_menu): don't add
3079
the gnome-screenshot item. It's now in Applications->Accessories.
3082
2006-01-21 Vincent Untz <vuntz@gnome.org>
3084
* panel-logout.c: (panel_logout_response): handle cases where the
3085
dialog is deleted or programmatically destroyed
3088
2006-01-21 Vincent Untz <vuntz@gnome.org>
3090
* egg-recent-view-gtk.c: update from libegg
3092
2006-01-20 Vincent Untz <vuntz@gnome.org>
3094
* panel-applet-frame.c: (panel_applet_frame_load_from_gconf): don't
3095
load the applet if the bonobo_iid is not set, eg.
3096
Could fix bug #326942
3098
2006-01-20 Vincent Untz <vuntz@gnome.org>
3100
* panel-addto.c: (panel_addto_present_applications): change the search
3101
entry text after switching models so that it gets refiltered
3102
(panel_addto_filter_func): if the iter is a root in a tree model, just
3104
Fix bug #327612 and bug #327613.
3106
2006-01-20 Elijah Newren <newren gmail com>
3108
Revert part of patch from 2006-01-17. Fixes #327878.
3110
* panel-run-dialog.c: (panel_run_dialog_new): we do too need the
3112
(panel_run_dialog_present): update for panel_run_dialog_new()
3115
2006-01-17 Dennis Cranston <dennis_cranston@yahoo.com>
3117
* panel-logout.c: (panel_logout_new): Simplify the logout &
3118
shut down dialog questions. Fix bug #327429.
3120
2006-01-17 Vincent Untz <vuntz@gnome.org>
3122
Fix crash with logout dialogs when esd and sound events are enabled.
3125
* panel-logout.c: (panel_logout_set_property): new
3126
(panel_logout_get_property): new
3127
(panel_logout_class_init): override the "message-type" property of
3128
GtkMessageDialog, so that our code is called when libgnomeui reads
3129
the property (and not gtk+ code).
3131
2006-01-17 Vincent Untz <vuntz@gnome.org>
3133
* panel-action-button.c: (panel_action_logout): update to pass the
3134
screen and the activate time to panel_logout_new()
3135
(panel_action_shutdown): ditto
3136
(panel_action_run_program): indentation love
3137
* panel-logout.[ch]: (panel_logout_new): put the window on the correct
3138
screen, present it with the correct time if it already exists
3139
* panel-run-dialog.c: (panel_run_dialog_new): we don't need the
3141
(panel_run_dialog_present): use gtk_window_present_with_time(), update
3142
for panel_run_dialog_new() change
3144
2006-01-17 Vincent Untz <vuntz@gnome.org>
3146
* panel-logout.c: (panel_logout_init): put the window above other
3147
windows and on all workspaces by default
3149
2006-01-17 Vincent Untz <vuntz@gnome.org>
3151
* panel-logout.c: (panel_logout_init): init timeout to 0
3152
(panel_logout_destroy): forget the current dialog
3153
(panel_logout_set_timeout): new, set the timeout
3154
(panel_logout_new): if there's already a logout dialog of the same
3155
type, use it; if it's of another type, destroy it.
3156
use panel_logout_set_timeout()
3158
2006-01-17 Vincent Untz <vuntz@gnome.org>
3160
* panel-logout.c: (panel_logout_timeout): fix timeout label so that
3161
it really show the number of seconds. Fix bug #327321.
3163
==================== 2.13.5 ====================
3165
2006-01-16 Vincent Untz <vuntz@gnome.org>
3167
* panel-logout.c: (panel_logout_new): fix strings
3169
2006-01-16 Vincent Untz <vuntz@gnome.org>
3171
* panel-action-button.c: s/Shut down/Shut Down/
3173
2006-01-16 Vincent Untz <vuntz@gnome.org>
3175
* panel-menu-items.c: (panel_place_menu_item_append_gtk_bookmarks):
3176
fix display for bookmarks on NFS shares. Fix bug #325757
3178
2006-01-16 Vincent Untz <vuntz@gnome.org>
3180
* panel-menu-items.c: (panel_place_menu_item_append_gtk_bookmarks):
3181
fix display for remote bookmarks. Patch by Bastien Nocera
3185
* panel-profile.c: fix typo in name of
3186
panel_profile_remove_commit_timeout
3188
2006-01-16 Vincent Untz <vuntz@gnome.org>
3190
Add new logout/shutdown dialogs.
3192
* Makefile.am: add panel-logout.[ch] and panel-gdm.[ch]
3193
* panel-logout.[ch]: new, implements a logout dialog
3194
* panel-gdm.[ch]: new, for communications with gdm
3195
* panel-action-button.c: add a new shutdown button
3196
(panel_action_logout): remove the recursion guard from here and use
3197
the new logout dialog
3198
(panel_action_shutdown): new
3199
* panel-enums.h: add the new shutdown action button
3200
* panel-menu-items.c: (panel_place_menu_item_append_gtk_bookmarks):
3202
(panel_menu_items_append_lock_logout): append the shutdown item
3203
* panel-session.c: (panel_session_request_logout): add recursion guard
3204
here, don't tell gnome-session to show its logout dialog
3206
2006-01-14 Vincent Untz <vuntz@gnome.org>
3208
Forgot this changelog entry:
3209
* menu.c: (handle_gmenu_tree_changed): re-load the menu in the idle
3212
2006-01-14 Vincent Untz <vuntz@gnome.org>
3214
* panel-addto.c: use the separator icon
3215
* panel-separator.h: define the separator icon
3217
2006-01-14 Vincent Untz <vuntz@gnome.org>
3219
Add a search entry to the "add to panel" dialog.
3221
* panel-addto.c: (panel_addto_drag_begin_cb): use the child model of
3223
(panel_addto_make_applet_model): create a filter model, don't return a
3224
model since this is useless
3225
(panel_addto_make_application_model): ditto
3226
(panel_addto_add_item): don't return a useless value
3227
(panel_addto_dialog_response): use the child model of the filter model
3228
(panel_addto_present_applications): small update for the filter, focus
3229
the search entry, save the text from the search entry
3230
(panel_addto_present_applets): small update for the filter, focus the
3231
search entry, put the previous search text when there was one
3232
(panel_addto_dialog_free): free the new stuff
3233
(panel_addto_name_change): change the string
3234
(panel_addto_filter_func): new function to know if an item is visible
3235
(panel_addto_search_entry_changed): new, refilter the model and select
3237
(panel_addto_search_entry_activated): new, do as if the user clicked
3239
(panel_addto_selection_changed): use the child model of the filter
3240
(panel_addto_dialog_new): add a search entry and connect the signals
3242
* panel-run-dialog.c: (panel_run_dialog_add_items_idle): add a FIXME
3243
(program_list_selection_changed): use the child model of the filter
3245
2006-01-13 Vincent Untz <vuntz@gnome.org>
3247
Add separator internal applet. Based on patch by Carlos Garcia Campos
3248
<carlosg@gnome.org>. Fix bug #300593
3250
* Makefile.am: add new files
3251
* applet.c: (panel_applet_set_dnd_enabled): handle the separator case
3252
(applet_callback_callback): ditto
3253
(panel_applet_load_idle_handler): ditto
3254
* panel-addto.c: add separator item
3255
(panel_addto_add_item): handle separator case
3256
* panel-enums.h: add separator to the list of internal objects
3257
* panel-profile.c: add separator to the object map list
3258
* panel-separator.[ch]: new
3259
* panel.c: (orientation_change): handle separator case,
3260
(back_change): ditto
3261
(drop_internal_applet): ditto
3263
2006-01-11 Sebastien Bacher <seb128@debian.org>
3265
* panel-menu-items.c: (panel_place_menu_item_create_menu):
3266
CD recording item for the Places menu (Fixes #308419)
3268
2006-01-11 Vincent Untz <vuntz@gnome.org>
3270
* panel-run-dialog.c: (entry_changed): remove the idle source looking
3271
for an icon if there's no text in the entry.
3272
Fix crasher in bug #326360 (caused by a critical warning)
3274
2006-01-11 Vincent Untz <vuntz@gnome.org>
3276
* Makefile.am: remove panel-gdk-pixbuf-extensions.[ch]
3277
* panel-gdk-pixbuf-extensions.[ch]: kill
3278
* panel-background-monitor.c:
3279
(panel_background_monitor_tile_background): use cairo and
3280
panel_util_cairo_rgbdata_to_pixbuf() to tile the image
3281
* panel-background.c: (composite_image_onto_desktop): use cairo
3282
(load_background_file): add a FIXME, update alpha so we know if the
3284
* panel-util.[ch]: (panel_util_cairo_rgbdata_to_pixbuf): new, to
3285
convert data created by cairo to a GdkPixbuf
3288
2006-01-09 Vincent Untz <vuntz@gnome.org>
3290
* panel-background.c: (panel_background_prepare): notify for change
3291
here instead of... (since we want to notify for change when the size
3292
of panel changes, eg)
3293
(panel_background_composite): here
3294
(panel_background_set_image_background_on_widget): rewrite with cairo
3295
goodness so that we correctly handle tiles
3296
Fix part of bug #164349.
3297
* panel-menu-bar.c: (panel_menu_bar_setup_tooltip): add a FIXME
3299
2006-01-06 William Jon McCann <mccann@jhu.edu>
3301
* panel-util.c (panel_lock_screen_action_get_command):
3302
* panel-action-button.c (panel_action_lock_setup_menu):
3303
Remove the screensaver exit and restart commands. I think
3304
that was for restarting xscreensaver to activate new prefs.
3307
==================== 2.13.4 ====================
3309
2006-01-01 Vincent Untz <vuntz@gnome.org>
3311
* panel-addto.c: (panel_addto_dialog_new): register the open dialog so
3312
that it gets destroyed when the PanelWidget is destroyed. Fix a crash
3313
when killing the panel with the Add to dialog open.
3314
* panel-properties-dialog.c: (panel_properties_dialog_new): ditto, but
3316
* panel.c: (panel_delete): don't push twice the autohide disabler
3318
2006-01-01 Vincent Untz <vuntz@gnome.org>
3320
Fix crash when a toplevel is destroyed before the location changes
3323
* panel-profile.c: (panel_porfile_remove_commit_timeout): new
3324
(panel_profile_set_commit_timeout): add a destroy notify
3326
2006-01-01 Vincent Untz <vuntz@gnome.org>
3328
Hide panel menu tooltips when a menu is activated. Fixes bug #325094
3329
Based on path by Christian Kirbach
3330
<Christian.Kirbach@student.uni-siegen.de>
3332
* panel-menu-bar.c: (panel_menu_bar_reinit_tooltip): new, reset the
3334
(panel_menu_bar_hide_tooltips): new, remove tooltip on the menu bar
3335
(panel_menu_bar_setup_tooltip): new, with code from
3336
panel_menu_bar_instance_init() and also connects to the correct
3337
signals so that the tooltip disappear when we open a menu
3338
(panel_menu_bar_instance_init): just use
3339
panel_menu_bar_setup_tooltip()
3341
2005-12-31 Vincent Untz <vuntz@gnome.org>
3343
* menu.c: (add_menu_to_panel): use gnome-menus functions to get the
3344
filename of the menu
3345
(create_item_context_menu): ditto, don't attach the menu filename to
3347
(submenu_to_display): make code more readable
3348
(create_menuitem): add FIXME, fix tooltip for aliased directory
3349
(create_applications_menu): don't attach the menu filename to an
3352
2005-12-29 Vincent Untz <vuntz@gnome.org>
3354
Make applet handles handle transparency. Fix bug #306441.
3355
Based on patch by Ryan Lortie <desrt@desrt.ca>
3357
* panel-applet-frame.c: (panel_applet_frame_change_background): change
3358
the background of the frame if it has handles
3359
* panel-background.[ch]:
3360
(panel_background_set_no_background_on_widget): new, moved from
3362
(panel_background_set_image_background_on_widget): ditto
3363
(panel_background_set_color_background_on_widget): ditto
3364
(panel_background_change_background_on_widget): ditto
3365
* panel-menu-bar.c: (panel_menu_bar_size_allocate): only update the
3366
background on size changes if it's a pixmap background
3367
(panel_menu_bar_set_no_background): kill
3368
(panel_menu_bar_set_image_background): ditto
3369
(panel_menu_bar_set_color_background): ditto
3370
(panel_menu_bar_change_background): make it a wrapper for
3371
panel_background_change_background_on_widget()
3373
2005-12-28 Vincent Untz <vuntz@gnome.org>
3375
* panel-menu-bar.c: (panel_menu_bar_enter_desktop): use US english in
3376
the string. Thanks to Adam Weinberger <adamw@gnome.org>, fix bug
3379
2005-12-27 Vincent Untz <vuntz@gnome.org>
3381
Don't do something on double/triple clicks for buttons. Fix bugs
3384
* button-widget.c: (button_widget_button_press): only propagate event
3385
if it's a GDK_BUTTON_PRESS event (to avoid double-click events)
3387
2005-12-27 Vincent Untz <vuntz@gnome.org>
3389
* egg-recent-model.c: update from libegg
3391
2005-12-27 Vincent Untz <vuntz@gnome.org>
3393
Add tooltips for the menu bar, hacky way.
3396
* panel-menu-bar.c: (panel_menu_bar_enter_applications): new, change
3397
the tooltip when the cursor is on the Applications item
3398
(panel_menu_bar_enter_places): ditto for the Places item
3399
(panel_menu_bar_enter_desktop): ditto for the Desktop item
3400
(panel_menu_bar_instance_init): connect to the "enter-notify-event"
3401
event for the menu items, initialize the tooltip for the menubar
3403
2005-12-19 Vincent Untz <vuntz@gnome.org>
3405
Use a close button instead of the cancel one. Fix bug #319077. Patch
3406
by Claudio Saavedra <csaavedra@alumnos.utalca.cl>
3408
* panel-addto.c: (panel_addto_dialog_response): don't close the dialog
3409
when an object is added
3410
(panel_addto_dialog_new): replace the cancel button with a close one
3412
Make the "add to panel" dialog a bit nicer.
3414
* panel-addto.c: (panel_addto_make_text): don't make the name larger
3415
(panel_addto_make_pixbuf): use a smaller icon size, also, we don't
3416
need to resize the icon since it should already be scaled.
3417
(panel_addto_append_item): update for panel_addto_make_pixbuf()
3418
(panel_addto_populate_application_model): ditto
3420
2005-12-18 Vincent Untz <vuntz@gnome.org>
3422
Update the known applications list while typing and only show the
3423
items that match. Fix bug #313808.
3425
* panel-run-dialog.c: s/_command_icon_idle_id/_command_idle_id/g, add
3426
some FIXME, add a visible column to the liststore,
3427
(panel_run_dialog_destroy): reinitialize value of the new changed_id
3429
(panel_run_dialog_make_all_list_visible): new
3430
(panel_run_dialog_find_command_icon_idle): if the text doesn't match
3431
the item, look if the text is in the command/name/comment of the item
3432
and set the items visibility according to this, also make sure that we
3433
show the beginning of the list since the displayed items change
3434
(panel_run_dialog_add_items_idle): use a GtkTreeModelFilter
3435
(entry_event): use g_completion_complete_utf8(), disable the "changed"
3436
handler when we complete so that it's not called twice but only once
3437
(entry_changed): move some code around to make it more readable,
3438
reset the icon and the visibility of the list items if the text is
3440
(panel_run_dialog_setup_entry): save the handler id for the "changed"
3442
* panel-util.[ch]: (panel_util_utf8_strstrcase): new, stolen from
3444
(panel_util_unicode_get_utf8): ditto
3446
2005-12-17 Vincent Untz <vuntz@gnome.org>
3448
Reword a lot of error dialogs. Based on patch by Luke Worth
3449
<luke_worth@hotpop.com>. Fix bug #320164.
3451
* button-widget.c: (button_widget_reload_pixbuf): reword error dialog
3452
* launcher.c: (panel_launcher_save_ditem): ditto
3453
(launch_url): verify that url is not a void string + ditto
3454
(drag_data_received_cb): reword error dialog
3455
(create_properties_dialog): fix indent
3456
(really_add_launcher): reword error dialog
3457
* menu-ditem.c: (ditem_properties_close): ditto
3458
(really_add_new_menu_item): ditto
3459
(panel_new_launcher): ditto
3460
* panel-action-button.c: (panel_action_search): ditto
3461
(panel_action_screenshot): ditto
3462
(panel_action_connect_server): ditto
3463
* panel-context-menu.c: (panel_context_menu_remove_panel): ditto
3464
* panel-menu-bar.c: (panel_menu_bar_invoke_menu): ditto
3465
* panel-menu-button.c: (panel_menu_button_invoke_menu): ditto
3466
* panel-menu-items.c: (activate_uri): ditto
3467
(panel_menu_item_activate_desktop_file): ditto
3468
* panel-properties-dialog.c: (panel_properties_dialog_present): ditto
3469
* panel-recent.c: (show_uri): make errors more useful
3470
(recent_documents_activate_cb): reword error dialog
3471
* panel-run-dialog.c: (panel_run_dialog_launch_command): ditto
3472
(panel_run_dialog_show_url): ditto
3473
(panel_run_dialog_execute): ditto
3474
(panel_run_dialog_present): ditto
3475
* panel-util.c: (panel_show_help): ditto
3476
(panel_load_icon): make error more useful
3477
(panel_lock_screen_action): reword error dialog
3479
* menu.c: (create_menuitem): add a FIXME
3480
* panel-context-menu.c: (panel_context_menu_setup_remove_panel_item):
3481
fix sensitivity of item
3483
2005-12-15 Vincent Untz <vuntz@gnome.org>
3485
Don't crash with some themes. Thanks to Benjamin Berg for helping.
3488
* panel-background.c: (panel_background_prepare): look if the pixmap
3489
is GDK_PARENT_RELATIVE and do what is necessary in this case
3490
(panel_background_set_default_style): don't ref/unref pixmap if it's
3492
(panel_background_free): ditto
3494
2005-12-15 Vincent Untz <vuntz@gnome.org>
3496
* panel-util.c: (panel_launch_desktop_file): why is the .desktop
3497
filename hardcoded here? Someone did some bad paste ;-)
3499
2005-12-15 Vincent Untz <vuntz@gnome.org>
3501
Add a preview widget in the image background chooser.
3504
* panel-properties-dialog.c:
3505
(panel_properties_dialog_chooser_preview_update): new
3506
(panel_properties_dialog_setup_image_chooser): connect stuff to update
3509
2005-12-14 Claudio Saavedra <csaavedra@alumnos.utalca.cl>
3511
* panel-menu-items.c: (panel_place_menu_item_append_gtk_bookmarks):
3512
Check if uri is NULL before calling gnome_vfs_uri_unref (uri).
3513
Fix critical warning, bug #324127.
3515
2005-12-14 Vincent Untz <vuntz@gnome.org>
3517
* panel-menu-items.c: (panel_place_menu_item_instance_init): don't
3518
report useless warning when file monitoring is not supported. Just
3519
print something so the user knows he needs another library.
3522
2005-12-14 Vincent Untz <vuntz@gnome.org>
3524
Fix critical warning, bug #323495.
3526
* menu.c: (setup_uri_drag): don't call gtk_drag_source_set_icon_name()
3528
(create_menuitem): ditto
3529
* panel-action-button.c: (panel_action_button_set_dnd_enabled): ditto
3530
* panel-menu-button.c: (panel_menu_button_set_dnd_enabled): ditto
3531
* panel-run-dialog.c: (panel_run_dialog_set_default_icon): new
3532
function, which don't call gtk_drag_source_set_icon_name() when we
3534
(panel_run_dialog_set_icon): call panel_run_dialog_set_default_icon()
3535
(panel_run_dialog_new): ditto
3536
(program_list_selection_changed): make comment readable
3538
Don't crash when an applet can't be load. Fix bug #323996.
3539
Patch by Crispin Flowerday <crispin@gnome.org>.
3541
* panel-applet-frame.c: (panel_applet_frame_loading_failed): don't
3542
free frame, but destroy it.
3544
==================== 2.13.3 ====================
3546
2005-11-28 Vincent Untz <vuntz@gnome.org>
3548
* egg-recent-model.c:
3549
* egg-recent-view-gtk.c: update from libegg
3551
2005-11-19 Vincent Untz <vuntz@gnome.org>
3553
* applet.c: don't need a bonobo include here
3555
* main.c: remove useless includes,
3556
(main): call gtk_window_set_default_icon_name() before
3557
panel_shell_register() in order to have an icon for the error dialog
3559
* panel-menu-items.c: (panel_place_menu_item_append_gtk_bookmarks):
3560
synchronize the way we display remote bookmarks with nautilus
3561
* panel-shell.c: (panel_shell_bonobo_activation_register_for_display):
3562
new, stolen from nautilus
3563
(panel_shell_register): stop using deprecated functions
3564
(panel_shell_unregister): ditto
3566
==================== 2.13.2 ====================
3568
2005-11-11 Vincent Untz <vuntz@gnome.org>
3570
* egg-recent-*: updated from libegg
3572
2005-11-03 Vincent Untz <vuntz@gnome.org>
3574
* panel-applet-frame.c: revert the change I made on 2005-10-24.
3577
2005-10-29 Christian Neumair <chris@gnome-de.org>
3579
* panel-properties-dialog.c: (panel_properties_dialog_present):
3580
* panel-run-dialog.c: (panel_run_dialog_present):
3581
Handle glade errors instead of crashing. Fixes #320160.
3583
2005-10-28 Christian Neumair <chris@gnome-de.org>
3585
* panel-menu-items.c: (activate_uri):
3586
Don't bail if gnome_url_show_on_screen returns
3587
GNOME_URL_ERROR_CANCELLED.
3589
==================== 2.13.1 ====================
3591
2005-10-24 Vincent Untz <vuntz@gnome.org>
3593
* drawer.c: add FIXME
3594
* launcher.c: (drag_data_get_cb): fix warning
3595
(panel_launcher_set_dnd_enabled): add FIXME
3596
* menu.c: (icon_theme_changed): don't use GnomeIconTheme
3597
* panel-applet-frame.c: (panel_applet_frame_change_orientation): I'm
3598
not sure why the orientation were inverted, but I think it's a bug.
3599
So fix it. It might break things, though...
3600
(panel_applet_frame_get_orient_string): ditto
3601
* panel-properties-dialog.c: add TODO
3602
* panel-run-dialog.c: (entry_drag_data_received): use
3603
g_uri_list_extract_uris() and remove warning
3604
(pixmap_drag_data_get): remove warning
3606
2005-10-22 Vincent Untz <vuntz@gnome.org>
3608
* panel-toplevel.schemas.in: change default panel size to 24.
3611
2005-10-22 Vincent Untz <vuntz@gnome.org>
3613
* panel-run-dialog.c: (panel_run_dialog_add_items_idle): use right
3617
2005-10-22 Vincent Untz <vuntz@gnome.org>
3619
* panel-background.c: (get_scaled_and_rotated_pixbuf): load image
3621
(panel_background_set_gdk_color_no_update): new
3622
(panel_background_set_gdk_color): updated
3623
(panel_background_set_opacity_no_update): new
3624
(panel_background_set_opacity): updated
3625
(panel_background_set_color_no_update): new
3626
(panel_background_set_color): updated
3627
(panel_background_set_image_no_update): new
3628
(panel_background_set_image): updated, don't load image here
3629
(panel_background_set_fit_no_update): new
3630
(panel_background_set_fit): updated
3631
(panel_background_set_stretch_no_update): new
3632
(panel_background_set_stretch): updated
3633
(panel_background_set_rotate_no_update): new
3634
(panel_background_set_rotate): updated
3635
(panel_background_set): don't set the background multiple times here,
3638
* panel-widget.c: (panel_widget_background_changed): update the edges
3639
of the toplevel: they might not be needed anymore
3641
* panel-toplevel.c: (panel_toplevel_update_attached_position): fix
3642
drawers not working after previous patch
3644
2005-10-17 Kjartan Maraas <kmaraas@gnome.org>
3646
* panel-run-dialog.c: (entry_event): Plug a leak.
3647
* drawer.c (panel_drawer_custom_icon_changed): only set the icon if we
3649
* panel-shell.c: (panel_shell_init): cleanup
3651
* applet.c: (panel_applet_can_freely_move): remove useless code
3652
(panel_applet_lockable): ditto
3653
* button-widget.c: (button_widget_unrealize): ditto
3654
(button_widget_size_allocate): ditto
3655
* drawer.c: (close_drawer_in_idle): ditto
3656
(panel_drawer_tooltip_changed): ditto
3657
* panel-context-menu.c: (panel_context_menu_create): ditto
3658
* panel-menu-button.c: (panel_menu_button_drag_data_get): ditto
3659
* panel-profile.c: (panel_profile_background_change_notify): ditto
3660
(panel_profile_copy_defaults_for_screen): ditto
3661
* panel-toplevel.c: (panel_toplevel_rotate_to_pointer): ditto
3662
(panel_toplevel_update_attached_position): ditto
3663
(panel_toplevel_update_normal_position): ditto
3664
(panel_toplevel_update_animating_position): ditto
3665
(panel_toplevel_update_position): ditto
3666
(panel_toplevel_start_animation): ditto
3667
(panel_toplevel_set_orientation): ditto
3668
* panel-widget.c: (panel_widget_size_allocate): ditto
3669
(panel_widget_nice_move): ditto
3670
* panel.c: (panel_applet_added): ditto
3671
(panel_destroy): ditto
3672
(panel_delete_without_query): ditto
3674
2005-10-08 Vincent Untz <vuntz@gnome.org>
3676
* panel-menu-items.c: (panel_place_menu_item_append_gtk_bookmarks):
3677
don't unescape URI when it's not needed. Try to synchronize the way
3678
we display bookmarks with nautilus.
3681
==================== 2.12.1 ====================
3683
2005-09-22 James Henstridge <james@jamesh.id.au>
3685
* panel-action-button.c:
3686
* panel-compatibility.c:
3687
* panel-profile.c: add a terminator to all the GConfEnumStringPair
3688
tables to prevent crashes on unknown enum strings. Fixes bug
3691
2005-09-20 Vincent Untz <vuntz@gnome.org>
3693
* panel-force-quit.c: (find_managed_window): kill warning
3694
(kill_window_response): new, we kill the window here and also
3695
trap X errors (useful when the client has already quit ;-))
3696
(kill_window_question): connect to the response signal so that we
3697
don't block the panel
3698
(handle_button_press_event): don't kill the window here.
3701
2005-09-18 Vincent Untz <vuntz@gnome.org>
3703
* applet.c: (panel_applet_position_menu): fix positionning algorithm
3704
so that we don't take the mouse position into account if it's not in
3705
the widget (that is the case when the menu is open with the keyboard)
3708
2005-09-18 Vincent Untz <vuntz@gnome.org>
3710
Workaround persistent tooltip for dnd. Fix bug #311935.
3712
* menu.c: (drag_begin_menu_cb): new, created only for our workaround
3713
(drag_data_get_menu_cb): remove workaround from there
3714
(setup_uri_drag): connect to drag_begin
3715
(setup_internal_applet_drag): ditto
3716
(create_menuitem): ditto
3718
2005-09-18 Vincent Untz <vuntz@gnome.org>
3720
* panel-menu-items.c: (panel_place_menu_item_append_gtk_bookmarks):
3721
previous patches added back the bookmarks to directories that don't
3723
Also, make it possible to have multiple bookmarks to the same
3724
directory but with different names.
3726
2005-09-18 Vincent Untz <vuntz@gnome.org>
3728
* panel-recent.c: (panel_recent_append_documents_menu): let the recent
3729
view handle the separator, correctly initializes the sensitivity of
3733
2005-09-18 Vincent Untz <vuntz@gnome.org>
3735
* panel-menu-items.c: (panel_place_menu_item_append_volumes): do as if
3736
we were loading icons for the items when there's a submenu. Thus,
3737
items are not smaller than the other ones anymore. Finding good icons
3738
would be better, though ;-)
3741
2005-09-18 Vincent Untz <vuntz@gnome.org>
3743
Use icon names for drag and drop. Fix bug #167010.
3745
* drawer.c: (panel_drawer_set_dnd_enabled): use
3746
gtk_drag_source_set_icon_name()
3747
* menu.c: (setup_uri_drag): ditto
3748
(setup_internal_applet_drag): ditto
3749
(create_menuitem): ditto
3750
* panel-action-button.c: (panel_action_button_set_dnd_enabled): ditto
3751
* panel-menu-button.c: (panel_menu_button_set_dnd_enabled): ditto
3752
* panel-run-dialog.c: (panel_run_dialog_set_icon): ditto
3753
(panel_run_dialog_add_items_idle): fix warning
3755
2005-09-17 Vincent Untz <vuntz@gnome.org>
3757
* panel-menu-items.c: (panel_place_menu_item_append_gtk_bookmarks):
3758
don't check if the URI exists if it's not local
3760
(panel_place_menu_item_sort_volume): new
3761
(panel_place_menu_item_append_volumes): sort network volumes
3763
2005-09-16 Vincent Untz <vuntz@gnome.org>
3765
* panel-properties-dialog.c: (panel_properties_dialog_toplevel_notify):
3766
(panel_properties_dialog_background_notif): check the value we got
3767
from panel_gconf_basename()
3768
* panel-run-dialog.c: (fuzzy_command_match):
3769
(panel_run_dialog_add_items_idle): add sanity checks before strcmp()
3771
2005-09-16 Vincent Untz <vuntz@gnome.org>
3773
* panel-background-monitor.c: (panel_background_monitor_finalize):
3774
chain to parent class finalize
3775
(panel_background_monitor_class_init): get parent class
3778
2005-09-15 Vincent Untz <vuntz@gnome.org>
3780
* panel-menu-items.c: (panel_menu_items_append_from_desktop): add an
3781
argument to force a name for the item
3782
(panel_place_menu_item_create_menu): if set, use the name the user has
3783
set for the home folder and computer
3784
(panel_place_menu_item_is_home_dir_changed): renamed to
3785
panel_place_menu_item_key_changed()
3786
(panel_desktop_menu_item_append_menu): updated
3787
(panel_place_menu_item_finalize): we now also watch NAMES_DIR
3788
(panel_place_menu_item_instance_init): ditto, plus we recreate the
3789
menu if the name of home or computer has changed
3792
==================== 2.12.0 ====================
3794
2005-08-24 Vincent Untz <vuntz@gnome.org>
3796
* panel-default-setup.entries.in: evolution-mail.desktop does not
3797
exist. Use evolution.desktop instead.
3799
==================== 2.11.92 ====================
3801
2005-08-21 Vincent Untz <vuntz@gnome.org>
3803
* panel-default-setup.entries.in: add notification area to the default
3806
2005-08-18 Mark McLoughlin <mark@skynet.ie>
3808
* panel-applet-frame.c: (panel_applet_frame_sync_menu_state):
3809
* applet.c: (panel_applet_create_menu):
3810
If an applet's "locked" key is set to true and its not
3811
writable, don't allow the applet to be removed.
3813
2005-08-16 Mark McLoughlin <mark@skynet.ie>
3815
Pull in fix for recent file list not getting updated
3816
when using inotify (bug #313520)
3818
* egg-recent-model.c, egg-recent-item.c: sync with
3821
==================== 2.11.91 ====================
3823
2005-08-09 Mark McLoughlin <mark@skynet.ie>
3825
Fix valgrind warning in bug #149151
3827
* panel-widget.c: (panel_widget_destroy): remove the
3828
weak pointer to the drawer button from the PanelWidget when
3829
a drawer is destroyed.
3831
2005-08-04 Mark McLoughlin <mark@skynet.ie>
3833
Remove the idle handler for menus if the menu is
3834
destroyed. Fixes crash in bug #312512
3837
(submenu_to_display_in_idle): unset the idle-id.
3838
(remove_submenu_to_display_idle): remove the idle
3839
handler if the menu is destroyed.
3840
(create_fake_menu), (create_applications_menu):
3841
attach the idle-id to the menu so we can remove
3842
it when the menu is destroyed.
3844
2005-08-02 Mark McLoughlin <mark@skynet.ie>
3846
Based on patch from Dennis Cranston <dennis_cranston@yahoo.com>
3849
* panel-util.[ch]: (panel_launch_desktop_file):
3850
add function for launching a program using its
3851
.desktop file basename.
3853
* panel-menu-bar.c: (panel_menu_bar_invoke_menu),
3854
panel-menu-button.c: (panel_menu_button_invoke_menu): use
3855
panel_launch_desktop_file() to launch gmenu-simple-editor
3856
so that we're using startup notification.
3858
==================== 2.11.90 ====================
3860
2005-07-26 Mark McLoughlin <mark@skynet.ie>
3862
Rotate the menu bar on vertical panels using new
3863
gtk+ coolness. Fixes bug #141702
3866
(set_item_text_angle_and_alignment),
3867
(panel_menu_bar_update_orientation): when the
3868
menu bar is vertical, set its pack direction,
3869
child pack direction, text angle and alignment
3870
in order to rotate the thing.
3872
2005-07-26 Mark McLoughlin <mark@skynet.ie>
3874
* panel-menu-bar.[ch]:
3875
(panel_menu_bar_get_property),
3876
(panel_menu_bar_set_property),
3877
(panel_menu_bar_class_init),
3878
(panel_menu_bar_set_orientation),
3879
(panel_menu_bar_get_orientation): add infrastructure
3880
for an orientation property.
3882
2005-07-26 Mark McLoughlin <mark@skynet.ie>
3885
(panel_menu_bar_set_no_background),
3886
(panel_menu_bar_set_image_background),
3887
(panel_menu_bar_set_color_background),
3888
(panel_menu_bar_change_background): split this code
3889
out into 3 functions to make it somewhat readable.
3891
* panel.c: (orientation_change): update the
3892
orientation of menu bars.
3894
2005-07-26 Mark McLoughlin <mark@skynet.ie>
3896
Patch from Jaap A. Haitsma <jaap@haitsma.org>
3899
* gnome-desktop-item-edit.c: (main): set the
3900
default window icon.
3902
2005-07-22 Mark McLoughlin <mark@skynet.ie>
3904
Fixes last of the "panel writes to various GConf keys at login"
3907
* panel-profile.c: (panel_profile_queue_toplevel_location_change):
3908
Only save the panel's co-ordinates in GConf if its an expanded
3911
2005-07-22 Mark McLoughlin <mark@skynet.ie>
3915
* panel-addto.c: (panel_addto_query_applets): don't show
3916
applets which are included in the
3917
/apps/panel/global/disabled_applets list.
3919
2005-07-21 Mark McLoughlin <mark@skynet.ie>
3921
Fix crasher from the fix for bug #163197
3924
(really_add_launcher): use g_signal_connect_object()
3925
rather than g_signal_connect_swapped() in order to
3926
make sure the warning dialog gets destroyed with its
3927
parent - using the later caused a crash if the error
3928
dialog had already been destroyed.
3930
2005-07-21 Mark McLoughlin <mark@skynet.ie>
3932
Re-work the way launcher hoarding works such that
3933
we don't hoard system launchers until the user
3937
(panel_launcher_save_ditem): don't report errors if we
3938
fail during hoarding; set the full path to the hoarded
3939
.desktop file if it we pass a relative path.
3940
(panel_launcher_delete): only delete the .desktop file
3941
if its a hoarded launcher.
3942
(panel_launcher_hoard): re-name from ensure_hoarded()
3944
(properties_apply): hoard the launcher (if neccessary)
3946
(window_response): ditto before reverting.
3947
(launcher_load_from_gconf): don't hoard launchers here,
3948
but do de-sentize the Properties menu item if we won't
3949
be able hoard in the future.
3950
(panel_launcher_create_with_id): hoard the .desktop file
3951
before creating adding a new launcher to the config.
3953
2005-07-21 Mark McLoughlin <mark@skynet.ie>
3955
* panel-compatibility.c:
3956
(panel_compatibility_maybe_copy_old_config): Don't
3957
set the "profiles_migrated" flag unless we actually
3958
had to migrate old config.
3960
2005-07-21 Mark McLoughlin <mark@skynet.ie>
3962
Fixes bug #302223 - rectangular buttons get
3965
* panel-util.[ch]: (panel_load_icon): add desired_width
3966
and desired_height arguments to specify the dimensions
3967
the icon can be scaled to. Passing -1 for either is
3968
interpreted as "not constrained", so e.g. you'd pass
3969
-1 for width on a horizontal panel.
3971
* button-widget.c: (button_widget_reload_pixbuf):
3972
* panel-addto.c: (panel_addto_make_pixbuf):
3973
* panel-run-dialog.c: (panel_run_dialog_set_icon):
3974
Update callers for API change above.
3976
2005-07-20 Mark McLoughlin <mark@skynet.ie>
3978
* egg-recent-model.c,
3979
egg-recent-view-gtk.c: sync with libegg. Contains fixes
3980
for bugs #165231, #162122, #310721, #111988
3982
2005-07-19 Mark McLoughlin <mark@skynet.ie>
3984
* GNOME_Panel.server.in: goodness, how many years
3985
is it since we renamed the panel binary to "gnome-panel"
3988
2005-07-15 Kjartan Maraas <kmaraas@gnome.org>
3990
* panel-profile.c: (panel_profile_load_object):
3991
Free stuff *after* we're finished using it.
3994
==================== 2.11.5 ====================
3996
2005-07-02 Vincent Untz <vuntz@gnome.org>
3998
* egg*: updated from libegg
4000
==================== 2.11.4 ====================
4002
2005-06-27 Mark McLoughlin <mark@skynet.ie>
4005
https://bugzilla.redhat.com/160439
4007
Basically, the WM was restoring the saved window
4008
position of the panel which we don't want it to do.
4010
* main.c: (main): call panel_session_init() before
4011
creating any toplevels.
4013
* panel-session.c: (panel_session_init): unset
4014
the SM_CLIENT_ID property.
4016
2005-06-26 Sebastien Bacher <seb128@debian.org>
4018
* menu-ditem.c: (really_add_new_menu_item):
4019
fix the reference to the user guide (Closes: #308807).
4021
2005-06-14 Vincent Untz <vuntz@gnome.org>
4023
* panel-default-setup.entries.in: change the default launchers to
4024
Epiphany & Evolution Mail
4027
2005-06-13 Kjartan Maraas <kmaraas@gnome.org>
4029
* gnome-panel/panel-profile.c:
4030
(panel_profile_delete_toplevel_objects):
4031
Plug a leak. Closes bug #307492.
4033
2005-06-11 Vincent Untz <vuntz@gnome.org>
4035
Avoid getting two error dialogs when an applet crashes.
4036
Patch by Ryan Lortie <desrt@desrt.ca>. Fix bug #307237
4038
* panel-applet-frame.c: (panel_applet_frame_activated): only listen
4039
for brokent connexions once we're sure the applet is loaded.
4041
2005-06-08 Kjartan Maraas <kmaraas@gnome.org>
4043
* panel-menu-button.c: (panel_menu_button_create):
4044
Fix a couple more leaks.
4046
2005-06-08 Vincent Untz <vuntz@gnome.org>
4048
* panel-profile.[ch]: (panel_profile_get_enable_autocompletion): rename
4049
from panel_profile_get_enable_autocomplete() and look for the right
4051
* panel-run-dialog.c: (entry_event): updated
4052
Fix stupid bug #306448.
4054
==================== 2.11.3 ====================
4056
2005-06-07 Kjartan Maraas <kmaraas@gnome.org>
4058
* gnome-panel/panel-run-dialog.c: (panel_run_dialog_set_icon):
4059
Unref the pixbuf here. Gtk+ takes it's own reference so we need
4060
to drop ours it seems. Remove comment that said we didn't need
4061
to unref also. Closes bug #306748.
4063
2005-06-06 Vincent Untz <vuntz@gnome.org>
4065
Add gnome-screensaver support. Fixes bug #302348.
4066
Patch by William Jon McCann <mccann@jhu.edu>.
4068
* panel-util.[ch]: (panel_lock_screen_action_get_command)
4069
(panel_lock_screen_action_available), (panel_lock_screen_action)
4070
(panel_lock_screen): Consolidate all the screensaver handling into
4071
these functions. Add gnome-screensaver support. Check if command
4074
* panel-menu-items.c: (panel_menu_items_append_lock_logout): look
4075
if a screensaver command is available before appending the lock
4078
* panel-action-button.c: (screensaver_properties_enabled)
4079
(screensaver_enabled), (panel_action_lock_is_disabled): Only enable
4080
actions if the command exists.
4081
(panel_action_lock_setup_menu): add icon to the properties item.
4082
(panel_action_lock_invoke_menu): Move functionality to utils.
4084
2005-06-06 Vincent Untz <vuntz@gnome.org>
4086
* panel-config-global.c: kill useless settings
4087
(panel_global_config_set_entry): don't read panel_minimized_size,
4088
panel_show_delay, panel_animation_speed, panel_hide_delay since
4089
they're not global any more
4090
* panel-global.schemas.in: deprecate some useless settings
4093
2005-06-06 Vincent Untz <vuntz@gnome.org>
4095
Preload menu in the idle loop. Fix bug #164574.
4097
* menu.c: (load_submenu_to_display): new, contains code from the old
4098
submenu_to_display()
4099
(submenu_to_display): load the menu
4100
(create_fake_menu): load the menu in idle loop
4101
(create_applications_menu): ditto
4103
2005-06-06 Vincent Untz <vuntz@gnome.org>
4105
* egg-recent-item.c: synchronize with libegg
4107
2005-06-06 Vincent Untz <vuntz@gnome.org>
4109
Patch by Ryan Lortie <desrt@desrt.ca>. Fixes bug #306583.
4111
* panel-addto.c: (panel_addto_prepend_internal_applets): the
4112
structures created are not static, and we don't want to leak.
4113
* panel-profile.c: (panel_profile_delete_toplevel_objects): plug leak
4115
2005-06-06 Vincent Untz <vuntz@gnome.org>
4117
Patch by Kjartan Maraas <kmaraas@gnome.org>. Fixes bug #301861
4119
* gnome-desktop-item-edit.c: some cleanup
4120
* panel-multiscreen.c: (panel_multiscreen_screens): ditto
4121
* panel-run-dialog.c: (fill_possible_executables): ditto
4122
* panel-addto.c: (panel_addto_dialog_response): update link for help
4123
* panel-context-menu.c: (panel_context_menu_show_help): ditto
4125
2005-05-31 William Jon McCann <mccann@jhu.edu>
4127
* panel-recent.c (recent_documents_clear_cb): Don't use a title
4128
on alert dialogs per HIG. Fixes #302918.
4130
==================== 2.11.1 ====================
4132
2005-05-18 Mark McLoughlin <mark@skynet.ie>
4134
Add an "Edit Menus" menu item to the menu bar
4135
and menu button context menu. Based on a patch
4136
from Vijaykumar Patwari <vijaykumar.patwari@wipro.com>
4140
(panel_menu_bar_load): add an "Edit Menus" context
4141
menu if gmenu-simple-editor is installed.
4142
(panel_menu_bar_invoke_menu): Run gmenu-simple-editor
4143
if Edit Menus is clicked.
4145
* panel-menu-button.c:
4146
(panel_menu_button_load),
4147
(panel_menu_button_invoke_menu): ditto here.
4149
2005-05-11 Mark McLoughlin <mark@skynet.ie>
4151
Fix "dialogs pop up under panel dialogs" issue by
4152
making each panel be in its own window group and
4153
the dialogs part of the default group. Bug #303570
4155
* panel-toplevel.c: (panel_toplevel_realize):
4156
Just set the group leader to be the panel itself
4157
rather than making a futile effort to foil gtk.
4160
(xstuff_set_no_group): remove.
4162
2005-05-05 Glynn Foster <glynn.foster@sun.com>
4164
* panel-widget.c: (bind_top_applet_events): Remove a comment
4165
that applied to old code that should have been removed with
4166
the 2004-07-30 Arvind Samptur <arvind.samptur@wipro.com>
4169
2005-05-04 Mark McLoughlin <mark@skynet.ie>
4171
Fix crasher with recent items menu - bug #170660
4173
* egg-recent-model.c:
4174
(egg_recent_model_changed_timeout): set timeout id
4176
(egg_recent_model_finalize): remove the timeout if
4179
2005-05-02 Mark McLoughlin <mark@skynet.ie>
4181
Change things around so that we don't 1) slave the lifecycle
4182
of the EggRecentViewGtk to the menu it manages, 2) incorrectly
4183
unref the menu after creating the view and 3) take a ref on
4184
the menu in EggRecentViewgtk.
4186
* panel-recent.[ch]: (panel_recent_append_documents_menu):
4187
Re-work so that it returns the newly created EggRecentViewGtk
4188
and allows it to be re-used by passing it back in as a parameter.
4190
* panel-menu-items.c:
4191
(panel_place_menu_item_create_menu): hold a ref on the
4192
EggRecentViewGtk and re-user when re-creating the menu.
4193
(panel_place_menu_item_finalize): unref the view.
4195
* egg-recent-view-gtk.c:
4196
(egg_recent_view_gtk_clear),
4197
(egg_recent_view_gtk_set_list): don't barf if view->menu is NULL.
4198
(egg_recent_view_gtk_finalize): don't unref the menu.
4199
(egg_recent_view_gtk_set_menu): don't take a ref on the menu.
4200
There's no point in us updating a menu which has been destroyed.
4202
2005-04-27 Frederic Crozat <fcrozat@mandriva.com>
4204
* panel-recent.c: (panel_recent_append_documents_menu):
4205
Revert reference unref removal, it is causing crash.
4207
2005-04-27 Mark McLoughlin <mark@skynet.ie>
4209
Fudge a fix for "moved the panel to the left, now I can't
4211
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=141743
4213
* button-widget.c: (button_widget_size_allocate): clamp the
4216
2005-04-27 Mark McLoughlin <mark@skynet.ie>
4218
* applet.c: (panel_applet_locked_change_notify):
4219
Don't crash if the key is unset.
4221
* menu.c: (menus_have_icons_changed): ditto.
4223
2005-04-26 Frederic Crozat <fcrozat@mandriva.com>
4225
* panel-recent.c: (panel_recent_append_documents_menu):
4226
Don't try to unref view when menu is deleted.
4228
2005-04-11 Mark McLoughlin <mark@skynet.ie>
4230
* Makefile.am, menu.[ch], panel-addto.c, panel-menu-button.c,
4231
panel-run-dialog.c: update for libgnome-menu API renaming.
4233
2005-04-07 Mark McLoughlin <mark@skynet.ie>
4237
* panel-menu-items.c: (panel_place_menu_item_append_gtk_bookmarks):
4238
Don't lose constness.
4240
* panel.c: include gnome-vfs-utils.h
4242
2005-04-06 Mark McLoughlin <mark@skynet.ie>
4244
* menu.c: (create_applications_menu),
4245
panel-addto.c: (panel_addto_make_application_model),
4246
panel-run-dialog.c: (get_all_applications): update for
4247
slight change to menu_tree_lookup() API.
4249
2005-04-06 Arvind Samptur <arvind.samptur@wipro.com>
4251
* panel-force-quit.c: (handle_button_press_event): If the window in
4252
question is created by us then don't kill it.
4253
Use gdk_xid_table_lookup_for_display() to determine that as suggested
4254
by Mark. Fixes #122023
4256
2005-04-03 Vincent Untz <vincent@vuntz.net>
4258
* panel-run-dialog.c: (panel_run_dialog_execute): fix usages of
4259
filenames encoded in UTF-8 and the locale used for the filesystem
4260
Patch from Takao Fujiwara <Takao.Fujiwara@Sun.COM> (partial fix for
4262
(entry_event): clean up
4263
(panel_run_dialog_setup_entry): connect to "key-press-event" instead
4266
2005-04-01 Vincent Untz <vincent@vuntz.net>
4268
* panel-menu-items.c: (panel_place_menu_item_append_gtk_bookmarks):
4269
use g_filename_display_basename/g_filename_display_name to display the
4273
2005-03-31 Vincent Untz <vincent@vuntz.net>
4275
* launcher.c: (setup_button): fix tooltips not appearing when it
4276
contains a %, without breaking tooltips with escaped uri
4277
* panel.c: (drop_uri): unescape the name and the comment since there's
4278
no reason to have them escaped in the launcher
4281
2005-03-31 Vincent Untz <vincent@vuntz.net>
4283
* panel-properties-dialog.glade: only accept numeric values for the
4285
Fix bug #171769, based on patch by Pradeep MN <itsnexgen@gmail.com>
4287
2005-03-30 Vincent Untz <vincent@vuntz.net>
4289
* panel-menu-button.c: (panel_menu_button_get_icon): load the menu
4290
directory for the menu if it's not already loaded so we can have the
4294
2005-03-30 Vincent Untz <vincent@vuntz.net>
4296
* panel-context-menu.c: (make_panel_submenu): move "Properties" above
4300
2005-03-29 Vincent Untz <vincent@vuntz.net>
4302
* button-widget.c: (button_widget_realize): load the pixbuf here since
4303
it's most probably not loaded yet.
4306
2005-03-28 Vincent Untz <vincent@vuntz.net>
4308
* panel-menu-bar.c: (panel_menu_bar_class_init): remove unused
4310
* panel-toplevel.h: panel_toplevel_new does not exist any more
4312
2005-03-28 Vincent Untz <vincent@vuntz.net>
4314
Patch by Fernando Villacis Postigo <fvillacis@csnat.unt.edu.ar>
4315
Add a setting to disable the autocompletion in the Run dialog.
4318
* panel-general.schemas.in: add new key:
4319
/apps/panel/general/enable_autocompletion
4320
* panel-profile.[ch]: (panel_profile_get_enable_autocomplete): new
4321
* panel-run-dialog.c: (entry_event): don't autocomplete if
4322
autocomplete is disabled
4324
2005-03-27 Vincent Untz <vincent@vuntz.net>
4326
Remove "Run application" from the menus.
4329
* menu.c: (main_menu_append): don't append the run application item
4330
* panel-menu-bar.c: (panel_menu_bar_recreate_menus): kill
4331
(panel_menu_bar_append_applications_menu): kill
4332
(panel_menu_bar_create_applications_menu): kill
4333
(panel_menu_bar_instance_init): just call create_applications_menu()
4334
to create the applications menu, we don't need lockdown notifications
4335
(panel_menu_bar_finalize): kill
4336
(panel_menu_bar_class_init): we don't have a specific finalize anymore
4338
2005-03-27 Vincent Untz <vincent@vuntz.net>
4340
Make the panel more robust when the object/applet/toplevel list
4341
contains incorrect data.
4342
Most probably fixes bug #137308.
4344
* panel-gconf.[ch]: (panel_gconf_value_strcmp): new, to strcmp strings
4346
* panel-profile.c: (panel_profile_save_id_list): make sure there is no
4347
duplicate element in the list when saving it
4348
(panel_profile_remove_from_list): remove all occurrence of the id in
4349
the list (and not only the first one)
4350
(panel_profile_load_toplevel): stop monitoring the gconf dir if
4352
(panel_profile_load_object): ditto
4353
(panel_profile_toplevel_id_list_notify): make sure there is no
4354
duplicate element in the list we get, so we don't add twice the same
4356
(panel_profile_object_id_list_notify): ditto, for the objects
4357
(panel_profile_load_list): ditto
4358
* panel-util.[ch]: (panel_g_slist_make_unique): new, to remove
4359
duplicate elements in a list
4361
* main.c: (main): updated, stop monitoring a gconf dir
4362
* panel-session.[ch]: (panel_session_init): we don't need the argument
4365
2005-03-26 Vincent Untz <vincent@vuntz.net>
4367
* panel-properties-dialog.c:
4368
(panel_properties_dialog_setup_image_chooser),
4369
(panel_properties_dialog_update_background_image): do not select files
4370
with an empty name, but unselect all filenames instead.
4371
Fix panel part of bug #169979.
4373
2005-03-23 Mark McLoughlin <mark@skynet.ie>
4375
Based on a patch from Frederic Crozat in bug #164310
4377
* menu.c, panel-addto.c, panel-run-dialog.c: adapt to
4378
libgnome-menu API changes.
4380
* panel-menu-bar.c: (panel_menu_bar_append_applications_menu):
4383
2005-03-07 Vincent Untz <vincent@vuntz.net>
4385
* Makefile.am: small update for generation of *.entries
4386
* panel-run-dialog.c: (fill_files_from): fix compilation on platforms
4387
that don't have a d_type field in dirent structures
4390
==================== 2.10.0 ====================
4392
==================== 2.9.92 ====================
4394
2005-03-01 Vincent Untz <vincent@vuntz.net>
4396
* panel-background-monitor.c: (panel_background_monitor_init):
4397
initialize new fields in the structure
4398
(panel_background_monitor_connect_to_screen): remove the filter if we
4399
were already connected to a screen
4400
(panel_background_monitor_setup_pixmap): assert that the display is
4401
grabbed, get the pixmap on the right display
4402
(panel_background_monitor_setup_pixbuf): grab (and ungrab) the display
4403
so we can do an atomic get of the pixbuf, test if the returned pixbuf
4405
Should fix bug #128317, and possibly bug #146075
4407
2005-02-26 Vincent Untz <vincent@vuntz.net>
4409
* panel-menu-items.c: (panel_place_menu_item_append_gtk_bookmarks):
4410
support possible new format for GTK+ bookmarks. See bug #136216 for
4413
2005-02-26 Vincent Untz <vincent@vuntz.net>
4415
* panel-menu-bar.c: (panel_menu_bar_change_background): don't leak the
4418
2005-02-26 Vincent Untz <vincent@vuntz.net>
4420
Fix leak of pixbufs and models in "Add to panel" dialog.
4422
* panel-addto.c: (panel_addto_append_item): unref the pixbuf
4423
(panel_addto_populate_application_model): small cleanup
4424
(panel_addto_dialog_free): unref the models
4426
2005-02-26 Vincent Untz <vincent@vuntz.net>
4428
* panel-recent.c: (panel_recent_model_changed_cb): use the right list
4429
so we don't have a leak.
4430
Should help for bug #168389
4432
2005-02-25 Vincent Untz <vincent@vuntz.net>
4434
* panel-background.c: (panel_background_free): unref the monitor
4436
2005-02-25 Vincent Untz <vincent@vuntz.net>
4438
* panel-menu-button.c: (panel_menu_button_set_menu_path): fix leak
4439
* panel-recent.c: (panel_recent_append_documents_menuĆ : fix huge leak
4440
caused by EggRecentViewGtk's ref on the menu...
4442
2005-02-24 Vincent Untz <vincent@vuntz.net>
4444
Patch by Vijaykumar Patwari <vijaykumar.patwari@wipro.com>
4446
* gnome-panel/panel-menu-button.c (panel_menu_button_recreate_menu):
4447
Use gtk_widget_destroy instead of gtk_menu_detach.
4450
2005-02-20 Vincent Untz <vincent@vuntz.net>
4452
* panel-background.c: (panel_background_make_string): use effective
4453
type of the background to build the string.
4456
2005-02-19 Vincent Untz <vincent@vuntz.net>
4458
Synchronize the main menu layout with the menu bar layout
4461
* Makefile.am: add panel-menu-items.[ch]
4462
* menu.[ch]: (activate_app_def): simple wrapper for
4463
panel_menu_item_activate_desktop_file()
4464
(setup_menu_panel): make the menu appear on the right screen when it's
4466
(create_empty_menu): intercept all right button clicks
4467
(menu_create_action_item): moved to panel-menu-items.c
4468
(main_menu_append): new, append items to the main menu
4469
(create_main_menu): simplify a lot :-)
4470
* panel-menu-bar.c: big cleanup
4471
(activate_uri): moved to panel-menu-items.c
4472
(activate_app_def): ditto
4473
(panel_menu_bar_append_from_desktop): ditto
4474
(panel_menu_bar_show_menu): killed since it's done in menu.c
4475
(panel_menu_bar_connect_menu_signals): killed, now useless
4476
(panel_menu_bar_append_place_item): moved to panel-menu-items.c
4477
(panel_menu_bar_recreate_places_menu): ditto
4478
(panel_menu_bar_append_applications_menu): updated
4479
(panel_menu_bar_desktop_is_home_dir_changed): moved to
4481
(panel_menu_bar_gtk_bookmarks_changed): ditto
4482
(panel_menu_bar_volume_changed): ditto
4483
(panel_menu_bar_append_gtk_bookmarks): ditto
4484
(panel_menu_bar_append_volumes): ditto
4485
(panel_menu_bar_create_places_menu): ditto
4486
(panel_menu_bar_append_desktop_menu): ditto
4487
(panel_menu_bar_create_desktop_menu): ditto
4488
(panel_menu_bar_instance_init): remove all the places/desktop
4489
initialization code and create Places/Desktop menu item objects
4490
(panel_menu_bar_parent_set): updated
4491
(panel_menu_bar_finalize): remove all the places/desktop finalization
4493
* panel-menu-items.[ch]: new files that contain objects for Places
4494
and Desktop menu items
4496
2005-02-17 Vincent Untz <vincent@vuntz.net>
4498
* panel-util.[ch]: (panel_ditem_launch): the GnomeDesktopItem is now
4499
modified since we use gnome_desktop_item_set_launch_time(). So remove
4502
2005-02-17 Vincent Untz <vincent@vuntz.net>
4504
* button-widget.c: (button_widget_reload_pixbuf): don't load a pixbuf
4505
if we don't have an icon theme yet, don't try to load the "" icon...
4506
(button_widget_instance_init): correctly initialize all the fields
4509
* panel-default-setup.entries.in: fix the path for default launchers
4510
Thanks to SĆ©bastien Bacher for pointing this out.
4512
2005-02-16 Vincent Untz <vincent@vuntz.net>
4514
* panel-util.c: (panel_load_icon): don't set the error message if the
4516
Fix crash reported as bug #167478
4518
2005-02-09 Vincent Untz <vincent@vuntz.net>
4520
* panel-context-menu.c: (panel_context_menu_show_about_dialog):
4522
Patch by Luca Ferretti <elle.uca@libero.it>
4525
2005-02-09 Vincent Untz <vincent@vuntz.net>
4527
* panel-menu-bar.c: (panel_menu_bar_append_gtk_bookmarks): list
4528
bookmarks in the right order, not reverse order.
4531
==================== 2.9.91 ====================
4533
2005-02-07 Vincent Untz <vincent@vuntz.net>
4535
* Makefile.am: fix distcheck
4537
2005-02-06 Vincent Untz <vincent@vuntz.net>
4539
Don't snap an non-expanded toplevel to a screen edge if the toplevel
4540
is centered. Keep the bevels if the toplevel is centered too to avoid
4541
a loop (and it feels consistent because this not an expanded toplevel)
4544
* panel-toplevel.c: (panel_toplevel_update_edges): keep bevels if the
4545
non-expanded toplevel is centered
4546
(panel_toplevel_update_normal_position): don't snap to an edge if the
4547
toplevel is centered
4548
(panel_toplevel_update_auto_hide_position): ditto
4549
(panel_toplevel_update_position): ditto, move stuff that shouldn't be
4551
(panel_toplevel_update_geometry): ... this function
4553
2005-02-04 Vincent Untz <vincent@vuntz.net>
4555
Recreate the applications menu when the disable_command_line gconf key
4556
is changed so that "Run application" is shown/hidden.
4559
* panel-menu-bar.c: (panel_menu_bar_recreate_menus): new, recreate
4560
both applications & desktop menus
4561
(panel_menu_bar_recreate_desktop_menu): removed
4562
(panel_menu_bar_instance_init): updated
4563
(panel_menu_bar_finalize): updated
4565
2005-02-04 Vincent Untz <vincent@vuntz.net>
4567
Patch by Dennis Cranston <dennis_cranston@yahoo.com>
4570
* panel-menu-bar.c: (panel_menu_bar_append_gtk_bookmarks): use
4571
gnome_vfs_uri_to_string() instead of gnome_vfs_uri_get_path() to get
4572
non local paths to work
4574
2005-02-04 Vincent Untz <vincent@vuntz.net>
4576
Patch by Muktha <muktha.narayan@wipro.com>
4578
* panel-run-dialog.glade: add an accessible name for the list of known
4581
2005-02-03 Vincent Untz <vincent@vuntz.net>
4583
Make "Run application" faster.
4584
Based on patch by Frank Worsley <fworsley@shaw.ca>
4585
Should fix bug #133243
4587
* panel-run-dialog.c: (panel_run_dialog_destroy): free new stuff
4588
(fill_files_from): add a prefix as parameter that tell us what we're
4589
looking for, and use it, use only g_file_test() if necessary,
4590
remove the test to see if we already have the items in our completion
4591
list since it should never happen now
4592
(fill_possible_executables): new, just find names of possible
4594
(fill_executables): find real executables that have a specific prefix
4595
(panel_run_dialog_ensure_completion): kill
4596
(panel_run_dialog_update_completion): massive update, create the
4597
completion stuff if it was not created yet, find the prefix of the
4598
basename to help us look for completion items, use a hash table to
4599
know if we already looked for a prefix in a directory
4600
(entry_event): do not update the completion when it's not necessary,
4601
remove leading spaces from the command to complete
4602
(entry_changed): remove leading spaces from the command
4604
2005-02-03 Mark McLoughlin <mark@skynet.ie>
4606
* egg-recent-item.[ch]: sync with libegg to get
4609
2005-02-02 Carlos Garnacho Parro <carlosg@gnome.org>
4611
Change the DnD icon to the dragged applet one in the "Add to panel"
4614
* panel-addto.c (panel_addto_drag_begin_cb): implemented and connected
4615
to the "drag-begin" signal
4617
2005-02-02 Vincent Untz <vincent@vuntz.net>
4619
* panel-applet-frame.c: (panel_applet_frame_loading_failed): fix the
4620
screen setting for the dialog
4622
2005-02-01 Vincent Untz <vincent@vuntz.net>
4624
* menu.c: (create_item_context_menu): don't assert that entry != NULL
4625
since this can happen on item other than Entry items
4626
(show_item_menu): return FALSE if no menu was created
4627
(panel_menu_key_press_handler): return the value returned by
4631
2005-02-01 Vincent Untz <vincent@vuntz.net>
4633
* panel-properties-dialog.c:
4634
(panel_properties_dialog_setup_size_spin): set minimum for the spin to
4635
the minimum we calculate in panel-toplevel.c
4636
* panel-toplevel.[ch]: (panel_toplevel_get_minimum_size): new
4639
2005-02-01 Vincent Untz <vincent@vuntz.net>
4641
* panel-run-dialog.c: (panel_run_dialog_set_icon): clean up, don't
4642
change the icon if the new one is the same as the old one
4644
2005-02-01 Vincent Untz <vincent@vuntz.net>
4646
* panel-menu-bar.c: (panel_menu_bar_append_from_desktop): plug leak
4649
2005-02-01 Vincent Untz <vincent@vuntz.net>
4651
* menu.c: (add_menu_to_panel): get the filename corresponding to the
4652
MenuTree and use it to create the menu button
4653
(create_item_context_menu): look for the filename corresponding to the
4654
MenuTree and set it on the context menu so we can find ot in
4656
(create_applications_menu): set filename corresponding to the MenuTree
4658
* panel-addto.c: (panel_addto_make_application_list): add a filename
4659
parameter so we can add it to the item info
4660
(panel_addto_make_application_model): updated
4661
(panel_menu_button_create): updated
4662
(panel_addto_dialog_free_item_info): updated
4663
(panel_addto_selection_changed): add the filename to the iid for
4665
* panel-menu-button.[ch]: add structures so we can make the
4666
correspondance between a menu scheme and a filename for the menu
4667
(panel_menu_path_root_to_filename): new
4668
(panel_menu_filename_to_scheme): new
4669
(panel_menu_scheme_to_path_root): new
4670
(panel_menu_button_instance_init): updated
4671
(panel_menu_button_create_menu): find the filename needed to create
4672
the menu instead of always using applications.menu
4673
(panel_menu_button_set_menu_path): don't ignore the scheme and remove
4675
(panel_menu_button_create): add a filename parameter and use it to
4676
find the scheme, return a boolean telling if we could create the menu
4678
* panel.c: (drop_menu): add a filename parameter and return the value
4679
returned by panel_menu_button_create()
4680
(drop_internal_applet): updated to use the filename specified in the
4683
2005-01-31 Vincent Untz <vincent@vuntz.net>
4685
Allow use of the whole screen when hiding a panel
4686
Fix bug #142317. Credits go to Mark.
4688
* panel-struts.c: (panel_struts_set_window_hint): call
4689
panel_struts_unset_window_hint() when necessary
4690
(panel_struts_unset_window_hint): new
4691
* panel-toplevel.c: (panel_toplevel_update_struts): if the window is
4692
not hidden and not in a hide animation, then set the strut, else
4694
(panel_toplevel_start_animation): set the animating bit earlier so
4695
it can be used in panel_toplevel_update_struts()
4697
2005-01-30 Vincent Untz <vincent@vuntz.net>
4699
* panel-toplevel.c: (panel_toplevel_update_hidden_position): better
4700
fix for bug #156711, without breaking Fitt's law.
4702
2005-01-30 Vincent Untz <vincent@vuntz.net>
4704
* applet.c: (panel_applet_position_menu): fix positionning algorithm
4705
so that the all menu is always on screen (no need to scroll)
4708
2005-01-29 Vincent Untz <vincent@vuntz.net>
4710
Try to get rid of most of our stock icons.
4712
* button-widget.[ch]: (button_widget_load_and_scale_stock_icon):
4713
(button_widget_gtk_theme_changed):
4714
(button_widget_new_from_stock):
4715
(button_widget_set_stock_id):
4716
(button_widget_get_stock_id): killed these functions
4717
(button_widget_reload_pixbuf): remove code that blocked the "missing"
4718
icon from being used, remove stock icon code
4719
(button_widget_finalize): remove stock icon code
4720
(button_widget_get_property): ditto
4721
(button_widget_set_property): ditto
4722
(button_widget_instance_init): ditto
4723
(button_widget_class_init): ditto
4724
* drawer.[ch]: (create_drawer_applet): stop using stock icons
4725
(panel_drawer_set_dnd_enabled): add a comment for drag icon by name
4726
* menu.c: (setup_internal_applet_drag): stop using stock icons
4727
(menu_create_action_item): ditto
4728
* panel-action-button.[ch]: remove stock icons
4729
(panel_action_get_stock_icon): kill
4730
(panel_action_button_set_type): remove stock icon code
4731
(panel_action_button_style_set): ditto
4732
(panel_action_button_set_dnd_enabled): ditto
4733
* panel-addto.c: stop using stock icons
4734
(panel_addto_prepend_internal_applets): remove stock icon code
4735
(panel_addto_make_pixbuf): safety check that the pixbuf is not NULL
4736
(panel_addto_append_item): remove stock icon code
4737
* panel-applet-frame.c: (register_stock_item): move this code to
4739
(panel_applet_frame_loading_failed): updated
4740
* panel-force-quit.[ch]: (display_popup_window): stop using stock icon
4741
* panel-menu-bar.[ch]: (panel_menu_bar_instance_init): ditto
4742
* panel-menu-button.[ch]: (panel_menu_button_instance_init): remove
4744
(panel_menu_button_get_icon): return the icon for the menu button, and
4745
not the icon of the menu path
4746
(panel_menu_button_set_icon): updated
4747
(panel_menu_button_set_dnd_enabled): stop using stock icons
4748
* panel-run-dialog.[ch]: (set_window_icon_from_stock): kill
4749
(panel_run_dialog_set_icon): stop using stock icons
4750
(panel_run_dialog_setup_pixmap): don't set the image here...
4751
(panel_run_dialog_new): ... but here, and we don't need to set the
4753
* panel-stock-icons.[ch]: (panel_button_icon_get_size): kill
4754
remove PANEL_STOCK_RUN, PANEL_STOCK_GNOME_LOGO, PANEL_STOCK_MAIN_MENU,
4755
PANEL_STOCK_DRAWER, add PANEL_STOCK_DONT_DELETE
4756
(panel_init_stock_icons_and_items): do not register
4757
panel_button_icon_size since it's useless
4759
2005-01-29 Vincent Untz <vincent@vuntz.net>
4761
Move away from GnomeIconTheme. Still some work to do to use
4762
the icon theme of the right screen...
4764
* button-widget.[ch]: (button_widget_realize): get the icon theme of
4765
the screen here and connect to the changed signal
4766
(button_widget_reload_pixbuf): update and use panel_load_icon()
4767
(get_missing): update to use GtkIconTheme functions
4769
(button_load_pixbuf): kill
4770
(button_widget_instance_init): don't connect to the changed signal
4771
of the icon theme here
4772
* launcher.c: (guess_icon_from_exec): simplified thanks to
4774
(setup_button): updated
4775
* main.c: (main): no more panel_icon_theme
4776
* panel-globals.h: ditto
4777
* menu.[ch]: (panel_create_menu): use gtk_icon_theme_get_default ()
4778
instead of panel_icon_theme (for now)
4779
(panel_make_menu_icon): use panel_find_icon() instead of
4780
gnome_desktop_item_find_icon()
4781
(load_icons_handler_again): updated
4782
(image_menu_shown): get the icon theme for the image menu item
4783
* panel-addto.c: (panel_addto_make_pixbuf): use panel_load_icon()
4785
* panel-properties-dialog.c: use panel_find_icon() instead of
4786
gnome_desktop_item_find_icon()
4787
* panel-run-dialog.c: (panel_run_dialog_set_icon): use
4788
panel_find_icon() instead of gnome_desktop_item_find_icon()
4789
(panel_run_dialog_add_icon_idle): updated
4790
* panel-util.[ch]: (panel_find_icon): new, with some code from
4792
(panel_load_icon): new
4793
* panel.c: (drop_url): remove .png from icon name
4794
(drop_urilist): use gtk_icon_theme_get_default ()
4795
instead of panel_icon_theme (for now), remove .png from icon names
4796
(panel_receive_dnd_data): remove .png from icon name
4798
2005-01-29 Vincent Untz <vincent@vuntz.net>
4800
* .cvsignore: add panel-default-setup.entries
4802
2005-01-29 Vincent Untz <vincent@vuntz.net>
4804
* Makefile.am: build panel-default-setup.entries with
4805
${datadir}/applications/ instead of applications:///
4806
* panel-default-setup.entries: killed
4807
* panel-default-setup.entries.in: new
4808
* panel-object.schemas.in: replace the default menu_path with
4809
applications:/ (it's just because the old default was
4810
applications:///). applications:/ has a meaning now (it's just the
4811
root of applications.menu)
4814
2005-01-28 Vincent Untz <vincent@vuntz.net>
4816
* launcher.c: (launcher_load_from_gconf): try to migrate the launcher
4817
from the applications: scheme when we load it
4818
* panel-compatibility.[ch]:
4819
(panel_compatibility_migrate_applications_scheme): actual migration
4823
2005-01-26 Vincent Untz <vincent@vuntz.net>
4825
* eggaccelerators.[ch]: updated from libegg
4826
* panel-bindings.c: (panel_binding_set_from_string): updated because
4827
of API change in eggaccelerators
4828
* panel-widget.c: (panel_widget_applet_button_release_event): fix
4831
2005-01-25 Vincent Untz <vincent@vuntz.net>
4833
* egg-recent*: updated from libegg
4835
==================== 2.9.90 ====================
4837
2005-01-25 Vincent Untz <vincent@vuntz.net>
4839
* panel-menu-bar.c: (panel_menu_bar_create_places_menu): update the
4840
Desktop tooltip and change string for "Desktop" so that it can be
4841
correctly translated
4842
(panel_menu_bar_instance_init): change string for "Desktop" so that it
4843
can be correctly translated
4846
* panel-recent.c: (recent_documents_clear_cb): Actions menu is dead.
4847
Now, the recent documents list is in the places menu. Update string
4850
2005-01-23 Vincent Untz <vincent@vuntz.net>
4852
* menu.c: (panel_make_menu_icon): only scale the icon if the height
4853
*and* (and not *or*) the width don't have the expected size and keep
4854
the aspect ratio when we scale the icon.
4857
2005-01-23 Vincent Untz <vincent@vuntz.net>
4859
* GNOME_Panel_Popup.xml: move "Lock To Panel" at the bottom
4860
* applet.c: (panel_applet_create_menu): ditto
4863
2005-01-14 Vincent Untz <vincent@vuntz.net>
4865
Add "Connect to Server" item to the Places menu.
4867
* panel-action-button.c: add definition for the new action
4868
(panel_action_connect_server): new
4869
* panel-enums.h: add enum for the new action
4870
* panel-menu-bar.c: (panel_menu_bar_create_places_menu): add the
4871
"Connect to Server" item if it's available
4873
2005-01-14 Vincent Untz <vincent@vuntz.net>
4875
Add a help button when creating a new .desktop file on the desktop.
4877
Original patch from Takao Fujiwara <Takao.Fujiwara@Sun.COM>
4879
* menu-ditem.c: (ditem_properties_clicked): update the help we show
4880
(really_add_new_menu_item): handle help
4881
(panel_new_launcher): add a help button
4883
2005-01-14 Vincent Untz <vincent@vuntz.net>
4885
* panel-recent.c: (panel_recent_append_documents_menu): connect to the
4886
"changed" signal only while the model is alive.
4889
2005-01-14 Vincent Untz <vincent@vuntz.net>
4891
* panel-menu-bar.c: (panel_menu_bar_append_gtk_bookmarks): unescape
4892
the uri before creating the GnomeVFSURI
4895
2005-01-13 Vincent Untz <vincent@vuntz.net>
4897
Patch from Arvind Samptur <arvind.samptur@wipro.com>
4899
* panel-widget.c: (panel_widget_applet_motion_notify_event): If
4900
the pointer moves to a screen other than where the object is, don't
4901
continue with the action. Fixes #110890
4903
2005-01-13 Vincent Untz <vincent@vuntz.net>
4905
* panel-menu-bar.c: (panel_menu_bar_append_gtk_bookmarks):
4906
(panel_menu_bar_append_volumes): explicitly show the submenu item.
4907
Fix item not showing after an update.
4909
2005-01-12 Vincent Untz <vincent@vuntz.net>
4911
* launcher.c: (launcher_changed): unset StartupNotify in the .desktop
4912
file when editing the command of the launcher.
4915
2005-01-12 Vincent Untz <vincent@vuntz.net>
4917
Try to make the menu position algorithm better.
4920
* applet.c: (panel_applet_position_menu): position the menu
4921
left-aligned at the left of the applet if the mouse pointer can reach
4922
it without moving or right-aligned at the right of the applet (if the
4923
mouse...) or aligned with the mouse pointer. Sounds complex but try it
4924
and you'll understand :-)
4926
2005-01-12 Vincent Untz <vincent@vuntz.net>
4928
Use gtk dnd threshold value for snap tolerance
4931
* panel-toplevel.c: (panel_toplevel_move_to): updated to use the
4932
snap_tolerance in the private structure
4933
(panel_toplevel_rotate_to_pointer): ditto
4934
(panel_toplevel_calc_floating): ditto
4935
(panel_toplevel_update_normal_position): ditto
4936
(panel_toplevel_update_auto_hide_position): ditto
4937
(panel_toplevel_drag_threshold_changed): new, update the
4938
snap_tolerance when gtk-dnd-drag-threshold has been changed
4939
(panel_toplevel_update_gtk_settings): new, update the GtkSettings we
4940
watch and disconnect from the previous one
4941
(panel_toplevel_screen_changed): call
4942
panel_toplevel_update_gtk_settings()
4943
(panel_toplevel_finalize): disconnect the handler for
4944
gtk-dnd-drag-threshold changes
4945
(panel_toplevel_instance_init): initialize the new fields and the
4946
GtkSettings we watch
4948
2005-01-12 Vincent Untz <vincent@vuntz.net>
4950
* panel-gconf.c: (panel_gconf_copy_dir): don't set a key if there's no
4951
value. Fix crasher #146768.
4953
2005-01-12 Vincent Untz <vincent@vuntz.net>
4955
* panel-addto.c: (panel_addto_dialog_new): fix spacing/border sizes.
4956
Fix bug #163317 again.
4958
2005-01-12 Arvind Samptur <arvind.samptur@wipro.com>
4960
* applet.[ch]: (panel_applet_get_by_type): Add GdkScreen
4962
* panel-action-protocol.c: (panel_action_protocol_main_menu):
4963
Pass the GdkScreen to get the right applet object.
4966
2005-01-11 Mark McLoughlin <mark@skynet.ie>
4968
* panel-run-dialog.c:
4969
(panel_run_dialog_find_command_icon_idle): don't open the
4970
.desktop file to get the exec while matching.
4971
(panel_run_dialog_add_items_idle): pull the exec for matching
4972
with menu_tree_entry_get_exec().
4974
2005-01-11 Arvind Samptur <arvind.samptur@wipro.com>
4976
* panel-toplevel.c: (panel_toplevel_attach_to_widget): Get
4977
the screen right for the attached toplevel widget.
4980
==================== 2.9.4 ====================
4982
2005-01-10 Mark McLoughlin <mark@skynet.ie>
4984
Remove Shutdown/Reboot menu items again - we couldn't
4985
figure out how to make it work in time in bug #92277
4988
* menu.c, panel-action-button.c, panel-enums.h,
4989
panel-lockdown.[ch], panel-menu-bar.c: remove
4990
shutdown/reboot menu items.
4992
* gdm-logout-action.[ch]: remove.
4994
2005-01-10 Vincent Untz <vincent@vuntz.net>
4996
* main.c: (main): call gnome_authentication_manager_init() because the
4997
user might need the authentication dialogs.
4999
2005-01-10 Vincent Untz <vincent@vuntz.net>
5001
* launcher.c: (really_add_launcher): don't try to remove the busy
5002
cursor when an error dialog is closed, destroy the error dialog when
5003
the launcher editor dialog is closed
5006
2005-01-10 Vincent Untz <vincent@vuntz.net>
5008
* drawer.c: (set_tooltip_and_name): don't set toplevel name to Drawer
5009
if the tooltip is not set
5010
* panel-toplevel.c: (panel_toplevel_construct_description):
5011
description should be Drawer if the toplevel is attached (drawers
5012
don't have default names anymore)
5013
The previous commit and this one should fix bug #152480.
5015
2005-01-09 Vincent Untz <vincent@vuntz.net>
5017
HIG work on the "Add to Panel" dialog. Fix bug #163317
5018
Original patch from Luca Ferretti <elle.uca@libero.it>
5020
* panel-addto.c: (panel_addto_name_change): Use "Add to Panel" (or
5021
Drawer) title, don't use bold for the list header label
5022
(panel_addto_dialog_new): invert CANCEL and RESPONSE_BACK buttons
5023
order, fix spacing/border sizes.
5025
2005-01-09 Vincent Untz <vincent@vuntz.net>
5027
Don't draw handles for drawers. Fix bug #142656.
5029
* panel-toplevel.c: (panel_toplevel_update_size): we don't need
5030
handles if the toplevel is attached
5031
(panel_toplevel_size_allocate): ditto
5032
(panel_toplevel_expose): don't draw handles if the toplevel is
5035
2005-01-09 Vincent Untz <vincent@vuntz.net>
5037
New menu layout. See bug #161613
5039
* menu.[ch]: (setup_uri_drag): new
5040
(create_fake_menu): add panel-menu-needs-appending data to the menu so
5041
we can append items after desktop files
5042
(handle_menu_tree_changed): ditto
5043
(create_applications_menu): ditto
5044
(panel-addto.c): (panel_addto_append_internal_applets): renamed to...
5045
(panel_addto_prepend_internal_applets): new function
5046
(panel_addto_query_applets): prepend instead of appending (small
5048
(panel_addto_make_applet_model): updated
5049
(panel_addto_make_application_list): prepend instead of appending, and
5050
reverse the list at the end
5051
(panel_addto_make_application_model): append items from the settings
5053
(panel_addto_dialog_free): free settings item list
5054
* panel-context-menu.c: (panel_context_menu_show_about_gnome): killed
5055
(panel_context_menu_create): do not add "About GNOME" menu item here
5056
since it's in the menu bar now
5057
* panel-menu-bar.c: (activate_uri), (activate_app_def),
5058
(panel_menu_bar_append_from_desktop),
5059
(panel_menu_bar_append_place_item),
5060
(panel_menu_bar_recreate_places_menu),
5061
(panel_menu_bar_recreate_desktop_menu),
5062
(panel_menu_bar_append_applications_menu),
5063
(panel_menu_bar_create_applications_menu),
5064
(panel_menu_bar_desktop_is_home_dir_changed),
5065
(panel_menu_bar_gtk_bookmarks_changed),
5066
(panel_menu_bar_volume_changed),
5067
(panel_menu_bar_append_gtk_bookmarks),
5068
(panel_menu_bar_append_volumes), (panel_menu_bar_create_places_menu),
5069
(panel_menu_bar_append_desktop_menu),
5070
(panel_menu_bar_create_desktop_menu): new
5071
(panel_menu_bar_recreate_actions_menu),
5072
(panel_menu_bar_create_actions_menu): killed
5073
(panel_menu_bar_instance_init): connect to the desktop_is_home_dir
5074
key, monitor the ~/.gtk-bookmarks file, monitor the (un)mounted
5075
volumes, create the three menus here
5076
(panel_menu_bar_parent_set): updated
5077
(panel_menu_bar_finalize): new, clean up things we created in
5079
(panel_menu_bar_class_init): add the finalize handler
5081
2005-01-07 Dennis Cranston <dennis_cranston@yahoo.com>
5083
* drawer.c: (load_drawer_applet): Use header capitalization,
5086
2005-01-07 Mark McLoughlin <mark@skynet.ie>
5088
Fix crasher when moving a menu button between panels.
5091
* panel-menu-button.c: (panel_menu_button_get_icon):
5092
Don't unref the MenuTreeDirectory.
5094
2005-01-07 Mark McLoughlin <mark@skynet.ie>
5096
* menu.c: (add_menu_to_panel): unref the return value
5097
from menu_tree_entry_unref(). add_menudrawer_to_panel()
5100
2005-01-07 Vincent Untz <vincent@vuntz.net>
5102
* launcher.c: (drag_data_received_cb): draw animation when dropping
5106
2005-01-06 Mark McLoughlin <mark@skynet.ie>
5108
Noted by Eugene O'Connor in bug #92277
5110
* panel-action-button.c: s/Lock screen/Lock Screen/
5112
2005-01-06 Mark McLoughlin <mark@skynet.ie>
5114
Based on a patch by Raffaele Sandrini <rasa@gmx.ch>
5116
Add Shut Down/Restart menu items to the actions menu and
5117
the main menu. Works by using GDM's SET_LOGOUT_ACTION
5120
gnome-session implications still being discussed in
5123
* Makefile.am: add gdm-logout-action.[ch].
5125
* gdm-logout-action.[ch]: logout action protocol
5128
* menu.c: (create_main_menu):
5129
panel-menu-bar.c: (panel_menu_bar_create_actions_menu):
5130
add Shut Down/Restart menu items.
5132
* panel-action-button.c:
5133
(panel_action_shutdown), (panel_action_reboot): hook
5134
up the action buttons.
5136
* panel-enums.h: add shutdown/reboot actions.
5138
* panel-lockdown.[ch]:
5139
(panel_lockdown_get_disable_shutdown),
5140
(panel_lockdown_get_disable_reboot): check to see if
5141
logout is disabled and whether GDM supports the logout
5144
2005-01-04 Vincent Noel <vnoel@cox.net>
5146
* panel-menu-bar.c: (panel_menu_bar_on_expose),
5147
(panel_menu_bar_load): Add a focus line around the menu bar applet
5148
when navigating with keyboard. Patch discussed in bug #160450.
5150
2005-01-02 Vincent Untz <vincent@vuntz.net>
5152
Fix applet handles in RTL environment.
5153
Partial fix for bug #154320.
5155
* panel-applet-frame.c: (panel_applet_frame_get_background_string):
5156
don't forget the direction when we build the string
5157
(panel_applet_frame_size_allocate): get correct positions if we're in
5160
2005-01-02 Vincent Untz <vincent@vuntz.net>
5162
* panel-default-setup.entries: remove default panel names since we now
5163
have sane wording for nameless panels.
5164
Based on patch from Christian Neumair.
5167
2005-01-02 Vincent Untz <vincent@vuntz.net>
5169
Update the Lock check menu item when the gconf key changes
5170
Based on a patch from Leena Gunda <leena.gunda@wipro.com>
5173
* applet.c: (panel_applet_locked_change_notify): new, update the
5174
object context menu when the lock gconf key changes
5175
(panel_applet_create_menu): add mnemonic for "Lock To Panel"
5176
(panel_applet_destroy): only remove the lockdown notify if the object
5177
is not a bonobo object
5178
(panel_applet_register): only add the lockdown notify if the object is
5179
not a bonobo object, connect to the "locked" gconf key
5180
* panel-applet-frame.c: (panel_applet_frame_sync_menu_state): make
5183
2005-01-02 Vincent Untz <vincent@vuntz.net>
5185
Make Lock menu item HIG compliant.
5186
Based on patch from Madhan Raj M <raj_madan@rediffmail.com>
5189
* GNOME_Panel_Popup.xml: use a check menu item for the lock item and
5191
* applet.c: (panel_applet_lock): updated to toggle the check menu item
5192
(panel_applet_create_menu): updated to create a check menu item. Don't
5193
create useless GtkImages.
5194
* panel-applet-frame.c: (panel_applet_frame_sync_menu_state): set the
5195
state of the check menu item
5196
(popup_handle_lock): killed
5197
(listener_popup_handle_lock): new function to toggle the locked state
5198
(panel_applet_frame_activated): listen for check menu item changes
5200
2005-01-01 Vincent Untz <vincent@vuntz.net>
5202
Port the GnomeFileEntry in the property dialog to
5203
GtkFileChooserButton.
5205
* panel-properties-dialog.c: (panel_properties_dialog_image_changed):
5207
(panel_properties_dialog_setup_image_entry): renamed to...
5208
(panel_properties_dialog_setup_image_chooser): new function, add a
5209
filter so only images are shown in the file chooser. Fix bug #129724.
5210
(panel_properties_dialog_update_background_image): updated
5211
(panel_properties_dialog_new): updated
5212
* panel-properties-dialog.glade: updated
5214
2005-01-01 Vincent Untz <vincent@vuntz.net>
5216
* panel-addto.c: (panel_addto_selection_changed): use
5217
gtk_button_set_use_stock() only once.
5219
2005-01-01 Vincent Untz <vincent@vuntz.net>
5221
* panel-addto.c: (panel_addto_make_text): small update
5222
(panel_addto_name_change): fix displayed strings when panel name is
5224
Fix bug #162258, thanks to Christian Neumair.
5226
2004-12-30 Vincent Untz <vincent@vuntz.net>
5228
* panel-applet-frame.c: (panel_applet_frame_activated): fix invalid
5229
read of size 4. Thanks to Kjartan for finding this.
5232
2004-12-22 Vincent Untz <vincent@vuntz.net>
5234
* panel-background.c: (load_background_file): only open background
5235
images from regular files. Based on patch by Vasista sarma
5236
<svasista@novell.com>. Fix bug #152127.
5238
2004-12-22 Vincent Untz <vincent@vuntz.net>
5240
* panel-toplevel.c: (panel_toplevel_auto_hide_timeout_handler):
5241
reset the hide timeout id. Fix autohiding not always working.
5243
2004-12-22 Vincent Untz <vincent@vuntz.net>
5245
* panel-struts.c: (get_toplevel_depth): new function to know the depth
5246
of a toplevel (useful for drawers)
5247
(panel_struts_compare): panel with biggest depth should be at the top
5250
* panel-toplevel.c: (panel_toplevel_destroy): nullify some fields
5252
2004-12-22 Vincent Untz <vincent@vuntz.net>
5254
* panel-multiscreen.c: (panel_multiscreen_reinit): disconnect the
5255
size-changed signal handlers if they exist because they will be added
5256
again in panel_multiscreen_init(). The panel should not take 100% CPU
5257
when changing monitor resolution...
5260
2004-12-21 Vincent Untz <vincent@vuntz.net>
5262
* launcher.c: (launcher_launch): close parent drawers of a drawer when
5263
a launcher is launched.
5266
==================== 2.9.3 ====================
5268
2004-12-21 Vincent Untz <vincent@vuntz.net>
5270
* panel-toplevel.c: (panel_toplevel_move_to): make it easier to center
5271
a toplevel by using SNAP_TOLERANCE in the tests and better tests
5272
(panel_toplevel_update_normal_position): when snapping a toplevel to
5273
an edge, update its x/y settings. It makes sense and we can avoid loops
5274
like the one in bug #156522.
5275
(panel_toplevel_update_auto_hide_position): ditto
5276
(panel_toplevel_update_position): upgraded my brain again. And fix
5277
probable multiscreen brokenness I introduced yesterday.
5279
2004-12-20 Vincent Untz <vincent@vuntz.net>
5281
* panel-toplevel.c: (panel_toplevel_update_position): I've bought a
5282
brain. Now the code looks better. Even if it might still be just a
5283
workaround (I could not afford a better brain, I'm sorry).
5285
2004-12-20 Vincent Untz <vincent@vuntz.net>
5287
* panel-toplevel.c: (panel_toplevel_update_position): brown paper fix
5289
2004-12-20 Vincent Untz <vincent@vuntz.net>
5291
Fix 100% CPU usage when closing drawers. I'm not sure this is an
5292
optimal fix, and maybe that's just a workaround, so I'm adding a
5296
* panel-toplevel.c: (panel_toplevel_update_position): don't forget to
5297
count the frame bevels when updating the position.
5299
2004-12-19 Vincent Untz <vincent@vuntz.net>
5301
* panel-widget.c: (panel_widget_applet_destroy): do not forget to
5302
remove the pointer to PANEL_APPLET_DATA. Fix invalid read/write in
5303
panel_widget_set_applet_size_hints ().
5305
2004-12-19 Vincent Untz <vincent@vuntz.net>
5307
Fix pixmap background when moving the menu bar.
5309
* panel-menu-bar.c: (panel_menu_bar_realized): killed
5310
(panel_menu_bar_size_allocate): new size allocation function, update
5311
the background if the allocation has changed
5312
(panel_menu_bar_class_init): declare the size allocation function
5313
(panel_menu_bar_load): remove hack :-)
5315
2004-12-19 Vincent Untz <vincent@vuntz.net>
5317
* panel-applet-frame.c: (panel_applet_frame_get_background_string):
5320
2004-12-19 Vincent Untz <vincent@vuntz.net>
5322
* panel-applet-frame.c: (panel_applet_frame_get_background_string):
5323
get the right pixmap background when the applet has an handle.
5325
2004-12-19 Vincent Untz <vincent@vuntz.net>
5327
* panel-background-monitor.c: (panel_background_monitor_get_region):
5328
copy the area at the right place, so we get the expected pixbuf when
5329
the panel is autohidden at the top or the left of the screen.
5330
Fix bug #110701. And kill a FIXME.
5332
2004-12-19 Vincent Untz <vincent@vuntz.net>
5334
Fix removal of the last applet/object that could not get removed,
5335
which could cause a crash if the user tried to remove it again.
5337
* panel-profile.c: (panel_profile_save_id_list): add a resave
5338
parameter so we know if we want to save again the same id_list or if
5339
we want to save the new one passed as paramater
5340
(panel_profile_save_other_id_lists): updated
5341
(panel_profile_add_to_list): updated
5342
(panel_profile_remove_from_list): updated
5344
2004-12-19 Vincent Untz <vincent@vuntz.net>
5346
Add a "Launch" menu item to the launcher context menu
5348
* applet.c: (applet_callback_callback): handle the "Launch" menu item
5350
* launcher.[ch]: (launch_cb): renamed to...
5351
(launcher_launch): new function, arguments are now swapped
5352
(create_launcher): updated
5353
(load_launcher_applet): add "Launch" menu item to the context menu
5355
2004-12-19 Vincent Untz <vincent@vuntz.net>
5357
The drawer context menu is now the same if you click on the drawer
5358
toplevel or on the drawer button widget. This should be more
5361
* applet.[ch]: (panel_applet_create_menu): we don't need the second
5362
argument, connect to the "show" signal of the menu so we can push
5363
the auto-hide disabler. Doing it in a signal callback is better
5364
since drawer menus are not always shown through applet_show_menu ()
5365
(panel_applet_recreate_menu): updated
5366
(applet_callback_callback): handle the "Add to drawer..." menu item
5368
(applet_menu_show): new function, to push the autohide disabler
5369
(applet_show_menu): updated, and do not push auto-hide disabler here
5370
* drawer.c: (drawer_properties_enabled): renamed to...
5371
(drawer_changes_enabled): new function
5372
(load_drawer_applet): add a "Add to drawer..." menu item to the
5374
* panel-context-menu.c: (panel_context_menu_create): for drawers,
5375
create the applet context menu
5376
* panel.c: (menu_deactivate): renamed to...
5377
(context_menu_deactivate): new function
5378
(context_menu_show): new function, to push the auto-hide disabler
5379
(panel_menu_get): connect to the "show" signal of the menu so we can
5380
push the auto-hide disabler (same rationale as before), handle the
5381
fact that the menu can be NULL
5382
(panel_popup_menu): do not push auto-hide disabler here, handle the
5383
fact that the menu can be NULL
5385
2004-12-18 Vincent Untz <vincent@vuntz.net>
5387
* panel.c: (drag_motion_cb): don't queue auto-hide here
5388
(drag_leave_cb): queue it here
5391
2004-12-16 Dennis Cranston <dennis_cranston at yahoo com>
5393
* panel.c: HIGify the "Delete this Panel..." dialog.
5395
2004-12-18 Vincent Untz <vincent@vuntz.net>
5397
Don't use only the 48x48 icons for button widgets.
5399
* button-widget.[ch]: (button_widget_unset_pixbufs): the scaled pixbuf
5401
(button_widget_load_and_scale_stock_icon): new function, to load and
5403
(button_widget_load_pixbuf_and_scale): killed
5404
(button_widget_reload_pixbuf): move the code of
5405
button_widget_load_pixbuf_and_scale () here. It was simplified a lot
5406
since we don't need to scale the pixbuf any more.
5407
(button_load_pixbuf): add a preferred_size parameter
5408
(button_widget_expose): the scaled pixbuf was removed
5409
(button_widget_size_allocate): reload the pixbuf if the size has
5411
(button_widget_instance_init): the scaled pixbuf was removed
5413
2004-12-16 Dennis Cranston <dennis_cranston@yahoo.com>
5415
* panel-action-button.c: (panel_action_search): Use
5416
startup notification when launching gnome-search-tool.
5418
* panel-utils.[ch]: add panel_lookup_in_data_dirs ().
5420
2004-12-16 Vincent Untz <vincent@vuntz.net>
5422
* panel-recent.c: (panel_recent_append_documents_menu): use
5423
add_menu_separator (). Sometimes the separator disappeared: the widget
5426
2004-12-16 Vincent Untz <vincent@vuntz.net>
5428
* panel-menu-bar.c: (panel_menu_bar_connect_menu_signals): fix memory
5429
corruption (the callback data for gtk_widget_destroyed should never be
5430
a pointer to a GtkWidget * that is a function parameter!)
5431
(panel_menu_bar_recreate_actions_menu): updated
5432
(panel_menu_bar_instance_init): updated
5434
2004-12-15 Vincent Untz <vincent@vuntz.net>
5436
* panel-addto.c: (panel_addto_append_internal_applets): data is static
5437
(panel_addto_query_applets): free the data we get from bonobo
5438
(panel_addto_make_application_list): data is not static
5439
(panel_addto_dialog_free_item_info): new
5440
(panel_addto_dialog_free_application_list): free items
5441
(panel_addto_dialog_free): ditto
5442
Should fix bug #151197
5444
2004-12-15 Vincent Untz <vincent@vuntz.net>
5446
* menu.[ch]: (create_menuitem): add FIXME so we don't forget to add
5447
the right icon for drag and drop when the GTK+ API will be available
5448
(menu_create_action_item): new function
5449
(append_lock_screen): killed
5450
(append_log_out): killed
5451
(create_main_menu): use menu_create_action_item ()
5452
* panel-action-button.[ch]: (panel_action_get_invoke): new
5453
(panel_action_lock_screen), (panel_action_logout),
5454
(panel_action_run_program), (panel_action_search),
5455
(panel_action_screenshot): make them static since other modules use
5456
panel_action_get_invoke () now
5457
* panel-menu-bar.c: (panel_menu_bar_append_action_item): killed
5458
(panel_menu_bar_recreate_actions_menu): updated with
5459
menu_create_action_item () and add_menu_separator ()
5461
2004-12-12 Vincent Untz <vincent@vuntz.net>
5463
First step in trying to make menu.c cleaner: move the panel context
5466
* Makefile.am: add new files
5467
* menu.[ch]: (menu_get_panel), (menuitem_to_screen),
5468
(add_menu_separator): these functions are no longer static
5469
(check_for_screen), (show_about_dialog), (about_gnome_cb),
5470
(create_new_panel), (remove_panel), (setup_remove_this_panel),
5471
(make_panel_submenu), (show_panel_help), (create_panel_context_menu):
5472
move these functions...
5473
* panel-context-menu.[ch]: ... here (new files)
5474
* panel.c: (panel_menu_get): updated
5476
2004-12-05 Mark McLoughlin <mark@skynet.ie>
5478
Don't actually reload the the menu tree until the menu
5479
is to be shown as was originally intended.
5482
(submenu_to_display): if there's no menu directory
5483
associated with the widget, lookup the directory
5484
using the menu path.
5485
(handle_menu_tree_changed): don't reload the menu, just
5486
unset the root menu directory.
5487
(create_applications_menu): just set the root menu path
5490
2004-12-05 Mark McLoughlin <mark@skynet.ie>
5492
Patch from Frederic Crozat <fcrozat@mandrakesoft.com>
5494
* menu.c: (add_menudrawer_to_panel): don't leak the
5497
2004-12-04 Vincent Untz <vincent@vuntz.net>
5499
* menu.[ch]: (setup_internal_applet_drag): setup the drag icon too.
5500
It's waaaaaayyyy nicer :-)
5501
(append_lock_screen): updated
5502
(append_log_out): updated
5503
(create_main_menu): updated
5504
* panel-menu-bar.c: (panel_menu_bar_append_action_item): updated
5506
2004-12-04 Vincent Untz <vincent@vuntz.net>
5508
Remove some stock icons and directly use the icon names instead.
5509
I only left stock icons that are references more than once, so we
5510
can change all the references at once. But it might be better to
5511
provide a #define...
5513
* menu.[ch]: (setup_stock_menu_item): renamed to...
5514
(setup_menu_item_with_icon): new function, so we can use a stock icon
5516
(append_lock_screen): updated
5517
(append_log_out): updated
5518
(create_main_menu): updated
5519
* panel-action-button.[ch]: add icon names for most of the actions
5520
(panel_action_get_icon_name): new function
5521
(panel_action_button_set_type): updated to use the right icon
5522
(panel_action_button_style_set): ditto
5523
(panel_action_button_set_dnd_enabled): ditto
5524
* panel-addto.c: (panel_addto_append_internal_applets): updated
5525
* panel-menu-bar.c: (panel_menu_bar_append_action_item): updated
5526
* panel-recent.c: (panel_recent_append_documents_menu): updated
5527
* panel-stock-icons.[ch]: removed 6 stock icons. 5 to go!
5529
2004-12-04 Vincent Untz <vincent@vuntz.net>
5531
The menu bar now uses the panel background too.
5534
* panel-background.[ch]: (panel_background_get_type):
5535
(panel_background_get_color):
5536
(panel_background_get_pixmap): new functions to handle background
5537
changes in internal applets
5538
* panel-menu-bar.[ch]: (panel_menu_bar_realized):
5539
(panel_menu_bar_load): hack so we get the right background when
5540
the menu bar is added
5541
(panel_menu_bar_change_background): new function
5542
* panel.c: (back_change): update background for the menu bar
5544
2004-12-03 Vincent Untz <vincent@vuntz.net>
5546
* panel-menu-bar.c: (panel_menu_bar_show_applications_menu): renamed
5548
(panel_menu_bar_show_menu): new function
5549
(panel_menu_bar_connect_menu_signals): new function
5550
(panel_menu_bar_append_action_item): add argument so we can attach
5552
(panel_menu_bar_recreate_actions_menu): updated
5553
(panel_menu_bar_append_actions_menu): renamed to...
5554
(panel_menu_bar_create_actions_menu): new function. This creates a
5555
menu. And that's all. Also, don't make it possible to have two
5556
consecutive separators
5557
(panel_menu_bar_instance_init): updated to use the new functions.
5559
* panel-run-dialog.c: (entry_changed): use new GTK+ function to set
5561
(entry_drag_data_received): make sure the data we get is text and
5563
(panel_run_dialog_setup_entry): use new GTK+ function to set the drag
5564
targets, don't let GTK+ handle the drop signal
5567
* panel-toplevel.c: (panel_toplevel_update_hidden_position): correctly
5568
update the position of the panel when hidden and we change the use
5569
of arrows. Fix bug #156711
5570
Also, don't use the auto_hide_size setting here since it's not
5572
(panel_toplevel_set_orientation): update the state of the panel if
5573
it's hidden. Fix bug #156713
5575
2004-12-01 Mark McLoughlin <mark@skynet.ie>
5577
* menu-ditem.c: (panel_new_launcher): more warnings -
5578
@auto_destroy is the third arg, not the fourth.
5580
2004-12-01 Mark McLoughlin <mark@skynet.ie>
5583
(panel_show_help), (panel_lock_screen): update for addition
5584
of new arg to panel_error_dialog. Fixes more warnings.
5586
2004-12-01 Mark McLoughlin <mark@skynet.ie>
5588
* panel.c: (drop_urilist): fix warning.
5590
2004-11-30 Vincent Untz <vincent@vuntz.net>
5592
* panel.c: (drop_urilist): don't leak the icon
5594
2004-11-30 Vincent Untz <vincent@vuntz.net>
5596
* panel.c: (drop_urilist): use gnome_icon_lookup() to find the icon
5597
for the dropped URI. Fix bug #159174.
5599
2004-11-30 Vincent Untz <vincent@vuntz.net>
5601
* panel-util.[ch]: (panel_error_dialog): add an argument to specify
5602
if the dialog should be automatically destroyed when closed
5603
(panel_dialog): ditto
5604
* button-widget.c: (button_widget_load_pixbuf_and_scale): updated
5605
panel_error_dialog call
5606
* launcher.c: (panel_launcher_save_ditem), (launch_url),
5607
(drag_data_received_cb), (really_add_launcher): ditto
5608
* menu-ditem.c: (ditem_properties_close), (really_add_new_menu_item),
5609
(panel_new_launcher): ditto
5610
* menu.c: (about_gnome_cb), (activate_app_def), (remove_panel): ditto
5611
* panel-action-button.c: (panel_action_search),
5612
(panel_action_screenshot): ditto
5613
* panel-recent.c: (recent_documents_activate_cb): ditto
5614
* panel-run-dialog.c: (panel_run_dialog_launch_command),
5615
(panel_run_dialog_show_url), (panel_run_dialog_execute): ditto
5616
* panel-shell.c: (panel_shell_register): ditto and remove an horrible
5619
2004-11-29 Vincent Untz <vincent@vuntz.net>
5621
Fix gnome-panel part of bug #148171, and rework the code
5623
* panel-applet-frame.[ch]: (panel_applet_frame_new): killed
5624
(panel_applet_frame_construct): killed
5625
(panel_applet_frame_load): move some code of the old
5626
panel_applet_frame_new() and panel_applet_frame_construct() here, use
5627
bonobo_get_object_async instead of bonobo_get_object so we don't block
5628
during the creation of the bonobo object (that's the fix for bug
5630
(panel_applet_frame_set_info): killed
5631
(panel_applet_frame_loading_failed_response): new function, to handle
5632
the response of the dialog
5633
(panel_applet_frame_loading_failed): simplified, don't block with
5634
gtk_dialog_run, make the error dialog more HIG compliant
5635
(panel_applet_frame_activated): new, with code from the old
5636
panel_applet_frame_construct()
5637
(panel_applet_frame_get_panel): killed
5638
(panel_applet_frame_get_size_hints): remove from header since it does
5641
2004-11-29 Vincent Untz <vincent@vuntz.net>
5643
I don't like FIXMEs. Let's try to fix most of them.
5645
* panel-addto.c: (panel_addto_selection_changed): remove FIXME I added
5646
for a reason I forgot a long time ago...
5648
* panel-background-monitor.[ch]: (panel_background_monitor_get): kill,
5649
it's not used any more since we have the better
5650
panel_background_monitor_get_for_screen()
5652
* panel-run-dialog.c: (panel_run_dialog_new): use
5653
gdk_x11_window_set_user_time instead of
5654
panel_gdk_x11_window_set_user_time
5655
(panel_run_dialog_present): ditto
5656
* panel-xutils.[ch]: (panel_gdk_x11_window_set_user_time): kill, we
5657
now depend on GTK+ >= 2.5
5659
==================== 2.9.2 ====================
5661
2004-11-29 Vincent Untz <vincent@vuntz.net>
5663
* Makefile.am: fix distcheck
5665
2004-11-28 Vincent Untz <vincent@vuntz.net>
5667
Patch from Romain Baffet <rbaffert0-pub@yahoo.fr> in bug #152098.
5669
* panel.c: (drop_url): split the dropped data in URL and name so we
5670
can have a launcher that works, use a nice Name for the launcher if
5673
2004-11-28 Vincent Untz <vincent@vuntz.net>
5675
Why create launcher that call nautilus? Fix bug #159535.
5677
* panel.c: (drop_nautilus_uri): killed
5678
(drop_uri): new, create a link .desktop file
5679
(drop_directory): killed
5680
(drop_urilist): use drop_uri() instead of drop_nautilus_uri() and
5681
don't make a special case for directories
5682
(panel_receive_dnd_data): use drop_uri() instead of drop_nautilus_uri()
5684
2004-11-26 Mark McLoughlin <mark@skynet.ie>
5686
Patch from Matthias Clasen <mclasen@redhat.com> in
5689
* xstuff.c: (draw_zoom_animation): round the integer
5690
co-ords only once since we seem to sometimes get
5693
2004-11-25 Marco Pesenti Gritti <marco@gnome.org>
5697
Include mime-handlers, not application-registry
5699
2004-11-24 Mark McLoughlin <mark@skynet.ie>
5701
Patch from Alex Larsson.
5703
* panel-menu-button.c: (split_menu_uri): don't crash if
5706
2004-11-23 Mark McLoughlin <mark@skynet.ie>
5708
* panel.c: (drop_directory): fix brokeness.
5710
2004-11-23 Mark McLoughlin <mark@skynet.ie>
5712
* panel.c: (drop_urilist): don't use gnome-vfs-module
5715
* panel-addto.c: (panel_addto_query_applets),
5716
panel-applet-frame.c: (panel_applet_frame_get_name):
5719
2004-11-22 Marco Pesenti Gritti <marco@gnome.org>
5721
reviewed by: Mark McLoughlin <mark@skynet.ie>
5723
* panel-recent.c: (show_uri):
5725
Reimplement using gnome vfs launch api.
5728
2004-11-21 Vincent Untz <vincent@vuntz.net>
5730
* panel-toplevel.c: (panel_toplevel_instance_init): ignore the delete
5731
event. Patch from Sebastian Kapfer <sebastian_kapfer web de>
5734
2004-11-19 Vincent Untz <vincent@vuntz.net>
5736
* panel-properties-dialog.c: (get_name):
5737
(panel_properties_dialog_name_changed):
5738
(panel_properties_dialog_setup_name_entry):
5739
(panel_properties_dialog_update_name): remove these functions
5740
(panel_properties_dialog_toplevel_notify):
5741
(panel_properties_dialog_new): updated because we don't have the name
5743
* panel-properties-dialog.glade: remove the panel name entry
5744
Fix bug #107611 (original patch by Christian Neumair)
5746
2004-11-16 William Jon McCann <mccann@jhu.edu>
5748
* panel-recent.c (recent_documents_clear_cb):
5749
* panel-applet-frame.c (panel_applet_frame_cnx_broken):
5750
Use new GTK+ HIG message dialog API.
5752
2004-11-13 Vincent Untz <vincent@vuntz.net>
5754
* Makefile.am: gnome-panel doesn't need menu-ditem.[ch] and
5755
gnome_desktop_item_edit doesn't need panel-a11y.c
5756
* panel-addto.c: remove useless menu-ditem.h include
5757
(panel_addto_query_applets): kill one warning
5758
* panel-applet-frame.c: (panel_applet_frame_get_name): kill one
5760
* screenshot-utils.h: remove
5762
2004-11-13 Vincent Untz <vincent@vuntz.net>
5764
* panel-addto.c: (panel_addto_query_applets)
5765
* panel-applet-frame.c: (panel_applet_frame_get_name)
5766
Stop using deprecated gnome_i18n_get_language_list().
5768
2004-11-12 Mark McLoughlin <mark@skynet.ie>
5770
Back in 2.4, we messed up by not realising that the new
5771
configuration format didn't in fact co-exist at all well
5772
with the 2.2 configuration. Which means if you share a
5773
homedir between a GNOME 2.2 (or before) login and a
5774
GNOME 2.4 (or later) login, you're panel is screwed
5777
This change belatedly fixes the problem by storing the
5778
panel configuration in a different location from where
5779
we stored it in GNOME 2.2. It also removes the broken
5780
concept of panel profiles. The new layout is the same
5781
as before except its store in /apps/panel now - e.g. the
5782
list of panels is now /apps/panel/general/toplevel_id_list
5784
* Makefile.am: install the default setup in /apps/panel.
5786
* main.c: (main): remove the --profile command line argument.
5788
* panel-session.c: (panel_session_init): don't save --profile
5789
in the RestartCommand.
5791
* panel-gconf.h: set new config location.
5793
* panel-compatibility.c:
5794
(get_homedir_source): split this out. Yes, it does have
5795
xml:readonly:$(HOME)/.gconf hardcoded. No I don't have any
5797
(panel_compatibility_maybe_copy_old_config): copy the old
5798
configuration to /apps/panel if /apps/panel/general/profiles_migrated
5801
* panel-general.schemas.in: add /apps/panel/general/profiles_migrated
5804
* panel-default-setup.entries: don't apply the schemas for
5805
general keys - we do that in panel-general.schemas now.
5807
* applet.c, drawer.c, launcher.c, panel-action-button.c,
5808
panel-applet-frame.c, panel-gconf.c, panel-menu-button.c,
5809
panel-profile.[ch], panel-run-dialog.c: update for the
5810
fact that we don't have profiles anymore.
5812
2004-11-11 Mark McLoughlin <mark@skynet.ie>
5814
* panel-background-monitor.c:
5815
(panel_background_monitor_setup_pixbuf): trap X errors.
5816
Partial fix for bug #128317.
5818
2004-11-11 Mark McLoughlin <mark@skynet.ie>
5820
* panel-xutils.c: (panel_xutils_set_window_type): fix typo.
5822
2004-11-11 Mark McLoughlin <mark@skynet.ie>
5824
* panel.c: (drop_nautilus_uri): fix quoting issue that
5825
prevented some dropped folders from working. Fix from
5826
Matthias Clasen in bug #155725.
5828
2004-11-11 Mark McLoughlin <mark@skynet.ie>
5830
* panel.c: (drop_urilist): re-work a little to make adding
5831
support for URIs which gnome-vfs doesn't recognise - e.g.
5834
2004-11-09 Mark McLoughlin <mark@skynet.ie>
5836
* Makefile.am: remove -DGTK_MENU_INTERNALS, we don't use
5837
crackpot gtk+ internals anymore. Woo!
5839
2004-11-09 Mark McLoughlin <mark@skynet.ie>
5841
Use libgnome-menu to generate menus so that we now use the
5842
freekdestop.org Desktop Menu Specification.
5844
* menu.[ch]: major hackfest to make it use libgnome-menu and
5845
clean things up in the process.
5847
* panel-addto.c: generate the launcher list using libgnome-menu.
5849
* panel-run-dialog.c: generate the launcher list using libgnome-menu.
5852
panel-menu-button.c: update for menu.[ch] changes
5854
* panel.c: update drag and drop stuff for menu changes.
5856
* panel-util.[ch]: cull a bunch of crap which was only
5857
used by quick-desktop-reader.[ch].
5860
(panel_applet_position_menu): move here from menu-util.[ch].
5862
* Makefile.am: remove menu-util.[ch], menu-fentry.[ch]
5863
and quick-desktop-reader.[ch] from the build.
5865
* menu-fentry.[ch], menu-util.[ch],
5866
quick-desktop-reader.[ch]: remove.
5868
==================== 2.9.1 ====================
5870
2004-11-08 Vincent Untz <vincent@vuntz.net>
5872
* panel-run-dialog.c: (panel_run_dialog_append_file_utf8): don't do
5873
anything if the filename is void
5874
(entry_drag_data_received): ditto
5876
2004-11-08 James Henstridge <james@jamesh.id.au>
5878
* panel-background.c (panel_background_prepare): call
5879
gdk_display_sync() after drawing the panel background. Since
5880
applets will be looking up the background pixmap using a different
5881
display connection, we need to make sure all drawing has occurred
5882
first. Fixes bug #157303.
5884
2004-11-06 Vincent Untz <vincent@vuntz.net>
5886
* menu.c: (create_root_menu):
5887
* panel-action-button.c: (panel_action_screenshot):
5888
* panel-menu-bar.c: (panel_menu_bar_append_actions_menu):
5889
gnome-panel-screenshot was renamed to gnome-screenshot
5890
* panel-addto.c: (panel_addto_make_text): use g_markup_printf_escaped
5891
* panel-util.c: (panel_dialog): don't remove separator since it's
5892
causing a GTK+ warning and it's useless now
5894
Wed Nov 3 12:00:20 2004 Jonathan Blandford <jrb@redhat.com>
5896
* gnome-panel-screenshot: Migrated to gnome-utils. All code is
5899
Mon Nov 1 18:49:47 2004 Jonathan Blandford <jrb@redhat.com>
5901
* Makefile.am (glade_DATA): remove extraneous glade file.
5903
Mon Nov 1 15:52:04 2004 Jonathan Blandford <jrb@redhat.com>
5905
* gnome-panel-screenshot:
5906
* gnome-panel-screenshot.c:
5907
* gnome-panel-screenshot.glade:
5908
* gnome-panel-screenshot.schemas.in:
5909
* screenshot-dialog.c:
5910
* screenshot-dialog.h:
5911
* screenshot-save.c:
5912
* screenshot-save.h:
5913
* screenshot-xfer.c:
5914
* screenshot-xfer.h: Pretty big rewrite. Start of gnome_vfs
5915
support. It's not complete, and the dialog is fully stubbed, but
5916
you can now save to remote URI's. Additionally, it now has a file
5917
chooser embedded in it.
5919
2004-11-01 Vincent Untz <vincent@vuntz.net>
5921
* panel-properties-dialog.c: remove a useless comma
5922
* panel-properties-dialog.glade: don't use GtkColorButton alpha
5925
2004-11-01 Marco Pesenti Gritti <mpg@redhat.com>
5927
reviewed by: Vincent Untz <vincent@vuntz.net>
5929
* gnome-panel/menu-util.c: (get_default_menu_flags):
5930
* gnome-panel/menu.c: (create_root_menu):
5931
* gnome-panel/menu.h:
5932
* gnome-panel/panel-stock-icons.c: (panel_init_stock_icons):
5934
Use icon theme for the stock icons so that they are themed
5935
correctly. Fix #156817.
5937
2004-11-01 Vincent Untz <vincent@vuntz.net>
5939
* *.[ch]: stop including everything from libgnome and libgnomeui, use
5942
* menu.c: (create_panel_context_menu): use GTK_STOCK_ABOUT instead of
5944
* panel-background.[ch]: (panel_background_set_pango_color): killed
5945
(panel_background_set_gdk_color): new
5946
(panel_background_set_color): update for panel_background_set_gdk_color
5947
* panel-profile.[ch]: (panel_profile_set_background_color): update
5948
for panel_profile_set_background_gdk_color
5949
(panel_profile_get_background_color): update for
5950
panel_profile_get_background_gdk_color
5951
(panel_profile_{set,get}_background_pango_color: kill
5952
(panel_profile_{set,get}_background_gdk_color): new
5953
(get_background_color): use GdkColor instead of PangoColor
5954
(panel_profile_background_change_notify): ditto
5955
* panel-properties-dialog.c: port to GtkComboBox and GtkColorButton
5956
(orientation_to_history):
5957
(history_to_orientation):
5958
(panel_properties_dialog_setup_orientation_menu):
5959
(panel_properties_dialog_remove_orientation_menu): kill
5960
(panel_properties_dialog_setup_orientation_combo):
5961
(panel_properties_dialog_remove_orientation_combo): new
5962
(panel_properties_dialog_orientation_changed):
5963
(panel_properties_dialog_update_orientation):
5964
(panel_properties_dialog_update_for_attach): update for the combo box
5965
(panel_properties_dialog_color_changed):
5966
(panel_properties_dialog_update_background_color): update for the
5968
(panel_properties_dialog_setup_color_picker): kill
5969
(panel_properties_dialog_setup_color_button): new
5970
(panel_properties_dialog_new): updated
5971
* panel-properties-dialog.glade: port to GtkComboBox and GtkColorButton
5972
* panel-recent.c: (panel_recent_append_documents_menu): use
5973
gtk_menu_shell_append() instead of deprecated gtk_menu_append()
5974
* panel-run-dialog.c: (panel_run_dialog_find_command_icon_idle): use
5975
gtk_tree_path_new_first() instead of deprecated
5976
gtk_tree_path_new_root()
5978
2004-10-31 Vincent Untz <vincent@vuntz.net>
5980
* Makefile.am: seems like ALLOW_CRACKPOT_MENU_CODE was useful...
5982
2004-10-30 Vincent Untz <vincent@vuntz.net>
5984
* Makefile.am: install stuff in $(datadir)/gnome/panel/{glade,pixmaps},
5985
remove ALLOW_CRACKPOT_MENU_CODE
5987
2004-10-30 Vincent Untz <vincent@vuntz.net>
5989
* panel-addto.c: (panel_addto_dialog_new): ellipsize description of
5992
2004-10-28 Vincent Untz <vincent@vuntz.net>
5994
* gnome-panel-screenshot.c: (update_window_icon): kill
5995
(icon_theme_changed): kill
5996
(set_window_icon): kill
5997
(do_screenshot): don't set icon here
5998
(main): set default icon here so that all dialogs will have the icon
6000
* panel-stock-icons.[ch]: remove useless stock definitions
6002
2004-10-27 Vincent Untz <vincent@vuntz.net>
6004
* panel-stock-icons.c: use drawer.png from gnome-icon-theme for the
6007
2004-10-27 Vincent Untz <vincent@vuntz.net>
6009
* main.c: (main): set the default icon directly insted of calling
6010
panel_register_window_icon()
6011
* menu.c: (show_about_dialog): port to GtkAboutDialog, and move to
6013
* panel-stock-icons.c: remove gnome-panel-type*
6014
* panel-toplevel.c: (panel_toplevel_class_init): we don't need to set
6015
an icon here since we set a default icon in main.c
6016
* panel-util.[ch]: (panel_pixmap_discovery): kill
6017
* panel.[ch]: (panel_register_window_icon): kill
6019
2004-10-27 Christian Neumair <chris@gnome-de.org>
6021
Fix bug #113801: "'Reload applet?' dialog does not accord to HIG".
6023
* panel-menu-frame.c: (panel_applet_frame_cnx_broken): HIGify "Reload
6026
2004-10-27 Christian Neumair <chris@gnome-de.org>
6028
Fix bug #143963: "Remove Distro Menu".
6030
* distribution.[ch]: Delete.
6037
Remove all distribution menu-related code.
6040
2004-10-27 Vincent Untz <vincent@vuntz.net>
6042
* panel-properties-dialog.c: (panel_properties_dialog_response): show
6043
the help for drawer properties if the user is editing the properties of
6044
a drawer. Fix bug #143034
6045
* panel.c: (panel_deletion_dialog): fix the text of the deletion dialog
6046
in the case of a drawer deletion. Fix bug #145563
6048
Sat Oct 23 20:59:24 2004 Jonathan Blandford <jrb@redhat.com>
6050
* gnome-panel-screenshot.c: escape '/' in file names.
6052
* screenshot-save.c (screenshot_sanitize_filename): New function
6054
* screenshot-utils.c: Rewrite Window walking code to be correct.
6055
We now find both the window manager window and the app toplevel.
6057
Fri Oct 22 15:32:15 2004 Jonathan Blandford <jrb@redhat.com>
6059
* gnome-panel-screenshot.c: Big refactor of the code. Split out
6060
various functions into other files to get gnome-panel-screenshot.c
6061
down from 1700 lines. Additionally:
6062
- Removed cut-n-paste of gdk_pixbuf_save(), #148369
6063
- Added tentative drop-shadow support. It's slow so it's off by
6065
- Better async support. We shouldn't leak temporary files
6068
2004-10-21 Anders Carlsson <andersca@gnome.org>
6070
* gnome-panel-screenshot.c: (add_file_to_path),
6071
(text_property_to_utf8), (get_text_property), (get_utf8_property),
6072
(get_window_title), (take_window_shot), (main):
6073
Fix window title handling. Should fix the 100% cpu bug.
6075
2004-10-21 Christian Neumair <chris@gnome-de.org>
6079
* gnome-panel-screenshot.c (display_help): New function.
6080
(on_toplevel_key_press_event): Handle F1 keypress.
6081
* gnome-panel-screenshot.glade: Connect to
6082
key-press-event signal to on_toplevel_key_press_event.
6084
2004-10-18 William Jon McCann <mccann@jhu.edu>
6088
* panel-recent.c (recent_documents_tooltip_func): New function
6089
to set tooltips for recent files menu items.
6090
(panel_recent_append_documents_menu): Add tooltips to recent
6091
files menu items and "Clear Recent Documents" menu item.
6093
2004-10-12 Mark McLoughlin <mark@skynet.ie>
6095
When saving any of toplevel_id_list, applet_id_list or
6096
object_id_list, always save the other two id lists two.
6097
Prevents the situation where when you change the default
6098
setup, people may see bits of the new configuration leaking
6099
through even though they've changed some of their panel
6102
* panel-profile.[ch]:
6103
(panel_profile_save_id_list),
6104
(panel_profile_save_other_id_lists),
6105
(panel_profile_add_to_list),
6106
(panel_profile_remove_from_list): when saving a list,
6107
save the other lists too.
6108
(panel_profile_id_list_is_writable),
6109
(panel_profile_id_lists_are_writable): no longer check
6110
whether an individual list is writable but whether all
6113
* applet.c, menu.c, panel-addto.c, panel-applet-frame.c,
6114
panel.c: use id_lists_are_writable() rather than
6117
2004-10-11 Mark McLoughlin <mark@skynet.ie>
6119
* panel-addto.c: add back vnoel's patch now that we've branched.
6121
2004-10-11 Vincent Untz <vincent@vuntz.net>
6123
* panel-addto.c: revert the "2004-10-04 Vincent Noel <vnoel@cox.net>"
6124
change: we did not branch for 2.10 and so we can't depend on GTK+ 2.5.
6126
2004-09-30 Vincent Noel <vnoel@cox.net>
6128
* panel-addto.c (panel_addto_selection_changed): In the "Add to
6129
panel" dialog, make the "add" button unsensitive when nothing is selected.
6131
2004-10-04 Vincent Noel <vnoel@cox.net>
6133
* panel-addto.c: Split the "application launcher" items out of
6134
internal_addto_items into their own array.
6135
(panel_addto_append_item): extracted from panel_addto_make_applet_model.
6136
(panel_addto_append_special_applets): new.
6137
(panel_addto_make_applet_model): Move the "application launchers"
6138
at the top of the list. Add a separator before the other applets.
6140
2004-09-29 Vincent Noel <vnoel@cox.net>
6142
* panel-run-dialog.c (panel_run_dialog_set_icon): scale down the
6143
app icon in the "Run application" dialog. Fixes bug #153564.
6145
==================== 2.8.0.1 ====================
6147
2004-09-28 James Henstridge <james@jamesh.id.au>
6149
Fixes bug #153619 and Ubuntu bug #1587.
6151
* menu.c (panel_make_menu_icon): same here.
6153
* button-widget.c (get_missing): use
6154
gdk_pixbuf_new_from_file_at_size() to load image, so that backends
6155
such as the SVG one can render the image at an appropriate size.
6156
(load_pixbuf): same here.
6158
2004-09-27 Mark McLoughlin <mark@skynet.ie>
6160
Contains fix for icon scaling code from jamesh.
6162
* egg-recent-util.c: sync with libegg.
6164
2004-09-24 Mark McLoughlin <mark@skynet.ie>
6166
Based on a patch from Kjartan Maraas in bug #153450
6168
* panel-compatibility.c:
6169
(panel_compatibility_detect_needs_migration): don't
6172
2004-09-21 James Henstridge <james@jamesh.id.au>
6174
* panel-addto.c (panel_addto_make_pixbuf): use
6175
gdk_pixbuf_new_from_file_at_size() to give the loader a hint about
6176
the size we want to load the image at. If the image is still too
6177
large, scale it down to fit.
6178
(panel_addto_make_applet_model): update to pass in the desired
6179
GtkIconSize for the icon rather than a pixel size.
6180
(panel_addto_make_application_model_r): same here.
6183
2004-09-16 Mark McLoughlin <mark@skynet.ie>
6187
* libegg/recent-files/egg-recent-model.c:
6188
(egg_recent_model_monitor): don't pass a local
6189
path as a URI - otherwise we crash when people
6190
use $HOME=/ and we pass "//.recently-used" to
6191
gnome-vfs. Bug 152832
6193
2004-09-16 Mark McLoughlin <mark@skynet.ie>
6195
Fixes to make 2.2 -> 2.4/6/8 migration work again - it broken
6196
when I installed the default setup into /apps/panel/profiles/default
6197
as well as /apps/panel/default_setup
6199
* panel-compatibility.c:
6200
(panel_compatibility_migrate_panel_id): migrate toplevel_id
6201
whether its already set or not.
6202
(panel_compatibility_detect_needs_migration): nice bug ugly
6203
hack to check if toplevel_id_list is set in the user's
6206
2004-09-15 Mark McLoughlin <mark@skynet.ie>
6208
Based on a patch from Padraig O'Briain <padraig.obriain@sun.com>
6211
* panel-menu-button.c:
6212
(panel_menu_button_menu_detacher): remove workaround for bug #113112
6213
(panel_menu_button_create_menu): re-create the menu here if needs be.
6214
(panel_menu_button_accessible_*): add an AtkObject implementation
6215
so we can create the menu when get_n_children() is called.
6218
(panel_a11y_get_is_a11y_enabled): rename from is_gail_loaded()
6220
(panel_a11y_query_accessible_parent_type): implement standard
6221
ugly hack to inherit from an object in gail without linking
6224
2004-09-14 Mark McLoughlin <mark@skynet.ie>
6226
Fix for https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=131868
6227
where trying to drag a locked applet caused autohide to stop working.
6229
* panel-widget.c: (panel_widget_applet_drag_start): pop the autohide
6230
disabler if we fail to start the drag.
6232
2004-09-14 Mark McLoughlin <mark@skynet.ie>
6234
Fix for bug #148672 - freakiness with auto-hide and snap-to.
6236
* panel-toplevel.c: (panel_toplevel_update_auto_hide_position):
6237
When auto-hidden, snap to the screen edge too.
6239
2004-09-14 Mark McLoughlin <mark@skynet.ie>
6241
Fix for bug #144281 - auto-hide panel sometimes not hiding
6242
when a drawer closes. Based on a patch from Arvind.
6245
(panel_toplevel_push_autohide_disabler): queue an unhide if this
6246
is the first one pushed.
6247
(panel_toplevel_pop_autohide_disabler): queue a hide if this is
6248
the last one popped.
6250
2004-09-14 Mark McLoughlin <mark@skynet.ie>
6252
Consolidate some code - we don't need two ways to temporarily
6253
disable auto-hiding.
6255
* panel-toplevel.[ch]:
6256
(panel_toplevel_unblock_auto_hide),
6257
(panel_toplevel_unblock_auto_hide): remove this and use the disabler
6258
stack for everything.
6259
(panel_toplevel_auto_hide_timeout_handler):
6260
(panel_toplevel_queue_auto_hide),
6261
(panel_toplevel_instance_init): update to use the disabler stack.
6263
* applet.c, panel-action-protocol.c, panel-addto.c,
6264
panel-menu-button.c, panel-properties-dialog.c, panel-widget.c,
6265
panel.c: update to use the disabler stack.
6267
2004-09-14 Mark McLoughlin <mark@skynet.ie>
6269
Fix for bug #136074 - weird autohiding behaviour when
6270
you change the orientation of an unexpanded panel.
6272
* panel-toplevel.c: (panel_toplevel_set_orientation): un-snap
6273
from the center of the screen if we rotate the panel.
6275
2004-09-14 Mark McLoughlin <mark@skynet.ie>
6277
Based on a patch from Arvind in bug #128412.
6280
(panel_toplevel_auto_hide_timeout_handler),
6281
(panel_toplevel_auto_unhide_timeout_handler): clear the source
6282
ids when running the handler for the last time.
6284
==================== 2.8.0 ====================
6286
==================== 2.7.92.1 ====================
6288
==================== 2.7.92 ====================
6290
2004-08-30 Vincent Untz <vincent@vuntz.net>
6292
* panel-run-dialog.[ch]: (panel_run_dialog_present_with_text) killed
6293
since it's not used anymore
6295
2004-08-26 Kjartan Maraas <kmaraas@gnome.org>
6297
* menu.c: (append_log_out): NULL vs 0.
6298
* nothing.cP: Same here.
6299
* panel-profile.c: (panel_profile_toplevel_screen_changed):
6301
* panel-widget.c: (panel_applet_is_in_drag): ANSIfication.
6302
* panel-widget.h: Use guint in single value bitfield
6303
* panel.c: (drag_drop_cb): NULL vs. 0
6305
2004-08-25 Mark McLoughlin <mark@skynet.ie>
6307
* panel-toplevel.c: (panel_toplevel_contains_pointer): Fix
6308
multiscreen issue where we were incorrectly returning TRUE
6309
under some circumstances when the pointer was actually on
6310
a different screen from the panel. bug #148703
6312
2004-08-23 Kjartan Maraas <kmaraas@gnome.org>
6314
* panel-profile.c: (panel_profile_load_object): Plug a leak.
6317
==================== 2.7.91.1 ====================
6319
2004-08-18 Elijah Newren <newren@math.utah.edu>
6321
Make sure "Run Application" dialog gets focused when invoked via
6322
the window manager keybinding. Fixes #150271.
6324
* gnome-panel/panel-action-button.c (panel_action_run_program):
6325
pass a timestamp to panel_run_dialog_present
6327
* gnome-panel/panel-action-protocol.c
6328
(panel_action_protocol_run_dialog): make this function take a
6329
timestamp and pass it to panel_run_dialog_present,
6330
(panel_action_protocol_filter): get the timestamp passed by
6331
Metacity and pass it to panel_action_protocol_run_dialog
6333
* gnome-panel/panel-run-dialog.[ch] (panel_run_dialog_new): make this
6334
function take a timestamp, and set the _NET_WM_USER_TIME of the
6335
dialog to the value of this timestamp, (panel_run_dialog_present):
6336
make this function take a timestamp, and either set the
6337
_NET_WM_USER_TIME of the dialog to the value of this timestamp or
6338
pass the timestamp to panel_run_dialog_new,
6339
(panel_run_dialog_present_with_text): make this function take a
6340
timestamp and pass it to panel_run_dialog_present
6342
# gnome-panel/panel-xutils.[ch]
6343
(panel_gdk_x11_window_set_user_time): Add this temporary function
6344
which updates the _NET_WM_USER_TIME field, since
6345
gdk_x11_window_set_user_time doesn't exist in gtk+-2.4.x.
6347
2004-08-17 Mark McLoughlin <mark@skynet.ie>
6349
* egg-recent-item.c, egg-recent-view-gtk.c: Sync to
6352
==================== 2.7.91 ====================
6354
2004-08-16 Mark McLoughlin <mark@skynet.ie>
6356
Hopefully fix bug #149244 - root cause identified through
6357
debugging from virgo@teleportsv.net and Vincent Untz.
6359
* panel-applet-frame.c:
6360
(panel_applet_frame_finalize): disconnect from the broken
6361
signal and release the control.
6362
(panel_applet_frame_construct): use ORBit_small_listen_for_broken()
6363
instead of manually connecting to signal and inevitably screwing
6364
it up by naively using g_signal_connect_object().
6366
2004-08-11 Mark McLoughlin <mark@skynet.ie>
6368
Fix for nested drawer craziness reported at:
6369
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=127488
6372
(panel_toplevel_focus_in_event): only unhide if its autohidden.
6374
2004-08-11 Mark McLoughlin <mark@skynet.ie>
6376
* panel-addto.c: (panel_addto_append_internal_applets): set the
6377
action type before appending.
6379
2004-08-11 Mark McLoughlin <mark@skynet.ie>
6381
Partly based on a patch from Vinay M R <vinay.mandyakoppal@wipro.com>
6382
in bug #143554. Original bug was that some strings were out of sync,
6383
but hopefully this re-work simplifies the code and prevents stuff
6384
getting out of sync in future.
6386
* panel-action-button.[ch]:
6387
(panel_action_get_is_disabled), (panel_action_get_stock_icon),
6388
(panel_action_get_text), (panel_action_get_tooltip),
6389
(panel_action_get_drag_id): add the tooltip and drag id to
6390
the actions table. Add various accessor functions to the table.
6392
* menu.c: (append_lock_screen), (append_log_out),
6393
(create_root_menu): get the text, tooltip, drag id and stock
6394
icon from the actions table.
6397
(panel_addto_append_internal_applets): construct the list of
6398
action buttons by iterating over the actions table.
6401
(panel_menu_bar_append_action_item): obtain various bits
6402
for the menu item from the actions table.
6404
2004-08-11 Kjartan Maraas <kmaraas@gnome.org>
6406
* drawer.c: (drag_drop_cb): Fix NULL vs 0 confusion.
6407
* launcher.c: (launcher_get_screen), (drag_drop_cb): Same
6408
Closes bug #149833. Yay for sparse.
6410
2004-08-10 Christian Neumair <chris@gnome-de.org>
6412
* Makefile.am: Remove panel preferences dialog, cleanup LIBS/CFLAGS
6413
naming for screenshot dialog.
6415
* gnome-panel-preferences.c:
6416
* gnome-panel-preferences.desktop.in:
6417
* gnome-panel-preferences.glade: Delete.
6421
2004-08-10 Mark McLoughlin <mark@skynet.ie>
6423
* egg-recent-model.c: (egg_recent_model_open_file): sync
6426
==================== 2.7.90 ====================
6428
2004-08-09 Mark McLoughlin <mark@skynet.ie>
6430
* panel-recent.c: (recent_documents_clear_cb): fix silly type-punned
6433
2004-08-09 Mark McLoughlin <mark@skynet.ie>
6435
Patch from Sagar Rastogi <rastogi@students.iiit.net> bug #143700
6437
* menu.c: (panel_menu_key_press_handler): make the menu key popup
6438
the panel context menu.
6440
2004-08-08 Bryan Clark <clarkbw@cvs.gnome.org>
6442
* gnome-panel-screenshot.c (take_window_shot): use window title
6443
name for screenshot file instead of window class name.
6446
2004-08-04 Vincent Untz <vincent@vuntz.net>
6448
* menu.c: (create_panel_context_menu): change the mnemonic for
6449
"About Panels" so it doesn't conflict with "Add to panel..."
6451
2004-08-04 Christian Neumair <chris@gnome-de.org>
6456
* panel-menu-button.c: Remove remaining bits of add launcher menu.
6459
2004-08-03 William Jon McCann <mccann@jhu.edu>
6461
* panel-recent.c (recent_documents_clear_cb):
6462
Revise the confirmation dialog text. Fixes #148754.
6464
2004-08-03 Kjartan Maraas <kmaraas@gnome.org>
6466
* egg-recent-item.c: (egg_recent_item_new),
6467
(egg_recent_item_get_short_name), (egg_recent_item_set_private),
6468
(egg_recent_item_get_private):
6469
* egg-recent-item.h:
6470
* egg-recent-model.c: (egg_recent_model_lock_file),
6471
(egg_recent_model_unlock_file):
6472
* egg-recent-util.c: (egg_recent_util_get_icon):
6473
* egg-recent-view.h: Update from libegg.
6475
2004-08-03 Kjartan Maraas <kmaraas@gnome.org>
6477
* drawer.c: (create_drawer_toplevel): Don't free stuff
6478
before use. Partial fix for bug #149151. There's more to do there.
6480
2004-07-30 Arvind Samptur <arvind.samptur@wipro.com>
6482
* panel-widget.c: (bind_top_applet_events): For the
6483
button-press-event do a g_signal_connect ()
6484
instead of a g_signal_connect_after ().
6485
This event was not going through PanelWidget
6486
because of which the actual widgets were getting
6487
the events. Thus exhibiting strange behaviours.
6488
Fixes #147623, #143908,#145288 etc
6490
==================== 2.7.4.1 ====================
6492
2004-07-20 Mark McLoughlin <mark@skynet.ie>
6494
Patch from William Jon McCann <mccann@jhu.edu> in bug #105639.
6496
* panel-recent.c (clear_dialog_response):
6497
(clear_dialog_destroy):
6498
(recent_documents_clear_cb):
6499
(panel_recent_append_documents_menu):
6500
Add item to Recent Documents menu to clear the history.
6501
(panel_recent_model_changed_cb): Make the menu insensitive
6502
if no recent items are available.
6504
* panel-stock-icons.[ch]: add a new "clear" stock icon just so
6505
we can have a different mnemonic from GTK_STOCK_CLEAR. Suck.
6507
==================== 2.7.4 ====================
6509
==================== 2.7.3 ====================
6511
2004-07-06 Mark McLoughlin <mark@skynet.ie>
6513
Fixes "Invalid read of size 1" thrown up by valgrind.
6514
Report from Kjartan Maraas in bug #144460.
6516
* panel-profile.[ch]:
6517
(panel_profile_set_toplevel_id),
6518
(panel_profile_add_to_list),
6519
(panel_profile_load_toplevel),
6520
(panel_profile_load_and_show_toplevel),
6521
(panel_profile_load_object): make memory ownership easier
6522
to understand by making all these functions take a
6524
(panel_profile_create_toplevel),
6525
(panel_profile_load_added_ids),
6526
(panel_profile_delete_removed_ids),
6527
(panel_profile_load_list): free the ids in all the right
6530
* applet.[ch]: (panel_applet_queue_applet_to_load): similarily,
6531
make this take const sting ids and make a copy of them.
6533
* drawer.c, launcher.c, panel-action-button.c,
6534
panel-applet-frame.c, panel-compatibility.c, panel-menu-bar.c:
6535
free the ids in all the right places.
6537
2004-06-23 Dennis Cranston <dennis_cranston at yahoo com>
6539
* panel-addto.c: (panel_addto_dialog_new): Use HIG border spacing.
6541
2004-06-23 Leena Gunda <leena.gunda@wipro.com>
6543
* panel-toplevel.c: (panel_toplevel_is_last_unattached):
6544
Return FALSE if the panel is attached to a widget.
6547
2004-06-22 Vincent Untz <vincent@vuntz.net>
6550
The original work was done by Iain Holmes <iain@prettypeople.org>.
6552
* Makefile.am: add panel-addto.c to panel_sources and panel-addto.h to
6555
(add_bonobo_applet), (make_add_submenu), (setup_applet_drag),
6556
(add_drawer_to_panel), (add_action_button_to_panel),
6557
(add_menu_bar_to_panel), (applet_menu_get_category_icon),
6558
(applet_menu_append), (applet_menu_append_category),
6559
(Bonobo_ServerInfoList_equals), (recheck_applet_list),
6560
(menu_item_destroyed), (instrument_add_submenu_for_reload),
6561
(applet_info_sort_func), (append_internal_applets),
6562
(create_applets_menu), (ask_about_launcher_cb), (make_add_submenu):
6563
removed all the code concerning the 'addto' stuff. Some code is moved
6565
(make_panel_submenu): add an ellipse to the "Add to Panel" since this
6566
now opens a dialog, just connect the menu item to the right function
6567
instead of building a submenu. Yeah!
6568
* panel-addto.[ch]: A new 'addto' dialog !!!
6570
* panel-menu-button.c: (panel_menu_button_create): small fix to avoid
6571
a GConf warning if there's no tooltip provided
6573
2004-06-09 Christian Neumair <chris@gnome-de.org>
6575
* menu-fentry.c: (get_presorted_from), (fr_fill_dir), (fr_read_dir),
6576
(fr_check_and_reread):
6577
* menu.c: (add_drawers_from_dir):
6578
* panel-menu-button.c: (panel_menu_button_get_icon_for_menu_path):
6579
* quick-desktop-reader.[ch]: Remove expected_type parameter from
6580
quick_desktop_item_load_uri. All calls pass NULL. Fixes #143965.
6582
==================== 2.7.1 ====================
6584
2004-06-02 Christian Neumair <chris@gnome-de.org>
6586
* menu.c: Remove add to run dialog from launcher context menu.
6587
Partially fixes #140201.
6589
2004-06-02 Mark McLoughlin <mark@skynet.ie>
6592
(panel_applet_lock), (panel_applet_create_menu),
6593
(panel_applet_register): Allow all other panel objects to be
6594
removed even when locked.
6596
2004-06-02 Mark McLoughlin <mark@skynet.ie>
6598
Patch from Christian Neumair <chris@gnome-de.org> in bug #142605.
6600
* panel-applet-frame.c: (panel_applet_frame_sync_menu_state): Allow
6601
applets to be removed even when locked.
6603
2004-06-02 Mark McLoughlin <mark@skynet.ie>
6605
Patch from Chris Lahey <clahey@ximian.com> in bug #138720
6606
to fix a crash while menu editing.
6608
* menu-fentry.c: (fr_free), (fr_fill_dir), (fr_replace):
6609
Fixup to make sure FileRec::parent is updated correctly.
6611
2004-05-28 Mark McLoughlin <mark@skynet.ie>
6613
* panel-recent.c: (show_uri),
6614
panel-run-dialog.c: (panel_run_dialog_append_file_utf8),
6615
panel.c: (drop_nautilus_uri): fix some problems with
6618
2004-05-18 Frank Worsley <frank@neatstep.com>
6620
reviewed by: Mark McLoughlin
6622
* panel-run-dialog.c: Add tab-completion for files and
6623
directories with absolute paths or relative to the home directory.
6625
2004-05-14 Padraig O'Briain <padraig.obriain@sun.com>
6627
* gnome-panel-screenshot.c: Use idle handler instead of sleep to
6628
implement delay. This prevents the desktop freezing when delay
6629
option is used when accessibility is enabled. Fixes bug #142397.
6631
2004-05-13 Mark McLoughlin <mark@skynet.ie>
6633
Based on a patch from Vinay M R <vinay.mandyakoppal@wipro.com>
6637
(set_tooltip_and_name): split out tooltip setting to here
6638
and unset the tooltip correctly if empty.
6639
(create_drawer_applet), (panel_drawer_tooltip_changed): upd.
6641
2004-05-13 Mark McLoughlin <mark@skynet.ie>
6643
* gnome-panel-screenshot.c: (update_window_icon): remove
6644
assertion. Fixes bug #140921.
6646
2004-04-21 Mark McLoughlin <mark@skynet.ie>
6648
Based on a patch from Shakti Sen <shprasad@novell.com>
6651
* panel-toplevel.c (panel_toplevel_update_attached_position):
6652
Do not allow the panel to move offscreen - fixes problem where
6653
a drawer could be half offscreen.
6655
2004-05-13 Mark McLoughlin <mark@skynet.ie>
6657
Based on a patch from Vincent Berger <vincent.berger@ext.bull.net>
6660
* panel-util.[ch]: (panel_make_unique_uri): return a uri rather than
6664
(panel_launcher_save_ditem),
6665
(panel_launcher_create_copy): update.
6667
* panel-run-dialog.c: (pixmap_drag_data_get): update.
6669
2004-05-13 Mark McLoughlin <mark@skynet.ie>
6671
Based on a patch by Mariano SuƔrez-Alvarez <msuarezalvarez@arnet.com.ar>
6674
* gnome-panel-screenshot.c: (escape_underscores), (main):
6675
Translate the "Save screenshot in web page" string, being careful
6676
to escaped underscores in the path of the web dir.
6678
2004-05-13 Mark McLoughlin <mark@skynet.ie>
6680
Based on a patch from Satvik Upadhyaya <satvik@students.iiit.net>
6683
* launcher.c: (guess_icon_from_exec), (setup_button): if no icon
6684
is set, try and guess a sensible icon from the command name.
6686
2004-05-13 Mark McLoughlin <mark@skynet.ie>
6688
* button-widget.c: (calc_arrow), (button_widget_expose): use
6689
gtk_paint_arrow() to draw the little triangle on menu buttons
6690
rather than drawing a rectangle manually. Fixes bug #103342.
6692
2004-04-21 Kaushal Kumar <kaushal.kumar@wipro.com>
6694
* menu.c (show_panel_help): Set the help link id for
6697
2004-04-20 Mark McLoughlin <mark@skynet.ie>
6699
* gnome-panel-preferences.desktop.in: remove the
6700
.png suffix - bug #140190.
6702
==================== 2.6.1 ====================
6704
2004-04-08 Mark McLoughlin <mark@skynet.ie>
6706
* panel-toplevel.schemas.in: make mostly transparent
6707
white the default background color (when you change
6708
to a color background). Solid black is sooo last week.
6710
2004-04-07 Mark McLoughlin <mark@skynet.ie>
6712
* applet.c: (panel_applet_load_idle_handler): fix issue
6713
with previous patch on expanded panels.
6715
2004-04-07 Mark McLoughlin <mark@skynet.ie>
6717
Fix to make things load in the correct order on
6718
non-expanded panels. Bug #122513.
6721
(panel_applet_load_idle_handler): if its a right stuck
6722
applet on a non-expanded panel, just load it at the
6723
end of the panel - we load them in the correct order.
6724
(panel_applet_compare): sort right stuck applets to
6727
2004-04-07 Frederic Crozat <fcrozat@mandrakesoft.com>
6729
* gnome-panel/Makefile.am:
6732
2004-04-05 Vijaykumar Patwari <vijaykumar.patwari@wipro.com>
6734
* launcher.h: Add a GSList to the Launcher struct to
6735
hold all the error dialogs.
6736
* launcher.c (launcher_register_error_dialog): populate
6737
the error dialog list and connect the dialog to the destroy
6739
(launcher_widget_open_dialog_destroyed): on destroying an
6740
error dialog, remove it from the error dialog list.
6741
(launcher_widget_destroy_open_dialogs): on destroying
6742
the launcher, destroy any open error dialogs.
6745
2004-04-02 Mark McLoughlin <mark@skynet.ie>
6747
Some work on making things relatively sane for people trying
6748
to deply/lockdown the panel.
6750
* Makefile.am: install the default setup in
6751
/apps/panel/profiles/default as well as
6752
/apps/panel/default_setup.
6754
* panel-default-setup.entries: apply schemas to the keys
6755
we don't set as well as the ones we do.
6757
* panel-gconf.c: (panel_gconf_copy_dir): copy schema names as
6761
(panel_profile_apply_schemas),
6762
(panel_profile_copy_defaults): kill these.
6763
(panel_profile_copy_defaults_for_screen),
6764
(panel_profile_load): no need to associate schemas when copying
6765
default_setup now, since we do that at install time.
6767
2004-03-24 Mark McLoughlin <mark@skynet.ie>
6769
* gnome-panel-screenshot.c,
6770
panel-properties-dialog.c,
6771
panel-run-dialog.c: don't try and load the glade
6772
file to from the current dir first. Was a useful hack
6773
for testing glade edits, but not the safest thing
6774
in the world to leave around long term. Bug #132286.
6776
==================== 2.6.0 ====================
6778
==================== 2.5.93 ====================
6780
2004-03-12 Mark McLoughlin <mark@skynet.ie>
6782
Make the file entry use a save mode file chooser. Fix
6783
for bug #136675 with help from Fernando Herrera.
6785
* gnome-panel-screenshot.glade: set the file entries
6786
"filechooser-action" property to "save".
6788
==================== 2.5.92 ====================
6790
2004-03-09 Alexander Larsson <alexl@redhat.com>
6792
* panel-run-dialog.c (command_is_executable):
6793
Make sure the command to be launched is a regular file.
6794
This makes executable directories typed into the run dialog
6797
2004-03-09 Padraig O'Briain <padraig.obriain@sun.com>
6799
* panel-force-quit.c (display_popup_window): Set role to
6800
ATK_ROLE_ALERT. Fixes bug #135571.
6802
==================== 2.5.91 ====================
6804
2004-03-01 Mark McLoughlin <mark@skynet.ie>
6806
* panel-toplevel.c: (panel_toplevel_begin_grab_op): don't allow
6807
moving the panel when its hidden. Fixes uber weirdness when you
6808
do move hidden panel - bug #135876.
6810
2004-02-28 Mark McLoughlin <mark@skynet.ie>
6812
* panel-toplevel.c: (panel_toplevel_update_struts): remove some
6815
2004-02-28 Mark McLoughlin <mark@skynet.ie>
6817
Makes moving launchers with button2 work again. Bug #134006.
6819
* button-widget.c: (button_widget_button_press): Don't assume
6820
GtkButton returns false if button != 1. Why? Because it doesn't,
6823
2004-02-28 Rob Adams <readams@readams.net>
6825
Some fixes for xinerama positioning and collision detection code.
6828
* panel-struts.c (panel_struts_set_window_hint): don't set the
6829
strut at all if not at a visible extreme.
6831
* panel-toplevel.c (panel_toplevel_calc_new_orientation): support
6833
(panel_toplevel_update_struts): keep the struts updated even for
6834
internal edges; this way collision detection will work on these
6836
(panel_toplevel_update_expanded_position): add the appropriate
6837
xinerama monitor offsets.
6839
2004-02-28 Vincent Untz <vincent@vuntz.net>
6841
* menu.c: (append_log_out): remove the username from the log out menu
6843
* panel-menu-bar.c: (panel_menu_bar_append_actions_menu): ditto
6844
Fix bugs #131875, #134828. Reopen bug 130663.
6846
2004-02-27 Mark McLoughlin <mark@skynet.ie>
6848
Patch from Bart Martens in bug #127758 to stop the panel
6849
resizing slightly during autohide which caused some pretty
6850
icky visual problems.
6852
* panel-toplevel.c: (panel_toplevel_update_edges): Don't draw
6853
bevels on edges of the panel which aren't visible on screen
6854
instead of just edges which are flush against the screen edge.
6856
==================== 2.5.90 ====================
6858
2004-02-23 Mark McLoughlin <mark@skynet.ie>
6860
* menu-fentry.c: (fr_check_and_reread): remove unused variable
6861
and fixup code that was correctly using it.
6863
2004-02-22 Gustavo GirƔldez <gustavo.giraldez@gmx.net>
6865
* panel-menu-bar.c (panel_menu_bar_show_applications_menu): Set
6866
the panel widget when re-creating the applications menu because of
6867
a needed desktop entries reread (bug #133754).
6869
2004-02-22 Mark McLoughlin <mark@skynet.ie>
6871
Based on a patch from Leena Gunda in bug #110939 to
6872
allow the size of the hide buttons to be themed, mainly
6873
to allow LargePrint themes to make the buttons bigger.
6876
(panel_toplevel_add_hide_button),
6877
(panel_toplevel_update_hide_buttons): set the size request
6878
according the style's "arrow-size" value.
6879
(panel_toplevel_style_set): update the hide buttons when
6881
(panel_toplevel_class_init): register the "arrow-size"
6884
2004-02-20 Mark McLoughlin <mark@skynet.ie>
6886
Based on a patch from Bart Martens <info@bartmartens.be>
6888
* panel-toplevel.c: (panel_toplevel_queue_auto_hide): unqueue
6889
the unhide, even if the panel is already hidden. The actual
6890
bug that this fix was for was masked by a change which makes
6891
us refuse to unhide unless the panel contains the pointer.
6892
This is a better way of handling this particular case, though.
6894
==================== 2.5.5 ====================
6896
2004-02-16 Mark McLoughlin <mark@skynet.ie>
6898
Fixup more modifier testing code to use
6899
gtk_accelerator_get_default_mod_mask() as Federico points
6902
* drawer.c: (key_press_drawer), (key_press_drawer_widget):
6903
* menu.c: (panel_menu_key_press_handler):
6904
* panel-toplevel.c: (panel_toplevel_move_keyboard_floating),
6905
(panel_toplevel_handle_grab_op_motion_event):
6906
* panel.c: (panel_key_press_event):
6907
Use gtk_accelerator_get_default_mod_mask() when testing
6910
2004-02-16 Mark McLoughlin <mark@skynet.ie>
6912
Resolve the mystery of the disappearing applets. Fix for
6913
bug #128567 based on a patch from Leena gunda.
6915
* applet.c: (panel_applet_register): if adding at the
6916
saved position fails, try adding at the beginning of the
6919
2004-02-16 Mark McLoughlin <mark@skynet.ie>
6921
* panel.c: (panel_key_press_event): correctly fix bug #134134
6922
so as to trigger *only* with Ctrl-F10.
6924
2004-02-16 Mark McLoughlin <mark@skynet.ie>
6926
Fix a couple of occurrences where menu items were disabled when
6927
they should have been enabled. Based on a patch from Srinivasa
6928
Ragavan in bug #132971.
6931
(drawer_properties_enabled): impl.
6932
(load_drawer_applet): use this instead of get_locked_down()
6934
* panel-action-button.c:
6935
(screensaver_enabled): impl.
6936
(panel_action_lock_setup_menu): use this instead of get_disable_lock_screen().
6938
2004-02-16 Mark McLoughlin <mark@skynet.ie>
6940
* button-widget.c: (button_widget_class_init):
6941
* panel-action-button.c: (panel_action_button_class_init):
6942
* panel-frame.c: (panel_frame_class_init):
6943
* panel-menu-button.c: (panel_menu_button_class_init):
6944
* panel-toplevel.c: (panel_toplevel_class_init): Don't mark
6945
property descriptions for translation as discussed on d-d-l.
6947
2004-02-16 Srinivasa Ragavan <sragavan@novell.com>
6948
* panel.c: (panel_key_press_event): Follow the guidelines for robust application, in www.gnome.org site.
6949
Fix for the bug #134134
6951
2004-02-14 Vincent Untz <vincent@vuntz.net>
6953
* panel-widget.c: fix applet moving, so that it doesn't break Fitt's
6955
Temporary fix for bug #123763.
6957
2004-02-12 Mark McLoughlin <mark@skynet.ie>
6959
Patch from Shaun McCance <shaunm@gnome.org>
6961
* applet.c: (applet_callback_callback):
6962
* gnome-panel-preferences.c: (preferences_response):
6963
* gnome-panel-screenshot.c: (on_help_button_clicked):
6964
* launcher.c: (window_response), (really_add_launcher):
6965
* menu-ditem.c: (ditem_properties_clicked):
6966
* menu.c: (show_panel_help):
6967
* panel-action-button.c: (panel_action_button_invoke_menu):
6968
* panel-menu-bar.c: (panel_menu_bar_invoke_menu):
6969
* panel-menu-button.c: (panel_menu_button_invoke_menu):
6970
* panel-properties-dialog.c: (panel_properties_dialog_response):
6971
* panel-run-dialog.c: (panel_run_dialog_response): Update the
6972
help links to the new user-guide locations.
6974
2004-02-11 Fernando Herrera <fherrera@onirica.com>
6976
* panel-properties-dialog.glade: Use new FileChooser in
6977
GnomeFileEntry. Fix bug #134118
6979
2004-02-06 Mark McLoughlin <mark@skynet.ie>
6981
* Makefile.am: revert a broken change committed
6982
without discussion and without a ChangeLog entry.
6984
==================== 2.5.4 ====================
6986
2004-02-04 Mark McLoughlin <mark@skynet.ie>
6988
Patch from Glynn in bug #130664 to change the
6989
Applications menu item to not use the non-descriptive
6990
GNOME foot. New icon designed by Jimmac.
6992
* panel-stock-icons.[ch]: register new "applications"
6995
* menu.c: (create_root_menu): use it.
6997
2004-02-04 Mark McLoughlin <mark@skynet.ie>
6999
* egg-recent-item.[ch],
7000
egg-recent-model.[ch],
7001
egg-recent-view.[ch]: sync with libegg. Hopefull fixes
7004
* panel-recent.c: (panel_recent_append_documents_menu):
7005
Update for API changes.
7007
2004-02-04 Padraig O'Briain <padraig.obriain@sun.com>
7009
* drawer.c (create_drawer_applet): Set name to "Drawer".
7011
* panel-toplevel.c (panel_toplevel_add_hide_button): Set accessible
7012
name to "Hide Panel".
7014
Fix for bug #132854.
7016
2004-02-04 Mark McLoughlin <mark@skynet.ie>
7018
Don't use a mnemonic for the log out menu item lest we create
7019
a mnemonic with users that have underscode in their username.
7020
Fix for #133350 by Jordy Potman.
7022
* menu.c: (setup_full_menuitem): don't use new_with_mnemonic
7023
if use_invisible_mnemonic is TRUE.
7025
2004-02-04 Mark McLoughlin <mark@skynet.ie>
7028
(append_lock_screen),
7029
(append_log_out): split out these
7030
(create_desktop_menu): from here ... to make things readable.
7031
(create_root_menu): upd.
7033
2004-01-27 Mark McLoughlin <mark@skynet.ie>
7035
* panel-util.[ch]: (panel_signal_connect_object_while_alive):
7036
Kill this, g_signal_connect_object() does the same thing.
7038
* button-widget.c: (button_widget_instance_init):
7039
* drawer.c: (drawer_query_deletion):
7040
* panel-widget.c: (panel_widget_register_open_dialog):
7041
* panel.c: (panel_query_deletion):
7042
Update to use g_signal_connect_object().
7044
2004-01-27 Mark McLoughlin <mark@skynet.ie>
7046
Based on patch from Fernando Herrera in bug #128375.
7048
* gnome-panel-screenshot.c: (update_window_icon),
7049
(icon_theme_changed), (set_window_icon), (main):
7050
Respect the icon theme for the window icon.
7052
2004-01-27 Mark McLoughlin <mark@skynet.ie>
7054
Fix for bug #129855 from Kristian Rietveld.
7056
* panel-background.c: (free_prepared_resources):
7057
Free background pixmap when we have a translucent
7060
2004-01-27 Mark McLoughlin <mark@skynet.ie>
7062
* panel-run-dialog.c: (panel_run_dialog_present):
7063
Revert unapproved commit.
7065
2004-01-27 Jason Leach <leach@wam.umd.edu>
7067
* menu.c (setup_remove_this_panel): Fix a bug that would
7068
desensitize the "Delete this panel" option for panels that were
7069
not actually locked down.
7070
(#132608, Malcolm Tredinnick)
7072
2004-01-26 Jason Leach <leach@wam.umd.edu>
7074
* panel-run-dialog.c (panel_run_dialog_present): Make sure the
7075
local copy of panel-run-dialog.glade (which the panel attempts to
7076
use before the installed copy) is a valid .glade file to prevent a
7077
crash. (#132286, Gavin Brown)
7079
2004-01-23 Arvind Samptur <arvind.samptur@wipro.com>
7081
Patch from Leena Gunda <leena.gunda@wipro.com>
7083
* panel-run-dialog.c: (panel_run_dialog_update_content):
7084
Make the run dialog resizable only if both
7085
enable_program_list and show_program_list are TRUE.
7088
2004-01-21 Mark McLoughlin <mark@skynet.ie>
7090
* button-widget.c: (button_widget_expose): don't ref
7091
non-existant pixbufs.
7094
(panel_toplevel_attach_to_widget),
7095
(panel_toplevel_detach): only push/pop an autohide
7096
disabler when the drawer isn't hidden.
7098
2004-01-19 Mark McLoughlin <mark@skynet.ie>
7100
Based on a patch from Matt Keenan <matt.keenan@sun.com>
7102
Add some more lockdown keys:
7104
/desktop/gnome/lockdown/disable_command_line
7105
/apps/panel/global/disable_log_out
7106
/apps/panel/global/disable_lock_screen
7107
/apps/panel/globak/disable_force_quit
7109
Also, consolidate the per-profile and per-panel "locked_down"
7110
keys into a single key:
7112
/apps/panel/global/locked_down
7114
* Makefile.am: add panel-lockdown.[ch]
7116
* panel-lockdown.[ch]: utilities for reading and monitoring
7120
(panel_applet_toggle_locked): don't handle lock toggling
7121
lockdown conditions - the toggle isn't visible when locked
7123
(panel_applet_recreate_menu): impl. re-creating the context
7125
(panel_applet_add_callback): add an "is_enabled" callback
7126
so we can implement this in the applets themselves.
7127
(panel_applet_remove_callback): kill, unused.
7128
(panel_applet_create_menu): check if the item is enabled.
7129
Don't add remove/move/lock items if locked down.
7130
(panel_applet_destroy): remove the lockdown notification.
7131
(panel_applet_register): add the lockdown notification.
7133
* button-widget.[ch]: implement an "activatable" property
7134
and grey out the button if its not activatable.
7136
* drawer.c: (load_drawer_applet): only have propertis menu
7137
item if not locked down.
7140
(launcher_properties): shouldn't be reached if locked down.
7141
(lancher_properties_enabled), (load_launcher_applet): don't
7142
enable launcher properties if not locked down and
7143
disable_command_line isn't set.
7146
(show_item_menu): don't show the menu's context menu if
7148
(setup_full_menuitem), (setup_applet_drag),
7149
(setup_internal_applet_drag): disable dnd if locked down.
7150
(append_internal_applets): decide which action buttons to
7151
have in the menu depending on disable_command_line etc.
7152
(create_applets_menu): only add if the applet isn't in
7153
the disabled_applets list.
7154
(create_desktop_menu): respect disable_log_out etc.
7156
* panel-action-button.c: grey out any action button that should
7159
* panel-applet-frame.c: respect changes in the lockdown keys.
7161
* panel-global.schemas.in: add new lockdown keys.
7163
* panel-menu-bar.c: respect the lockdown keys when creating
7166
* panel-menu-button.c: ditto.
7168
* panel-profile.[ch]: remove per-profile and per-toplevel
7171
* panel-run-dialog.c: (panel_run_dialog_present): don't show
7172
the run dialog if locked down.
7174
* panel-toplevel.c: (panel_toplevel_begin_grab_op): don't
7175
allow moving the panel if locked down.
7177
* panel-toplevel.schemas.in: remove per-panel locked_down
7180
* panel.c: respect the locked_down key when creating the
7183
2004-01-16 Mark McLoughlin <mark@skynet.ie>
7185
Patch from The Written Word in bug #131609.
7187
* gnome-panel-screenshot.c: (main): don't initialize
7188
with a non-constant address.
7190
* button-widget.c, panel-applet-frame.c,
7191
panel-compatibility.c, panel-enums.h,
7192
panel-toplevel.c, panel-xutils.h,
7193
panel.c: remove trailing commas from enums.
7195
* panel-menu-bar.c: remove unsused enum.
7197
* panel-profile.c: (panel_profile_get_commit_timeout),
7198
quick-desktop-reader.c: (guess_encoding):
7199
don't return const ints.
7201
==================== 2.5.3.1 ====================
7203
==================== 2.5.3 ====================
7205
2004-01-13 Ross Burton <ross@burtonini.com>
7207
* panel-run-dialog.glade: Inset the application list.
7209
2004-01-07 Padraig O'Briain <padraig.obriain@sun.com>
7211
* panel-run-dialog.glade: Set accessible name on GnomeEntry instead of
7212
its GtkEntry. Fixes bug #126254.
7214
2004-01-07 Balamurali Viswanathan <balamurali.viswanathan@wipro.com>
7216
* launcher.c: (really_add_launcher): Don't allow creation of empty
7217
launcher. Fixes bug #126969
7219
2004-01-06 Vincent Untz <vincent@vuntz.net>
7221
* panel-default-setup.entries: panel size in the default setup should
7225
2004-01-06 Vincent Untz <vincent@vuntz.net>
7227
* menu.c: (create_desktop_menu): add the username to the log out menu
7228
item (and its tooltip).
7229
* panel-menu-bar.c: (panel_menu_bar_append_actions_menu): ditto
7232
2003-12-16 Mark McLoughlin <mark@skynet.ie>
7234
Fix occassional problem where button 2 clicking on an applet
7235
caused both the applet and the panel to be moved.
7239
(panel_widget_applet_button_press_event),
7240
(panel_widget_applet_button_release_event),
7241
(panel_widget_applet_motion_notify_event),
7242
(panel_widget_applet_key_press_event): split these out from
7243
panel_widget_applet_event().
7244
(bind_top_applet_events): make the button_press handler the
7245
last in the chain so we stop the propogation of the event.
7247
2003-12-15 Glynn Foster <glynn.foster@sun.com>
7249
* panel-stock-icons.c: Use gnome-other.png for the panel context
7250
menu 'Actions' submenu, at least until a better one is found.
7252
2003-12-15 Glynn Foster <glynn.foster@sun.com>
7254
* menu.c: Mark a string for translation. No brainer.
7256
2003-12-13 Vincent Untz <vincent@vuntz.net>
7258
* egg-recent-item.[ch]:
7259
* egg-recent-model.[ch]:
7260
* egg-recent-view.[ch]: sync with libegg.
7261
* panel-recent.c: (panel_recent_append_documents_menu): update to use
7264
2003-12-12 Mark McLoughlin <mark@skynet.ie>
7266
* panel-default-setup.entries: Fix a minor typo:
7267
s/bonobo_iid_type/bonobo_iid/
7269
2003-12-11 Vincent Untz <vincent@vuntz.net>
7271
Based on a patch from Jan Arne Petersen <jpetersen@uni-bonn.de>
7274
* panel-run-dialog.c: (panel_run_dialog_destroy),
7275
(file_button_browse_response), (file_button_clicked): replace
7276
GtkFileSelection with GtkFileChooser
7277
(file_button_browse_ok), (file_button_browse_cancel): kill
7279
2003-12-11 Mark McLoughlin <mark@skynet.ie>
7282
* panel-util.c: kill gnome-help.h and gnome-url.h includes.
7284
2003-12-10 Vincent Untz <vincent@vuntz.net>
7286
* panel-run-dialog.c: (panel_run_dialog_fill_executables_from): don't
7287
add subdirectories of $PATH in the list used for command
7291
2003-12-10 Mark McLoughlin <mark@skynet.ie>
7293
Use the new multiscreen support for application launching
7294
in libgnomeui and gdk instead of the egg-screen stuff.
7296
* Makefile.am: don't build the egg-screen stuff
7298
* egg-screen-exec.[ch], egg-screen-help.[ch],
7299
egg-screen-url.[ch]: kill.
7301
* panel-multiscreen.[ch]: (panel_make_environment_for_screen):
7302
Add this - its not public in GDK.
7304
* launcher.c, menu.c, panel-action-button.c, panel-action-protocol.c,
7305
panel-recent.c, panel-run-dialog.c, panel-toplevel.c, panel-util.c:
7306
Replace egg-screen stuff with the functions that ended up in
7309
2003-12-10 Vincent Untz <vincent@vuntz.net>
7311
Patch from Thomas Benson <tbenson@cs.utk.edu>
7314
* panel-run-dialog.c: (panel_run_dialog_execute): check that the
7315
command was successfully converted from UTF-8.
7317
==================== 2.5.2 ====================
7319
2003-12-09 Mark McLoughlin <mark@skynet.ie>
7321
* Makefile.am: distcheck fixes.
7323
2003-12-04 Vincent Untz <vincent@vuntz.net>
7325
* panel-util.c: (create_icon_entry), (create_text_entry), (updated):
7326
kill these functions because they're not used anywhere anymore
7327
* panel-util.h: remove create_icon_entry and create_text_entry here too
7329
2003-12-03 Mark McLoughlin <mark@skynet.ie>
7331
Be a bit more paranoid about removing directories from
7332
the GConfClient cache - especially directories we want
7335
* panel-profile.c: (panel_profile_delete_dir): remove all the
7336
added dirs from the client.
7338
* panel-menu-button.c: Don't keep a pointer to the AppletInfo
7339
when all we need from it is the applet id.
7340
(panel_menu_button_disconnect_from_gconf): implement a function
7341
to remove the notify and the dir from the client.
7344
* main.c: (main): use gconf_client_add_dir() instead of
7345
panel_gconf_add_dir().
7347
* panel-gconf.[ch]: (panel_gconf_add_dir): kill this. Its only
7348
useful if we want a pointless extra stack frame.
7350
2003-12-03 Padraig O'Briain <padraig.obriain@sun.com>
7352
* panel-properties-dialog.glade: Add labelled-by relation for size_spin.
7355
2003-12-02 Vincent Untz <vincent@vuntz.net>
7357
* gnome-panel-screenshot.c: (add_file_to_path) build some strings with
7358
g_strdup_printf() to help translators.
7359
(add_file_to_path), (gimme_file), (on_ok_button_clicked): move the
7360
expand tilde stuff from gimme_file() to add_file_to_path() and
7361
on_ok_button_clicked() to avoid a small bug where ~ was used in the
7363
(main): simplify a bit the web_dir stuff.
7365
2003-12-01 Vincent Untz <vincent@vuntz.net>
7367
* panel-menu-button.c: (panel_menu_button_handle_event): kill
7368
(panel_menu_button_clicked): don't call
7369
panel_menu_button_handle_event() and call directly
7370
panel_menu_button_popup_menu() instead.
7371
(panel_menu_button_pressed): ditto, and don't pretend this is a mouse
7372
click that created the menu popup.
7375
2003-12-01 Vincent Untz <vincent@vuntz.net>
7377
* panel-toplevel.c: (panel_toplevel_block_auto_hide),
7378
(panel_toplevel_unblock_auto_hide), (panel_toplevel_instance_init):
7379
use a counter instead of a boolean to know if the auto-hiding stuff is
7380
blocked. This fixes a misbehaviour when there are multiple concurrent
7381
reasons to block the auto-hide.
7384
2003-12-01 Vincent Untz <vincent@vuntz.net>
7386
* panel-recent.c: (panel_recent_append_documents_menu):
7387
s/Open Recent/Recent Documents/
7390
2003-11-28 Vincent Untz <vincent@vuntz.net>
7392
Use gdk_screen_get_monitor_at_point() instead of
7393
panel_multiscreen_locate_coords()
7394
Thanks to Chuan-kai Lin <linchuan@cse.ogi.edu> for the idea.
7397
* panel-multiscreen.[ch]: (panel_multiscreen_locate_coords) kill
7398
* menu-util.c: (panel_standard_menu_pos)
7399
* menu.c: (menu_on_screen)
7400
* panel-toplevel.c: (panel_toplevel_calc_new_orientation),
7401
(panel_toplevel_move_to), (panel_toplevel_update_expanded_position):
7402
s/panel_multiscreen_locate_coords/gdk_screen_get_monitor_at_point/
7404
2003-11-27 Vincent Untz <vincent@vuntz.net>
7406
* panel-applet-frame.c: (panel_applet_frame_cnx_broken),
7407
(panel_applet_frame_loading_failed): build some strings to ease
7411
* gnome-panel-screenshot.c: remove a useless #ifdef HAVE_PAPER_WIDTH
7413
2003-11-23 Mark McLoughlin <mark@skynet.ie>
7415
* gnome-panel-screenshot.glade,
7416
gnome-panel-screenshot.c: (on_ok_button_clicked), (main):
7417
Remove old crufty print support.
7419
2003-11-23 Mark McLoughlin <mark@skynet.ie>
7421
* gnome-panel-screenshot.c: include gnome-vfs-utils.h.
7422
(gimme_file): don't take a const char*.
7424
2003-11-23 Mark McLoughlin <mark@skynet.ie>
7426
* menu.c: (applet_info_sort_func): use g_utf8_collate instead
7427
of strcmp() for sorting so we respect the locale's collation
7430
2003-11-20 Vincent Untz <vincent@vuntz.net>
7432
* gnome-panel-screenshot.c: (gimme_file) expand filenames with a tilde
7433
when saving the screenshot.
7436
2003-11-20 Vincent Untz <vincent@vuntz.net>
7438
* gnome-panel-screenshot.c: (take_window_shot) don't call
7439
gdk_pixbuf_get_has_alpha() in the loop but before the loop.
7441
2003-11-20 Vincent Untz <vincent@vuntz.net>
7443
* panel-toplevel.c: (panel_toplevel_auto_unhide_timeout_handler): do
7444
not stop unhiding the panel if the cursor is not in the panel but the
7445
auto_hide property is FALSE. Fix behaviour when you changed the
7446
auto_hide key in GConf and the panel did not unhide.
7447
(panel_toplevel_hide), (panel_toplevel_unhide): if the animation is
7448
disabled, do gtk_widget_hide/show only if the toplevel is a drawer.
7449
This fix a bug where a panel was totally hidden and the user could not
7450
bring it back to the screen.
7453
2003-11-19 Vincent Untz <vincent@vuntz.net>
7455
* panel-toplevel.schemas.in: make short descriptions for screen and
7456
monitor keys a bit more explicit. Hopefully fix bug #114426.
7458
2003-11-19 Vincent Untz <vincent@vuntz.net>
7460
* gnome-panel-screenshot.c: (take_window_shot): don't crash when using
7461
the Shape extension and a window is out of screen.
7464
2003-11-19 Vincent Untz <vincent@vuntz.net>
7466
* panel-toplevel.c: (panel_toplevel_focus_in_event): revert a
7467
change that I committed by accident.
7469
2003-11-19 Vincent Untz <vincent@vuntz.net>
7471
Patch from <linchuan@cse.ogi.edu>.
7474
* panel-multiscreen.c: (panel_multiscreen_is_at_visible_extreme)
7475
* panel-toplevel.c: (panel_toplevel_update_expanded_position) use the
7476
monitor size and not the screen size to position the toplevel.
7478
2003-11-19 Arvind Samptur <arvind.samptur@wipro.com>
7480
* panel.c: (panel_popup_menu): Pass the PanelToplevel
7481
instead of PanelWidget to gtk_menu_popup()
7484
2003-11-18 Padraig O'Briain <padraig.obriain@sun.com>
7486
* panel-properties-dialog.glade: Add labelled-by relation for slider.
7489
2003-11-14 Vincent Untz <vincent@vuntz.net>
7491
* gnome-panel-preferences.c: (check_lockdown), (main): the locked_down
7492
key is "locked_down" and not "lock-down". We should get rid of
7493
this pref dialog before 2.6.
7495
2003-11-14 Mark McLoughlin <mark@skynet.ie>
7497
* panel-toplevel.c: (panel_toplevel_set_auto_hide_size):
7498
Remove invalid assertion.
7500
2003-11-13 Vincent Untz <vincent@vuntz.net>
7502
* panel-menu-button.c: (panel_menu_button_set_tooltip) don't set the
7503
tooltip if the tooltip string is void.
7505
2003-11-13 Padraig O'Briain <padraig.obriain@sun.com>
7507
* drawer.c (create_drawer_applet): Add accessible name for drawer.
7510
2003-11-13 Mark McLoughlin <mark@skynet.ie>
7512
* panel-toplevel.c: (panel_toplevel_realize): Make
7513
sure PPosition WM_NORMAL_HINT is set to keep some
7514
WMs happy. Patch from olivier.chapuis@free.fr in
7517
2003-11-13 Mark McLoughlin <mark@skynet.ie>
7519
* panel-run-dialog.glade: make the expander label
7520
use the mnemonic. Fixes #126283.
7522
2003-11-13 Mark McLoughlin <mark@skynet.ie>
7524
* panel-action-button.c, panel-applet-frame.c,
7525
panel-menu-bar.c, panel-toplevel.c,
7526
panel-menu-button.c: use GObject instance
7529
* panel-shell.[ch]: cut out a lot of unused crap.
7531
2003-11-13 Mark McLoughlin <mark@skynet.ie>
7533
* panel-profile.c: (panel_profile_delete_dir):
7534
Use gconf_client_recursive_unset() instead of
7535
panel_gconf_clean_dir(). It seems to work better
7538
* panel-gconf.[ch]: (panel_gconf_clean_dir): kill.
7540
2003-11-13 Vincent Untz <vincent@vuntz.net>
7542
* panel-menu-bar.c: (panel_menu_bar_invoke_menu): show the help
7543
speaking about menus instead of the help index
7545
2003-11-13 Vincent Untz <vincent@vuntz.net>
7547
Add a configurable tooltip to the menu buttons.
7549
* panel-menu-button.c: (panel_menu_button_instance_init),
7550
(panel_menu_button_finalize), (panel_menu_button_get_property),
7551
(panel_menu_button_set_property), (panel_menu_button_class_init),
7552
(panel_menu_button_gconf_notify),
7553
(panel_menu_button_connect_to_gconf), (panel_menu_button_set_tooltip),
7554
(panel_menu_button_load_from_gconf): we now have a tooltip property,
7555
so do all the stuff we need for a property.
7556
(panel_menu_button_instance_init): don't set a constant tooltip.
7557
(panel_menu_button_create): add a tooltip argument to specify the
7558
tooltip for the menu button.
7559
* panel-menu-button.h: reflected above changes here.
7560
* panel-object.schemas.in: updated the description for the tooltip key
7561
so it specifies the key is valid for drawer and menus.
7562
* menu.c: (add_menu_to_panel): updated to use the tooltip when calling
7563
panel_menu_button_create.
7564
(show_item_menu): updated the call to add_menu_to_panel
7565
* panel.c: (drop_menu) updated to use the tooltip when calling
7566
panel_menu_button_create.
7568
* panel-background.c: removed useless space in a string.
7570
==================== 2.5.1 ====================
7572
2003-11-11 Mark McLoughlin <mark@skynet.ie>
7574
* Makefile.am: use $(DISABLE_DEPRECATED_CFLAGS).
7576
2003-11-07 Arvind Samptur <arvind.samptur@wipro.com>
7578
* panel-properties-dialog.c: (panel_properties_dialog_new) :
7579
Block autohiding when the properites dialog is open.
7580
(panel_properties_dialog_destroy) : Unblock the autohiding when
7581
destroying the dialog.
7583
* panel.c: (panel_delete) : Block autohiding
7584
(panel_deletion_destroy_dialog): Unblock autohiding
7586
* panel-toplevel.c: (panel_toplevel_auto_unhide_timeout_handler):
7587
Don't unhide if we are not in the vicinity of the panel.
7590
2003-11-06 Vincent Untz <vincent@vuntz.net>
7592
* applet.c: (applet_callback_callback)
7593
* launcher.c: (setup_button), (launcher_show_help)
7595
* menu.c: (show_help_on), (show_item_menu)
7596
* panel-util.c: (panel_show_gnome_help), (panel_show_kde_help),
7597
(panel_show_gnome_kde_help), (panel_help_error_quark), (panel_is_url)
7599
Remove old useless and dead code which was used for the "Show help on"
7600
stuff. Fix bug #124818.
7602
2003-11-06 Vincent Untz <vincent@vuntz.net>
7604
* panel-properties-dialog.glade: remove the bold label for the icon of
7607
2003-11-04 Mark McLoughlin <mark@skynet.ie>
7609
* panel-multiscreen.c: (panel_multiscreen_init): remove the
7610
PANEL_FAKE_XINERAMA debugging thingy - gtk+ has the equivalent
7611
now with GDK_DEBUG=xinerama.
7613
2003-11-03 Vincent Untz <vincent@vuntz.net>
7615
Make the change background notification work for applets. Now there is
7616
one problem left: applets don't keep the new background and come back
7617
to a plain colour background.
7618
This fixes bugs #107617, #123092, #107146.
7619
Some parts of the patch are based on a patch from John Ellis
7620
<johne@bellatlantic.net>.
7622
* applet.c: (panel_applet_register): remove #ifdef FIXME_FOR_NEW_CONFIG
7623
to initialize the applet background.
7624
* panel-applet-frame.c:
7625
(panel_applet_frame_update_background_size): new function which updates
7626
the background pixmap if the size of the applet has changed.
7627
(panel_applet_frame_size_request): use above function.
7628
* panel-background.h: add a PanelBackgroundChangedNotify type and two
7629
variables to the PanelBackground structure so we can notify the panel
7630
of a background change.
7631
* panel-background.c: (panel_background_composite): notify the panel
7632
when the background changes.
7633
(panel_background_init): initialize some new PanelBackground variables
7634
with the new parameters.
7635
(panel_background_make_string): don't tell the background is a pixmap
7636
if the type is PANEL_BACK_NONE and use the pixmap xid instead of the
7638
* panel-widget.h: add back_change to PanelWidgetClass.
7639
* panel-widget.c: (panel_widget_class_init): add BACK_CHANGE_SIGNAL.
7640
(panel_widget_instance_init): add new parameters to
7641
panel_background_init.
7642
(panel_widget_background_changed): new function which is called when
7643
the background changes and emits BACK_CHANGE_SIGNAL.
7644
* panel.c: (back_change), (back_change_foreach), (panel_back_change):
7645
uncommented these functions.
7646
(panel_applet_added): remove FIXME_FOR_NEW_CONFIG so we call
7648
(panel_widget_setup): connect to the back_change signal.
7650
2003-10-31 Arvind Samptur <arvind.samptur@wipro.com>
7652
* panel-toplevel.c: (panel_toplevel_auto_unhide_timeout_handler):
7653
Reverting the changes done for 122589. It's breaking some things.
7655
2003-10-31 Arvind Samptur <arvind.samptur@wipro.com>
7657
* menu.c: (show_about_dialog): Adding Vincent and myself
7660
2003-10-31 Arvind Samptur <arvind.samptur@wipro.com>
7662
* panel-toplevel.c: (panel_toplevel_auto_unhide_timeout_handler):
7663
Don't unhide if we are not in the vicinity of the panel.
7666
2003-10-30 Vijaykumar Patwari <vijaykumar.patwari@wipro.com>
7668
* panel-widget.c: (panel_widget_applet_drag_start): block the
7669
autohide when dragging objects on the panel.
7670
(panel_widget_applet_drag_end): enable autohide when dragging
7671
is done. Fix bug #122863
7673
2003-10-28 Mark McLoughlin <mark@skynet.ie>
7675
* panel-run-dialog.c, panel-run-dialog.glade: update to
7678
2003-10-28 Mark McLoughlin <mark@skynet.ie>
7680
* panel-toplevel.c: (panel_toplevel_attach_toplevel_hiding):
7681
Don't unhide drawers if they were originally hidden. Fixes
7684
2003-10-28 Muktha <muktha.narayan@wipro.com>
7686
* panel-properties-dialog.glade: Remove the bold labels.
7689
2003-10-23 Mark McLoughlin <mark@skynet.ie>
7691
* Makefile.am: remove disclosure-widget.[ch] and remove
7692
the deprecated defines.
7694
* disclosure-widget.[ch]: kill.
7696
2003-10-21 Vincent Untz <vincent@vuntz.net>
7698
* menu-ditem.c: (ditem_properties_clicked), (ditem_properties_changed)
7699
(set_ditem_sensitive), (panel_edit_dentry), (panel_edit_direntry):
7700
set the Revert button insensitive when there is no revert action
7703
2003-10-20 Vincent Untz <vincent@vuntz.net>
7705
* panel-properties-dialog.c: (panel_properties_dialog_opacity_changed):
7706
Set opacity to 0% or 100% when the value from the scale is something
7707
between 0% and 2% or between 98% and 100%. Thus we can really reach
7711
2003-10-20 Vincent Untz <vincent@vuntz.net>
7713
* panel-background-monitor.c: (panel_background_monitor_setup_pixmap):
7714
Don't assume gdk_property_get always works. Fix a crash.
7716
2003-10-15 Vincent Untz <vincent@vuntz.net>
7718
* button-widget.c: (button_widget_class_init)
7719
* panel-action-button.c: (panel_action_button_class_init)
7720
* panel-menu-button.c: (panel_menu_button_class_init)
7721
s/Drag N' Drop/Drag and drop/ as discussed in bug #119067.
7723
2003-10-14 Vincent Untz <vincent@vuntz.net>
7725
* menu.c: (make_panel_submenu): use GTK_STOCK_DELETE instead of
7726
GTK_STOCK_REMOVE for "Delete This Panel" item.
7729
2003-10-14 Vincent Untz <vincent@vuntz.net>
7731
* panel-action-button.c: there is help available for the run,
7732
search, screenshot and force quit buttons. So we should use it.
7735
2003-10-14 Vincent Untz <vincent@vuntz.net>
7737
* panel-toplevel.c: (panel_toplevel_move_to): never have a
7738
vertically centered horizontal panel nor a horizontally centered
7742
2003-10-14 Vincent Untz <vincent@vuntz.net>
7744
* button-widget.c: (button_widget_class_init) s/DnD/Drag N' Drop/.
7747
2003-10-13 Owen Taylor <otaylor@redhat.com>
7749
* gnome-panel/panel-stock-icons.c (panel_init_stock_icons):
7750
Look up default images for stock icons at an arbitrary large
7751
size, so that we always scale down, from the biggest image
7752
we have available, instead of sometimes scaling up. (#124230)
7754
2003-10-13 Padraig O'Briain <padraig.obriain@sun.com>
7756
* panel-action-button.c (panel_action_button_set_type): Set
7757
accessible name and descriptions (bug #124218)
7759
2003-10-13 Vincent Untz <vincent@vuntz.net>
7761
* menu.c: (create_menuitem) use the themed folder icon instead of a
7762
non-themed folder icon.
7765
* panel.c: (drop_directory) same here.
7767
2003-10-09 Arvind Samptur <arvind.samptur@wipro.com>
7769
* panel-toplevel.c : (panel_toplevel_push_autohide_disabler)
7770
(panel_toplevel_pop_autohide_disabler) : Use them to increment and
7771
decrement the open drawers count attached to a toplevel panel.
7772
(panel_toplevel_get_autohide_disabled): Returns True if panel has
7774
(panel_toplevel_unhide) panel_toplevel_hide) : Use the above methods.
7777
2003-10-06 Arvind Samptur <arvind.samptur@wipro.com>
7779
* panel-widget.[ch] : (panel_widget_register_open_dialog):
7780
Register the open dialog in to the list of open dialogs.
7781
(panel_widget_destroy_open_dialogs) : On destroying the panel,
7782
destroy all the open dialogs
7783
(panel_widget_open_dialog_destroyed) : Update the open dialogs
7784
list when the dialog is destroyed
7786
* launcher.c, menu.c, panel-applet-frame.c :
7787
Use panel_widget_register_open_dialog() to register all the dialogs
7790
* panel.c: (panel_remove_open_create_launcher_dialogs),
7791
(panel_remove_applets): Remove it, no longer required. Fix #122922
7793
2003-10-03 Padraig O'Briain <padraig.obriain@sun.com>
7795
* panel-widget.c (panel_widget_real_focus): Prevent PanelWidget
7796
getting focus after applet has focus (bug #123697)
7798
2003-09-29 Arvind Samptur <arvind.samptur@wipro.com>
7800
* panel-widget.[ch] : (panel_widget_register_open_dialog):
7801
Register the open dialog in to the list of open dialogs.
7802
(panel_widget_destroy_open_dialogs) : On destroying the panel,
7803
destroy all the open dialogs
7804
(panel_widget_open_dialog_destroyed) : Update the open dialogs
7805
list when the dialog is destroyed
7807
* launcher.c, menu.c, panel-applet-frame.c :
7808
Use panel_widget_register_open_dialog() to register all the dialogs
7811
* panel.c: (panel_remove_open_create_launcher_dialogs),
7812
(panel_remove_applets): Remove it, no longer required. Fix #122922
7814
2003-09-20 Kjartan Maraas <kmaraas@gnome.org>
7816
* gnome-panel-screenshot.c: (find_toplevel_window):
7817
* panel-action-button.c: (panel_action_button_load_from_drag):
7818
* panel-background-monitor.c:
7819
(panel_background_monitor_setup_pixmap):
7820
* panel-background.c: (panel_background_prepare):
7821
* panel-force-quit.c: (wm_state_set):
7822
* panel-toplevel.c: (panel_toplevel_button_press_event):
7823
* xstuff.c: (xstuff_get_current_workspace): Merge warning fix
7824
from branch. bug #122779
7826
2003-09-19 Christian Neumair <chris@gnome-de.org>
7828
* menu.c: Fix sn i18n (#122564).
7830
2003-09-19 Hidetoshi Tajima <hidetoshi.tajima@sun.com>
7832
* gnome-desktop-item-edit.c (main): call gettext functions
7833
to bind gnome-panel message catalog. Fix bug #121407.
7835
2003-09-18 Vincent Untz <vincent@vuntz.net>
7837
* panel-run-dialog.c: (program_list_selection_changed) show the
7838
localized comment instead of the english one when choosing an
7839
application in the list. Fix bug #122169.
7841
2003-09-18 Arvind Samptur <arvind.samptur@wipro.com>
7843
* drawer.[ch]:(drawer_deletion_response) (drawer_query_deletion):
7844
Query user before deleting a "loaded" drawer.
7846
* applet.c: (applet_remove_callback) Use drawer_deletion_query()
7847
if the applet is a drawer.
7849
* panel.[ch]: Isolate the "Delete Panel" dialog creation
7850
so that we can re-use the same code.
7853
2003-09-18 Mark McLoughlin <mark@skynet.ie>
7855
* button-widget.c: (button_load_pixbuf): fix loading of
7856
icons with a relative path. Based on a patch from Bala
7859
2003-09-17 Rob Adams <readams@readams.net>
7861
* panel-struts.c: Fix an off-by-one error in computing start and
7862
end values for partial width struts. Fix for #122405.
7864
Wed Sep 17 17:09:22 2003 George Lebl <jirka@5z.com>
7866
* panel-global.schemas.in: add /apps/panel/global/disabled_applets
7867
lists that lists disabled applet iids (lockdown removed stuff)
7869
* menu.c, panel-applet-frame.c, panel-profile.[ch]: Implement the
7870
disabled applets list. Don't show in list and don't allow
7873
2003-09-17 Vincent Untz <vincent@vuntz.net>
7875
* main.c: don't show the help flags twice in 'gnome-panel --help'.
7878
Tue Sep 16 14:22:28 2003 George Lebl <jirka@5z.com>
7880
* applet.c, launcher.c, panel-applet-frame.c, menu.c: In per-panel
7881
lockdown mode, do the same thing as the full lockdown, that is,
7882
hide the widgets rather then deselect them. This is both easier
7883
and likely more correct. Insensitive really kind of means that
7884
the actions may be possible. But we want to convey the message
7885
that there are no such actions possible.
7887
* menu.c: catch further instances of possibility of running programs
7888
when inhibit command line was on by editing properties of random
7891
Tue Sep 16 09:49:01 2003 George Lebl <jirka@5z.com>
7893
* button-widget.c: Fix #121072. The overlay window was needlessly on
7894
the toplevel rather then the button parent (panel-widget) and the
7895
geometry may have been messed up. I made it work precisely like
7896
the GtkButton code in this sense (it was half there already
7899
Mon Sep 15 15:05:27 2003 George Lebl <jirka@5z.com>
7901
* panel-global.schemas.in, panel-toplevel.schemas.in:
7902
Add per panel locked_down item and a global locked_down
7905
* applet.c, drawer.c, launcher.c, main.c, menu.c,
7906
panel-action-button.c, panel-applet-frame.c,
7907
panel-globals.h, panel-menu-bar.c, panel-profile.[ch],
7908
panel-run-dialog.c, panel-toplevel.[ch], panel-widget.c,
7909
panel.c: Add toplevel panel locked_down flag and follow
7910
it everywhere appropriate and also add a global locked_down
7911
flag replacing any remaints of the commie_mode of 1.4.
7912
In addition support reading two keys (which don't have
7913
schemas yet since this is all kind of tenative and such
7914
schemas wouldn't belong to gnome-panel anyway)
7915
/desktop/gnome/lockdown/inhibit_command_line and
7916
/desktop/gnome/lockdown/inhibit_force_quit. Also set
7917
the lockdown flag appropriately for external applets so
7918
that they can load and behave approperiately. All this
7919
currently requires a panel restart and no effort has been
7920
done to support on the fly updating, but I doubt it's
7921
worth the extra code baggage. I suppose this should
7922
be followed by some mail to d-d-l about lockdown especially
7923
about the "need to be sorted out" bits.
7925
2003-09-12 Arvind Samptur <arvind.samptur@wipro.com>
7927
* menu.c (add_drawers_from_dir) : Don't load desktop files
7928
in the drawer if TryExec fails.
7930
==================== 2.4.0 ====================
7932
==================== 2.3.91 ====================
7934
2003-09-05 Mark McLoughlin <mark@skynet.ie>
7936
Fixes problem with drawers where they are always open on
7937
login. Make them closed at login instead.
7939
* drawer.c: (load_drawer_applet): hide the drawer on startup.
7942
(panel_toplevel_hide), (panel_toplevel_unhide): show/hide
7943
drawers when not animating.
7945
2003-09-05 Mark McLoughlin <mark@skynet.ie>
7947
Patch from George to fix bug #120107 and some other
7950
* applet.c: (panel_applet_queue_applet_to_load):
7953
* menu-ditem.c: (get_unique_name): use g_random_int()
7956
* panel-util.c: (panel_make_unique_path): ditto.
7958
* panel-profile.c: (panel_profile_load_object): fix leak.
7960
* panel-widget.[ch]:
7961
(allocate_dirty_child): kill this ugly hack and just resize
7962
the entire panel when moving an applet.
7963
(panel_widget_jump_applet_right),
7964
(panel_widget_switch_applet_right),
7965
(panel_widget_jump_applet_left), (panel_widget_switch_applet_left),
7966
(panel_widget_switch_move), (panel_widget_push_applet_right),
7967
(panel_widget_push_applet_left), (panel_widget_push_move):
7968
Update all these to resize the entire panel.
7969
(panel_widget_size_allocate): first normalize the positions
7970
based on minimum sizes of theĀ applets/objects, basically
7971
shifting them right such that they need not ever be shifted
7972
right again. Then allocate sizes to applets (starting from the
7973
right corner) and finally shift everything right in case we
7976
2003-09-05 Mark McLoughlin <mark@skynet.ie>
7978
Schemas to maintain compatibility with the 2.0/2.2
7981
The problem being addressed here is that because the
7982
2.0/2.2 panel applies schemas to keys at runtime,
7983
existing user configurations will end up with
7984
dangling references to the old schemas unless we
7985
install these old schemas.
7987
For example, a 2.0/2.2 panel will apply the
7988
medium/general/panel_id_list schema to
7989
profiles/default/general/panel_id_list. This
7990
association is in the user's configuration, not in
7991
the system GConf database. If the user never changes
7992
panel_id_list and logs into a machine without this
7993
schema, then panel_id_list will be empty.
7995
* panel-compatibility.schemas: re-add the old
7996
default config schemas.
7998
* Makefile.am: install the schemas.
8000
==================== 2.3.90 ====================
8002
Thu Aug 28 22:02:41 2003 George Lebl <jirka@5z.com>
8004
* panel-profile.c: initialize color to black when getting it from
8007
Thu Aug 28 10:07:02 2003 George Lebl <jirka@5z.com>
8009
* panel.c: Fix a leak and be safe in destroying the
8010
open_dialogs list. The destruction of dialogs could
8011
perhaps have side effects (though I'm not aware of any)
8012
so steal the list so that no one modifies it.
8014
* panel-applet-frame.c: The open_dialogs are GSList's not
8015
GList, so avoid crashes by using the correct function.
8017
Thu Aug 28 08:59:58 2003 George Lebl <jirka@5z.com>
8019
* panel-util.c: don't free the format if we didn't allocate
8020
it in the error dialog code. Was OKed by the release-team
8022
2003-08-27 Arvind Samptur <arvind.samptur@wipro.com>
8024
* panel-widget.[ch] : Re-name create_launcher_dialog_list
8025
with open_dialogs to reflect a wider range of
8026
cleanup that we are upto.
8028
*launcher.c,panel-applet-frame.c,panel.c: Use it
8030
Fixes the dialogs being left on the screen when
8031
the panel is destroyed and the crashes thereafter. #120812
8033
==================== 2.3.7 ====================
8035
Fri Aug 22 14:59:01 2003 George Lebl <jirka@5z.com>
8037
* launcher.c: after a launcher is created, ensure that the Name,
8038
GenericName and Comment fields have a C locale entry (using the
8039
current locale one if the user added something). This should
8040
fix #120427, when people create a launcher then log in with
8043
Fri Aug 22 14:28:42 2003 George Lebl <jirka@5z.com>
8045
* panel-properties-dialog.c: Fix warning when a drawer doesn't
8046
have a tooltip set. Also destroy the dialog when closed
8047
(there is absolutely no point in keeping it in memory,
8048
that's a waste), and handle closing the dialog with the
8049
close WM button without causing crashes/warnings on next
8052
* panel-run-dialog.c: When destroying the dialog, destroy
8053
the file selection if it exists otherwise closing the
8054
dialog without closing the fileselection causes a crash.
8056
Fri Aug 22 09:50:19 2003 George Lebl <jirka@5z.com>
8058
* panel-applet-frame.c: fix a couple of possible
8059
warnings about strings being NULL since the
8060
background string can possibly be NULL. While
8061
investigating #120372
8063
* panel-background.c: the background->desktop can possibly
8064
be NULL, so catch that gracefully. Also add a few
8067
Thu Aug 21 13:54:17 2003 George Lebl <jirka@5z.com>
8069
* panel-compatibility.c: fixing RH #102790, "panel gnomes stole my
8070
drawers". No longer will such gnomes profit from stealing ones
8071
drawers. Issue was that we were setting "toplevel_id" instead
8072
of "attached_toplevel_id". Also the menu setting migration code
8073
was migrating main menus into just menus with "applications:"
8074
path set. main_menu=TRUE means use_menu_path must be FALSE.
8076
Thu Aug 21 12:56:48 2003 George Lebl <jirka@5z.com>
8078
* panel-run-dialog.c: don't complete if the pointer is not on the
8079
end of the input, and fix a leak when new prefix is not found.
8081
2003-08-20 Arvind Samptur <arvind.samptur@wipro.com>
8083
* panel-background-monitor.c: (panel_background_monitor_setup_pixmap):
8084
Pass the right type of Atom to gdk_property_get()
8087
Tue Aug 19 14:20:17 2003 George Lebl <jirka@5z.com>
8089
* panel-widget.c: Fixing #120107 where a non-expanded panel would
8090
always use the biggest hint of the expaned applets. Check if
8091
allocation didn't give us all the space we needed and compress
8092
expanded applets within possibilities. Don't clamp the upper
8093
size of the size request, it is not necessary and in fact
8094
just makes trouble since then we wouldn't know how much space
8097
Tue Aug 19 13:18:20 2003 George Lebl <jirka@5z.com>
8099
* panel-toplevel.c: Fix #119984 and RH #102631 by properly
8100
calculating the "floating" flag of non-expanded panels. The
8101
floating flag needs to take into account the SNAP_TOLERANCE
8102
otherwise it will in fact be wrong.
8104
Mon Aug 18 17:04:39 2003 Brian Cameron <Brian.Cameron@Sun.Com>
8106
* menu.c: Changed restore_grabs to use a technique similar to
8107
drag_end_menu_cb (also in menu.c) to grab the keyboard as
8108
well as the pointer.
8110
Wed Aug 13 17:26:20 2003 George Lebl <jirka@5z.com>
8112
* panel-toplevel.[ch]: Add an accessor to the floating flag,
8113
panel_toplevel_get_is_floating
8115
* panel-profile.c: when creating a new panel, try to find an
8116
empty orientation/monitor (free from other non-floating
8117
panels). If no such place is found, will just use the
8118
default values. Fixes #107620
8120
2003-08-13 Christian Neumair <chris@gnome-de.org>
8122
* panel-toplevel.c: Localize panel description by adding a few gettext
8125
Tue Aug 12 16:34:38 2003 George Lebl <jirka@5z.com>
8127
* gnome-panel-screenshot.c: convert filenames to utf8 before
8128
displaying them in the dialogs.
8130
Tue Aug 12 16:05:34 2003 George Lebl <jirka@5z.com>
8132
* quick-desktop-reader.c: A "fix" for #119623. If the encoding is
8133
set explicitly to UTF-8 ignore the encoding from the language just
8134
in case there was any (there isn't supposed to be any!) This way
8135
we read things that were converted wrongly.
8137
Tue Aug 12 12:52:33 2003 George Lebl <jirka@5z.com>
8139
* panel-struts.c: Allow passing NULL width/height
8140
int pointers and just don't update them then
8142
* panel-toplevel.c: The update functions want to
8143
work with width/height of what it was after
8144
the update_size call, so store those values,
8145
the strut update function can now update struts
8146
based on the final position of animation to get the
8147
final position correctly, struts can't really extend
8148
beyond screen edges which would make hidden panels
8149
whacked out. The "math" function to compute the
8150
"sin" wave is now a much simpler (but almost the
8151
same) ninth degree polynomial p(p(x)) where p(x)
8152
is a simple cubic. The animating position is now
8153
updated separately short circuiting the position
8154
update instead of doing all the position dance as
8155
normally. Fix things in case we ever do animation
8156
where we change the width/height which is not currently
8157
done. Don't update the size for hidden panels to avoid
8158
completely squishing them and setting them to negative
8159
sizes and all such fun.
8161
Note: This fixes the struts for panels that hide at
8162
least in all the cases which I could find. Animations
8163
are kind of off in some cases, but it would require
8164
lots of whacky code to get that right and it's not
8165
worth it. Things it fixes include squishing panels
8166
(thus whacking your applet layout), panels not hiding
8167
at all, panels animating wrongly, panels jumping around
8168
while other panels are hiding and gtk warnings about
8169
negative sizes when panels are hidden. Most of these
8170
problems especially for vertical panels being hidden
8173
Mon Aug 11 11:40:00 2003 George Lebl <jirka@5z.com>
8175
* panel-toplevel.c: when queing unhide, first check if the panel
8176
contains the pointer before whacking the unhide delay, this fixes
8177
bugs where panel sometimes would never pop up.
8179
Mon Aug 11 11:22:24 2003 George Lebl <jirka@5z.com>
8181
* panel-toplevel.c: Fix #119380 by ignoring motion event coming
8182
from a different screen then the panel is on.
8184
2003-08-11 Arvind Samptur <arvind.samptur@wipro.com>
8186
* panel-run-dialog.c: (panel_run_dialog_response): Reset the
8187
completion_started flag.
8188
(event_key): Use the completion_started flag in the right way.
8191
2003-08-11 Padraig O'Briain <padraig.obriain@sun.com>
8193
* panel-menu-bar.c (panel_menu_bar_popup_menu): Activate menu bar when
8194
popping up menu. This fixes bug #118491.
8196
==================== 2.3.6.2 ====================
8198
2003-08-11 Mark McLoughlin <mark@skynet.ie>
8200
* panel-toplevel.c: (panel_toplevel_update_struts): fix
8201
syntax error which breaks compile with gcc 2.95.
8202
Patch from Jens Granseuer in bug #119508.
8204
==================== 2.3.6.1 ====================
8206
2003-08-08 Mark McLoughlin <mark@skynet.ie>
8208
Fixes multihead breakage in bug #119379.
8211
(panel_struts_allocate_struts): add screen and monitor
8212
args and only do an allocation run for toplevels on that
8214
(panel_struts_register_strut),
8215
(panel_struts_unregister_strut): upd.
8217
2003-08-08 Mark McLoughlin <mark@skynet.ie>
8219
* panel-struts.[ch]:
8220
(panel_struts_intersect),
8221
(panel_struts_allocation_overlapped),
8222
(panel_struts_allocate_struts),
8223
(panel_struts_register_strut): keep track of the original
8224
geometry so that we can apply deltas to the toplevel
8225
position rather than changing the position explicitly.
8226
(panel_struts_update_toplevel_geometry): apply the deltas
8230
(panel_toplevel_update_position): updating the geometry
8231
accoring to the struts makes sense in all cases now.
8232
(panel_toplevel_start_animation): ditto here.
8234
Thu Aug 07 14:34:37 2003 George Lebl <jirka@5z.com>
8236
* panel-toplevel.c: Fixing bug #115494. Apparently if some applet
8237
opens a menu, we'll never get a leave event. However we will
8238
get focus in/out events, so queue auto hide when those happen.
8240
Thu Aug 07 14:09:56 2003 George Lebl <jirka@5z.com>
8242
* panel-toplevel.c: don't update struts until we have gotten initial
8243
position/size stuff. Fixes autohide panels from jumping to the
8244
other side of the screen on startup.
8246
* panel-struts.c: correctly position panels in their strut according
8247
to the orientation, fixes expanded autohide panels. All
8248
hidden/animating panels are still broken if around other struts.
8250
==================== 2.3.6 ====================
8252
2003-08-07 Arvind Samptur <arvind.samptur@wipro.com>
8254
* panel-background.c: (panel_background_set_image):
8255
Get the panel to upadate to the new image selected
8256
by the user. Fixes bug #119320
8258
2003-08-07 Frederic Crozat <fcrozat@mandrakesoft.com>
8260
* panel-menu-bar.c: (panel_menu_bar_instance_init):
8261
Use semicolon at end of line, not colon.
8263
2003-08-06 Mark McLoughlin <mark@skynet.ie>
8265
Patch from Glynn Foster.
8268
(panel_applet_lock): make the remove item insensitive if
8270
(panel_applet_create_menu),
8271
(panel_applet_register): keep track of the remove item.
8273
* panel-applet-frame.c: (panel_applet_frame_sync_menu_state):
8274
make the remove item insensitive if locked.
8276
2003-08-06 Mark McLoughlin <mark@skynet.ie>
8278
* Makefile.am: add panel-struts.[ch].
8280
* panel-struts.[ch]: re-implement some degree of "collision
8281
avoidance" - i.e. keep panels from overlapping.
8284
(panel_toplevel_update_struts): use it here and also fix
8285
struts on non-rectangular Xinerama.
8286
(panel_toplevel_update_position), (panel_toplevel_realize),
8287
(panel_toplevel_finalize), (panel_toplevel_set_auto_hide_size),
8288
(panel_toplevel_set_auto_hide): use the collision avoidance
8291
Tue Aug 05 15:28:14 2003 George Lebl <jirka@5z.com>
8293
* launcher.[ch]: the theme icon stuff is now fixed in gnome-desktop
8294
in a slightly nicer way anyway, so revert most of the changes from
8297
* panel-properties-dialog.c: Fixup the code a bit according to mark,
8298
and refer to bug #119209 in the code. Also handle the case where
8299
no icon is set at first (in this case normally we also want to
8302
Mon Aug 04 16:52:07 2003 George Lebl <jirka@5z.com>
8304
* panel-background.c: fix image rotation to be 64bit safe, do
8305
rotation for non-alpha images as well, fix for pixbufs with
8306
rowstride != width. Don't do the whole transformation
8307
thing unless needed, don't do compositing onto the
8308
desktop unless needed. Fixes really REALLY slow moving if
8309
using a background image on non-expanded panels.
8311
* panel-profile.c: fix the notify for "rotate" key
8313
Fri Aug 01 18:00:51 2003 George Lebl <jirka@5z.com>
8315
Changes to fix bugs: rh #101304, gnome #116586
8317
* button-widget.[ch], drawer.c, launcher.c, panel-menu-button.c:
8318
The button-widget now can have both stock id and a filename set,
8319
using the stock id in case the filename is not found, makes the
8320
missing icon logic much simpler and don't need to look up icons
8323
* button-widget.c, drawer.c, launcher.c, panel-menu-button.c:
8324
don't resolve the icon names if not needed (and it's not needed
8325
for button-widget). Only lookup the icon in the theme by
8326
basename if the icon is not an absolute pathname (or as a backup).
8328
* panel-properties-dialog.c, launcher.[ch]: When letting the user
8329
change the icon resolve the icon name against the current theme,
8330
then if the user picked an icon in the same directory as the
8331
resolved icon, assume that we really want the themed icon so only
8332
store the basename, otherwise store the full path.
8334
* panel-profile.c: make sure not to call a gconf set_string with
8335
a NULL argument as gconf would complain
8337
* panel-menu-button.c: fix minor memleak
8339
Fri Aug 01 15:37:02 2003 George Lebl <jirka@5z.com>
8341
* panel-menu-bar.c: catch and intercept all button_press_events on
8342
the two toplevel menus to avoid them going all the way to the
8343
menubar. Fixes #111313 where right clicking on dead space in
8344
the menus could bring up confusingly the applet menu. Very
8345
important bugfix indeed, but I think I have a fever, so I'm
8346
allowed to fix just simple stuff.
8348
2003-08-01 Arvind Samptur <arvind.samptur@wipro.com>
8350
* panel-recent.c: (recent_documents_activate_cb):
8351
Determine the screen after the widget has been realized
8352
else you land up with a wrong screen number.
8355
Patch from Leena Gunda (leena.gunda@wipro.com)
8357
2003-07-31 Mark McLoughlin <mark@skynet.ie>
8359
* panel-menu-button.c: (panel_menu_button_instance_init):
8360
Add back the tooltip.
8362
2003-07-31 Mark McLoughlin <mark@skynet.ie>
8364
* panel-menu-button.c: (panel_menu_button_load): re-enable
8365
that pesky little arrow.
8367
2003-07-31 Mark McLoughlin <mark@skynet.ie>
8369
Evil duplication of effort happening here. This reverts George's
8370
fix for #117710 (add entire menu as drawer) and uses a nicer fix
8371
I happened to be working on at the same time. No, I'm not a nice
8375
(panel_drawer_prepare): split out from panel_drawer_create()
8376
and allow preparing the attached toplevel before loading.
8377
(panel_drawer_create): upd.
8378
(panel_drawer_create_with_id): impl loading onto a toplevel
8379
with only the toplevels id.
8382
(panel_launcher_create_with_id): allow loading onto a toplevel
8384
(panel_launcher_create): use with_id().
8387
(vfs_text_uri_exists): impl.
8388
(add_drawers_from_dir),
8389
(add_menudrawer_to_panel): re-implement to allow prepare the
8390
drawer, launchers and all sub-drawers and then load them all
8393
* panel.c: (drop_internal_applet): upd.
8395
* applet.c: (panel_applet_register): g_strdup is NULL tolerant.
8397
2003-07-31 Mark McLoughlin <mark@skynet.ie>
8399
* panel-profile.[ch]: (panel_profile_create_toplevel):
8400
Add a GdkScreen * argument and create the toplevel on
8403
* menu.c: (create_new_panel): create the toplevel on
8406
Wed Jul 30 16:58:56 2003 George Lebl <jirka@5z.com>
8408
* launcher.c: fix #117130. When icon is empty pass ""
8409
as the icon. This will force the button-widget code to
8410
load the missing icon.
8412
Wed Jul 30 15:14:20 2003 George Lebl <jirka@5z.com>
8414
* panel-widget.h, panel-toplevel.[ch]: make the get_panel_widget
8415
method typesafe by including the PanelWidget typedef in the
8416
header unless it has been typedeffed before.
8418
* menu.c, drawer.c, applet.c, panel.c: fix the add drawers from
8419
menu thingie which should fix #117710 (all the other things
8420
seem fixed already).
8422
Wed Jul 30 12:50:28 2003 George Lebl <jirka@5z.com>
8424
* panel-util.c: in bug #117877 we saw 'foo' displayed since that
8425
was the temporary text in the error dialog before the real
8426
text was set. Change that to be more meaningful (even though
8427
not translated, since it's a really bad bug if it ever happens)
8429
* panel-menu-button.c: Don't ref/sink the menu when we make it,
8430
since we attach it to the button the button will own a ref.
8431
Also don't just unref to kill the menu, detach it, that will
8432
take care of the reference as well. Also disconnect the
8433
signal handler in the detacher just in case something held
8434
onto a reference of the menu somewhere.
8436
* panel-toplevel.c: Fixing bug #118368, where a vertical panel
8437
that was floating (or stuck to the right side) and wasn't
8438
expanded would gradually move to the top/left corner on
8439
each restart. Add geometry_updated_initial flag to the
8440
private structure and don't do the position_centered
8441
stuff if geometry was not yet updated since we're still
8442
just setting initial values.
8444
Tue Jul 29 18:27:48 2003 George Lebl <jirka@5z.com>
8446
* button-widget.c, launcher.c, menu.c, menu-ditem.c, panel-action-button.c,
8447
panel-recent.c, panel-run-dialog.c, panel-shell.c, panel-util.c:
8448
Fixed crashes on two panel_error_dialog invocations that weren't
8449
quite converted. Also never NEVER use an error message we got
8450
from somewhere else as a format, that way lie crashes and security
8453
2003-07-24 Alex Duggan <aldug@astrolinux.com>
8455
* panel-toplevel.schemas.in: s/indentify/identify/
8458
==================== 2.3.4.1 ====================
8460
2003-07-24 Mark McLoughlin <mark@skynet.ie>
8462
Remove visible mnemonics from the Actions menu and Add to Panel
8463
menus. Based on patch from Glynn.
8465
* menu-util.[ch]: (stock_menu_item_new): huh ? Why on earth
8466
is there a function that looks like setup_stock_menu_item,
8467
but isn't. Dammit, we don't need code duplication.
8470
(applet_menu_append), (applet_menu_append_category),
8471
(make_add_submenu): remove visible mnemonics.
8472
(setup_stock_menu_item): make public
8475
(panel_menu_bar_append_action_item): use setup_stock_menu_item().
8476
(panel_menu_bar_append_actions_menu): remove visible mnemonics.
8479
(panel_recent_append_documents_menu): use setup_stock_menu_item()
8480
and remove the visible mnemonic.
8482
2003-07-24 Mark McLoughlin <mark@skynet.ie>
8484
Fix problem where the context menu for the menu bar pops
8485
up in the wrong place. Based on a patch from Glynn in
8488
* menu-util.c: (panel_position_applet_menu): only position
8489
the menu relative to the panel for NO_WINDOW widgets.
8491
(panel_menu_bar_parent_set): replace stupid warning with
8494
2003-07-24 Mark McLoughlin <mark@skynet.ie>
8496
Fixes weirdness where sometimes the drawer panel, when
8497
it is hidden, is above the drawer button.
8500
(panel_toplevel_update_animating_position): unmap the
8501
attached toplevel at the end of the animation.
8502
(panel_toplevel_start_animation): re-map it here before
8503
starting the animation.
8504
(panel_toplevel_hide): move raising the parent toplevel
8505
to just after re-mapping the attached toplevel.
8507
2003-07-24 Mark McLoughlin <mark@skynet.ie>
8509
Fixes drawers getting destroyed when you create
8513
(panel_profile_load_added_ids): s/toplevel_id/id/
8514
(panel_profile_toplevel_id_list_notify): don't pass
8515
attached toplevels as being part of the existing
8518
2003-07-24 Mark McLoughlin <mark@skynet.ie>
8521
(button_widget_set_orientation): force a re-scale of the button.
8522
Fixes rectangular buttons not re-scaling on vertical panels.
8524
2003-07-24 Mark McLoughlin <mark@skynet.ie>
8526
Fix launchers and action buttons not re-sizing when you move
8527
them onto a vertical panel.
8529
* panel.c: (orientation_change): change the orientation
8530
on launchers and action buttons too.
8532
* drawer.[ch]: (panel_drawer_use_custom_icon_changed),
8533
(panel_drawer_custom_icon_changed): upd.
8534
(set_drawer_applet_orientation): kill.
8536
* panel-menu-button.[ch]:
8537
(panel_menu_button_set_icon): upd.
8538
(panel_menu_button_change_orientation): kill.
8540
* launcher.c: (setup_button): upd.
8542
* button-widget.[ch]:
8543
(button_widget_get_property),
8544
(button_widget_set_property), (button_widget_class_init),
8545
(button_widget_new), (button_widget_new_from_stock),
8546
(button_widget_set_icon_name), (button_widget_get_icon_name),
8547
(button_widget_set_stock_id), (button_widget_get_stock_id),
8548
(button_widget_set_orientation), (button_widget_get_orientation),
8549
(button_widget_set_has_arrow), (button_widget_get_has_arrow),
8550
(button_widget_set_dnd_highlight),
8551
(button_widget_get_dnd_highlight): re-implement properties for
8552
ButtonWidget to make it much more sane. Say bye-bye to cruft
8553
like button_widget_change_params().
8555
2003-07-23 Mark McLoughlin <mark@skynet.ie>
8557
Implement a properties dialog for drawers based on the
8558
standard panel properties dialog. Fixes bug #107606.
8561
(applet_callback_callback): present the panel properties
8563
(panel_applet_get_id_by_widget): impl.
8567
(add_drawer_properties_page): remove old #ifdefed out drawer
8569
(destroy_drawer): remove the GConf listeners.
8570
(free_drawer): kill.
8571
(create_drawer_applet): pass in the use_custom_icon flag. Also
8572
set the toplevel name to be the same as the tooltip.
8573
(panel_drawer_use_custom_icon_changed),
8574
(panel_drawer_custom_icon_changed),
8575
(panel_drawer_tooltip_changed),
8576
(panel_drawer_connect_to_gconf): impl monitoring for changes
8578
(load_drawer_applet): pass the parcel.
8579
(drawer_load_from_gconf): read use_custom_icon.
8581
* panel-profile.[ch]:
8582
(panel_profile_get_attached_object_key),
8583
(panel_profile_set_attached_custom_icon),
8584
(panel_profile_get_attached_custom_icon),
8585
(panel_profile_is_writable_attached_custom_icon),
8586
(panel_profile_set_attached_tooltip),
8587
(panel_profile_get_attached_tooltip),
8588
(panel_profile_is_writable_attached_tooltip): implement.
8590
* panel-properties-dialog.c: (get_name),
8591
(panel_properties_dialog_name_changed),
8592
(panel_properties_dialog_setup_name_entry): handle
8593
setting the tooltip and name on drawers.
8594
(panel_properties_dialog_setup_size_spin),
8595
(panel_properties_dialog_icon_changed),
8596
(panel_properties_dialog_setup_icon_entry): impl. then
8598
(panel_properties_dialog_remove_orientation_menu),
8599
(panel_properties_dialog_remove_icon_entry),
8600
(panel_properties_dialog_remove_toggles),
8601
(panel_properties_dialog_update_for_attached): impl. removing
8602
bits when they aren't relevant. Kinda sucky.
8603
(panel_properties_dialog_new): upd.
8605
* panel-properties-dialog.glade: add an icon entry and name
8608
* panel-toplevel.[ch]:
8609
(panel_toplevel_get_attach_toplevel),
8610
(panel_toplevel_get_attach_widget): impl.
8612
2003-07-22 Mark McLoughlin <mark@skynet.ie>
8614
Remove auto-hiding into the corner again. It seems the
8615
only people who like it are people who don't use
8616
autohide panels :-) The main fault with it seems to
8617
be that you have to do a lot of tricky manoevouring
8618
to put you mouse into the corner and then bring it
8619
back to whatever you wanted on the panel. See #81843.
8622
(panel_toplevel_update_struts): fix struts weirdness
8623
with autohide panels.
8624
(panel_toplevel_update_auto_hide_position): don't
8625
hide into corners any more.
8626
(panel_toplevel_start_animation): hmm,
8627
MAX (func (x), func (y)) isn't very efficient is it
8628
now ? Also, don't take into account the end width and
8629
height when they are -1 - fixes slowness in hiding.
8630
(panel_toplevel_enter_notify_event),
8631
(panel_toplevel_leave_notify_event),
8632
(panel_toplevel_instance_init): kill code to figure out
8633
which corner to hide to based on the last leave notify.
8635
2003-07-22 Arvind Samptur <arvind.samptur@wipro.com>
8637
* panel-run-dialog.c : Get rid of panel_run_dialog_free()
8638
as it is not adding any value. Fixes crash #114799
8640
2003-07-21 Mark McLoughlin <mark@skynet.ie>
8642
* panel-menu-button.c: (panel_menu_button_create): fix typo
8643
when creating a panel menu. Patch from Mohamed El Ayouty in
8646
2003-07-17 Dennis Cranston <dennis_cranston at yahoo com>
8648
* gnome-panel-preferences.glade: Fix the window icon.
8650
2003-07-16 Dennis Cranston <dennis_cranston at yahoo com>
8652
* gnome-panel-preferences.glade: Make close the default button.
8654
2003-07-16 Dennis Cranston <dennis_cranston at yahoo com>
8656
* gnome-panel-preferences.glade: Adjust widget padding
8657
according to the HIG.
8659
Wed Jul 16 10:25:42 2003 George Lebl <jirka@5z.com>
8661
* main.c, menu-util.[ch], menu.[ch], panel-globals.h, panel-menu-bar.c,
8662
panel-stock-icons.[ch]: whack the KDE menus. These are the old
8663
style menus anyway and KDE menus should be merged by the vfolder
8666
Wed Jul 16 10:01:21 2003 George Lebl <jirka@5z.com>
8668
* panel-stock-icons.c: if the stock icon is "go" and we don't find
8669
it, don't warn. This is a KDE icon, so it is normal that it is
8670
not installed. And if KDE is not installed we won't have the
8671
KDE menu anyway so it won't be used either. Just ignore this
8672
just like we ignore PANEL_STOCK_ACTION now.
8674
2003-07-16 Mark McLoughlin <mark@skynet.ie>
8676
* panel-stock-icons.c:
8677
* panel-stock-icons.h: remove PANEL_STOCK_ARROW definitions.
8678
Fixes "panel-stock-arrow-right" not found warnings.
8680
2003-07-15 Mark McLoughlin <mark@skynet.ie>
8682
* panel-applet-frame.c:
8683
(panel_applet_frame_construct): no need to ref the connection
8684
here. Removes dependancy on ORBit 2.7.x.
8686
==================== 2.3.4 ====================
8688
2003-07-15 Mark McLoughlin <mark@skynet.ie>
8690
Make the items in the Main Menu have invisible mnemonics too.
8694
(setup_full_menuitem): add an extra "invisible_mnemonic"
8695
arg and if true make the first character of the menu item
8696
a hidden accelerator.
8697
(create_root_menu): use it here for the Main Menu.
8701
Mon Jul 14 10:22:39 2003 George Lebl <jirka@5z.com>
8703
* panel-properties-dialog.(c|glade): Add warning label if some of the
8704
properties are locked down so that the user isn't just baffled that
8705
they are insensitive, also change the g_asserts that I added into
8706
g_return_if_fails which are less anal
8708
* applet.c: if say the background property is not locked down, the
8709
panel_right_stick and position properties of an applet can still
8710
change, so check for writability of those before writing them
8712
2003-07-14 Mark McLoughlin <mark@skynet.ie>
8714
* panel-applet-frame.c: (panel_applet_frame_change_size):
8715
normalise the applet size to the values defined in the
8716
IDL so we don't break some applets. What a mess.
8718
* panel-util.h: remove the G_GNUC_PRINTF stuff for
8719
panel_error_dialog since we've obfuscated the function
8720
enough now that the compiler can't have a hope of
8721
knowing what we're at.
8723
2003-07-14 Mark McLoughlin <mark@skynet.ie>
8725
* panel-run-dialog.c:
8726
(set_window_icon_from_stock): impl.
8727
(panel_run_dialog_set_icon),
8728
(panel_run_dialog_setup_pixmap): use PANEL_STOCK_RUN
8729
instead of GTK_STOCK_EXECUTE.
8730
(panel_run_dialog_new): set the window icon appropriately.
8732
* panel-run-dialog.glade: don't set the stock icon here.
8734
2003-07-13 Christian Neumair <chris@gnome-de.org>
8736
* panel-toplevel.schemas.in: Third and hopefully last string adaption.
8739
2003-07-12 Christian Neumair <chris@gnome-de.org>
8741
* panel-toplevel.schemas.in: Fixed string I borked during the last
8742
cleanup round (#116897).
8744
* menu-ditem.c: My last patch (#113433) destroyed a string semantically.
8747
2003-07-11 Christian Neumair <chris@gnome-de.org>
8752
* panel-action-button.c:
8754
* panel-run-dialog.c:
8755
* panel-util.[ch]: (panel_error_dialog): Revamp error dialog
8756
construction. Now we have a primary and a secondary format message and
8757
set the appropriate pango attributes (#113433).
8759
2003-07-11 Mark McLoughlin <mark@skynet.ie>
8761
* panel-stock-icons.h: change the default icon
8762
size to 24x24. See bug #114920.
8764
2003-07-08 Mark McLoughlin <mark@skynet.ie>
8766
Modified version of excellant patch from
8767
Rob Adams <robadams@ucla.edu> in bug #116025.
8769
* panel-xutils.[ch]: (panel_xutils_set_strut): support
8770
new EWMH hint _NET_WM_STRUT_PARTIAL.
8772
* panel-multiscreen.[ch]:
8773
(panel_multiscreen_is_at_visible_extreme): new function
8774
determines whether a given monitor is along the visible
8775
edge of the logical screen.
8777
* panel-toplevel.c (panel_toplevel_update_struts):
8778
support new panel_xutils_set_strut().
8779
(panel_toplevel_get_monitor_geometry): Change function to
8780
also get origin of monitor so we can do a more accurate
8781
heuristic for "on the edge"
8783
2003-07-09 Christian Neumair <chris@gnome-de.org>
8785
* panel-general.schemas.in:
8786
* panel-object.schemas.in:
8787
* panel-toplevel.schemas.in: Fixed scattered typo bugs filed by
8788
Christian Rose: #116878, #116883, #116884, 116897, #116899, #116924.
8790
Tue Jul 08 16:44:02 2003 George Lebl <jirka@5z.com>
8792
* panel-applet-frame.c: Handle more errors in the constructor. Still
8793
ORBit/Bonobo is broken and crashes, I have a workaround in mind if,
8794
they don't get fixed. When the applet whacks out during the
8795
construct we now handle it in the same way as if we can't activate
8796
the applet with a gui dialog. Don't connect to the broken signal
8797
until we're all done with init.
8799
* panel-widget.c: detach attached toplevel on remove and attach it on
8800
add. Fixes moving of drawers from one panel to another.
8802
Tue Jul 08 10:35:41 2003 George Lebl <jirka@5z.com>
8804
* menu.c: when hierarchy changed, remove old mnemonic before adding
8805
it to the new window avoids warning on exit and likely bad
8806
behaviour when reparenting things.
8808
* panel-applet-frame.c: avoid crash/warning by only checking the
8809
locked flag while the widget and info structure still exists,
8810
for the reload-if-applet-crashes code.
8812
Tue Jul 08 09:50:24 2003 George Lebl <jirka@5z.com>
8814
* panel-gconf.c: when cleaning a directory don't clean keys we can't
8817
2003-07-07 Mark McLoughlin <mark@skynet.ie>
8819
* gnome-panel-screenshot.schemas.in:
8820
* panel-general.schemas.in:
8821
* panel-global.schemas.in:
8822
* panel-object.schemas.in:
8823
* panel-toplevel.schemas.in: much work on keys
8824
documentation to make it more consitent, fix
8825
typos and use correct terminology. Patch from
8826
Christian Neumair in bug #112527.
8828
2003-07-07 Mark McLoughlin <mark@skynet.ie>
8830
Add mnemonics to the Applications, Actions and "Add to Panel"
8831
menus, but make the ones in Applications invisible. Based
8832
on a patch from Muktha in bug #72008.
8835
(setup_mnemonic), (setup_invisible_mnemonic): implement
8836
setting a mnemonic for a menu item without actually
8837
underlining the appropriate character.
8838
(create_menuitem): set an invisible mnemonic.
8839
(applet_menu_append), (applet_menu_append_category),
8840
(make_add_submenu): use visible mnemonics here.
8842
* menu-util.c: (stock_menu_item_new): allow mnemonics.
8844
* panel-menu-bar.c: (panel_menu_bar_append_actions_menu):
8845
add mnemonics to the Actions menu.
8847
* panel-recent.c: (panel_recent_append_documents_menu):
8850
2003-07-07 Mark McLoughlin <mark@skynet.ie>
8852
Pre-load some directories that weren't previously being
8853
loaded. Should improve startup time significantly.
8856
(panel_profile_load_toplevel): preload the background
8857
directory explicitly. Recursive preloading never worked.
8858
(panel_profile_load_object): preload the applet's
8861
2003-07-05 Dennis Cranston <dennis_cranston at yahoo com>
8863
* menu-ditem.c: (panel_new_launcher) Adjust padding of
8864
the 'Create Launcher' dialog used by nautilus. This
8865
should cover all the launcher dialogs.
8867
2003-07-05 Dennis Cranston <dennis_cranston at yahoo com>
8869
* menu-ditem.c: (panel_edit_dentry, panel_edit_direntry)
8870
Adjust padding of two more 'Launcher Properties' dialogs.
8872
2003-07-03 Rajkumar Sivasamy <rajkumar.siva@wipro.com>
8874
* button-widget.c: Make panel-buttons that use stock icons
8875
to respect theme changes.
8878
2003-07-03 Mark McLoughlin <mark@skynet.ie>
8881
(panel_create_menu): rename from panel_menu_new().
8884
* applet.c: (setup_an_item), (add_to_submenus),
8885
(panel_applet_create_menu):
8886
* panel-menu-bar.c: (panel_menu_bar_append_actions_menu):
8887
* panel-recent.c: (panel_recent_append_documents_menu):
8890
* panel-frame.c: fix comment.
8892
Wed Jul 02 16:08:23 2003 George Lebl <jirka@5z.com>
8894
* panel-widget.c: when panel is destroyed make sure that the
8895
master's widget associated key is wiped so that we don't
8896
try to access freed data and crash (fixes crash and/or warning
8897
on exit when drawers are present)
8899
* drawer.c: when our toplevel is destroyed, set the
8900
toplevel member to NULL and whack the button. Fixes
8901
crash and/or warning on exit when drawers are present.
8903
Wed Jul 02 11:43:26 2003 George Lebl <jirka@5z.com>
8905
* panel-applet-frame.c: when creating new applets be more careful
8906
about errors and null returns if they can possibly happen, and
8907
fix a leak when this happens
8909
* panel-widget.c: the time on events with send_event (hand generated
8910
events) seems to be bogus for the drag start and so just
8911
use GDK_CURRENT_TIME in this case. This fixes dragging applets
8912
like fish and window-list for me.
8914
2003-07-02 Mark McLoughlin <mark@skynet.ie>
8916
* panel-stock-icons.[ch]: add a new stock id "panel-main-menu"
8917
pointing to the gnome-main-menu icon to allow the main menu
8918
icon to be themed seperately from the GNOME logo.
8920
* menu.c: (make_add_submenu):
8921
* panel-menu-button.c: (panel_menu_button_instance_init),
8922
(panel_menu_button_set_icon), (panel_menu_button_set_dnd_enabled):
8923
Use PANEL_STOCK_MAIN_MENU.
8925
==================== 2.3.3.3 ====================
8927
2003-07-02 Mark McLoughlin <mark@skynet.ie>
8929
Patch from Daniel Baeyens in bug #114603.
8931
* panel-toplevel.schemas.in: consistently use "three" instead
8934
2003-07-02 Mark McLoughlin <mark@skynet.ie>
8936
Patch from Fernando Herrera in bug #115572.
8938
* gnome-panel-screenshot.c: (take_window_shot): fix problem
8939
with taking a window screenshot when the window is overlapped
8940
by showing the window before taking the shot.
8942
2003-07-02 Mark McLoughlin <mark@skynet.ie>
8944
Patch from Christophe Fergeau in bug #113238.
8946
* gnome-desktop-item-edit.c:
8949
* panel-util.c: remove unnecessary gnome-vfs includes.
8951
2003-07-02 Mark McLoughlin <mark@skynet.ie>
8953
Based on patch from Kaushal Kumar in bug #114565.
8955
* panel-shell.c: (panel_shell_register): register the
8956
panel shell as per display, not per screen.
8958
2003-07-02 Mark McLoughlin <mark@skynet.ie>
8960
Based on patch from Mark Finlay in bug #114056.
8962
* menu.c: (show_about_dialog): make the about dialog much more
8963
sane (or boring from George's POV :-). no "End World Hunger"
8964
link, no picture of a goat, no talk about random X crashes,
8965
no Monty Python reference and make the credits list alphabetically
8968
2003-07-02 Mark McLoughlin <mark@skynet.ie>
8970
* applet.c: make panel_applet_have_load_idle static.
8972
2003-07-01 Mark McLoughlin <mark@skynet.ie>
8974
Fix bug #109374. When no panel's are found in the default
8975
configuration, show a fallback panel so we don't end up
8976
with a running panel process and no panels.
8978
This seems to be getting reported a fair bit, so I reckon
8979
packagers mustn't yet have twigged about installing the
8980
default configuration using gconftool-2 --load. Your post
8981
install magic should be something like this:
8983
gconftool-2 --direct
8984
--config-source=$GCONF_CONFIG_SOURCE
8985
--load %{_sysconfdir}/gconf/schemas/panel-default-setup.entries
8988
(panel_profile_find_new_id): assert that we always return
8990
(panel_profile_copy_defaults_for_screen): fix using the
8991
wrong key for the schemas location.
8992
(panel_profile_create_fallback_toplevel_list): impl returning
8993
a list of fallback toplevels. Currently just a single toplevel
8994
according to the schemas defaults with no objects.
8995
(panel_profile_load_defaults_on_screen): if we can't find any
8996
toplevels in the default configuration, load a fallback panel.
8997
(panel_profile_ensure_toplevel_per_screen): kill FIXME.
8999
2003-07-01 Mark McLoughlin <mark@skynet.ie>
9001
Fix issue with drawer panels not getting deleted when
9002
you delete the drawer button.
9005
(destroy_drawer): actually destroy the toplevel instead
9006
of just detaching it.
9007
(panel_drawer_delete): kill.
9010
(panel_applet_clean): don't call panel_drawer_delete().
9012
Tue Jul 01 16:54:53 2003 George Lebl <jirka@5z.com>
9014
* panel-applet-frame.c: only delete the applet from config (when we
9015
can't load) if we can actually write to the applets list
9017
Tue Jul 01 16:00:06 2003 George Lebl <jirka@5z.com>
9019
* applet.[ch], panel-profile.c: kill reentrancy issues on the
9020
applet loading idle. When we get a notify for new applets to load,
9021
don't add the ones already on the load queue. This should fix
9022
issues when dealing with applets that don't want to load for
9025
2003-07-01 Mark McLoughlin <mark@skynet.ie>
9027
Fix location of arrow on non-rectangular menu buttons and
9028
fix problem where you can't make the panel smaller because
9029
launchers etc. refuse to get smaller.
9032
(draw_arrow), (button_widget_expose): redo the calculation
9033
of arrow co-ordinates to not assume the icon is square.
9035
* panel-widget.[ch]:
9036
(panel_widget_size_request): if an applet has its size
9037
constrained don't increase the panel's requisition if the
9038
applet's requisition is larger.
9039
(panel_widget_add): initialize size_constrained.
9040
(panel_widget_set_applet_size_constrained): add per-applet
9041
flag to specify whether the panel should expand when an
9042
applet is larger than the panel.
9044
* panel-applet-frame.c:
9045
(panel_applet_frame_load): set size_constrained.
9046
(panel_applet_frame_size_constrain),
9047
(panel_applet_frame_size_request): don't constrain the
9050
* drawer.c: (load_drawer_applet):
9051
* launcher.c: (load_launcher_applet):
9052
* panel-action-button.c: (panel_action_button_load):
9053
* panel-menu-button.c: (panel_menu_button_load): set
9056
==================== 2.3.3.2 ====================
9058
2003-07-01 Mark McLoughlin <mark@skynet.ie>
9060
* panel-default-setup.entries: make the default panel's
9061
be 32 pixels wide instead of 24. Turns out we were
9062
unwittingly adding an extra 6 pixels before anyway so ...
9064
2003-07-01 Mark McLoughlin <mark@skynet.ie>
9066
* button-widget.[ch]:
9067
(button_widget_load_pixbuf_and_scale),
9068
(button_widget_reload_pixbuf), (button_widget_expose),
9069
(button_widget_size_request), (button_widget_size_allocate),
9070
(button_widget_instance_init): allow rectangular buttons and
9071
make the button fully occupy the panel height.
9073
* panel-frame.c: (panel_frame_size_request): only request
9074
room to draw bevels for the edges on which we are actually
9075
going to draw the bevels.
9078
(panel_toplevel_update_size): only request room to draw bevels
9079
for the edges on which we are actually going to draw the bevels.
9080
(panel_toplevel_size_request): don't chain up to GtkWindow's
9081
size_request, just ask the child for its requisition.
9083
* drawer.c: (load_drawer_applet):
9084
* launcher.c: (load_launcher_applet):
9085
* panel-menu-button.c: (panel_menu_button_load):
9086
* panel-action-button.c: (panel_action_button_load): set the
9089
2003-07-01 Mark McLoughlin <mark@skynet.ie>
9091
* button-widget.[ch]: remove the size property and args to
9092
the constructors. We weren't using it anywhere.
9094
* drawer.c: (create_drawer_applet):
9095
* launcher.c: (create_launcher): upd.
9097
2003-07-01 Mark McLoughlin <mark@skynet.ie>
9099
* panel-applet-frame.c: (panel_applet_frame_event_listener):
9102
Mon Jun 30 14:56:23 2003 George Lebl <jirka@5z.com>
9104
* panel-profile.[ch], panel-run-dialog.c: if we can't set the
9105
show_program_list thing, make the checkbox insensitive
9107
Mon Jun 30 14:17:22 2003 George Lebl <jirka@5z.com>
9109
* menu.c: only setup internal dragging of applets/objects if the
9110
relevant gconf lists are actually writable.
9112
* panel.c: on drop check if we can actually do the action requested,
9113
and if not run the gdk_drag_finish with FALSE for success. It
9114
would be nicer to just not allow the drop in the first place but
9115
this would likely have a performance hit unless we did lots of
9116
work on caching the writability info which is probably an overkill.
9118
Mon Jun 30 11:25:29 2003 George Lebl <jirka@5z.com>
9120
* applet.[ch], panel-applet-frame.c: add
9121
panel_applet_can_move_freely and panel_applet_lockable, which
9122
tests the writability of the keys needed for such actions.
9123
The bonobo applets now make use of this and the objects now
9124
also grey out respective menuitems.
9126
* panel-widget.c: Check for freely being movable before starting
9127
a move. (act as locked if we can't write any of the keys, needed
9130
* menu.c: the menu rightclick options now respect key-writability
9132
* launcher.[ch]: When we can't hoard a launcher (when the location
9133
key is non-writable), make the whole entry non-writable. Doesn't
9134
affect already hoarded launchers, but if you set the location to
9135
somewhere else and make it mandatory, that prevents the properties
9136
from coming up (since we couldn't edit it anyway).
9138
* panel-util.c: in the help showing code there was some error
9139
badness. Now only show the first error set if nothing succeeded,
9140
as not to have GError complain, and also clear error if a
9143
2003-06-30 Padraig O'Briain <padraig.obriain@sun.com>
9145
* menu.c (panel_make_sure_menu_within_screen): Omit call to
9146
our_gtk_menu_position as it is being called twice.
9148
Fri Jun 27 17:19:04 2003 George Lebl <jirka@5z.com>
9150
* applet.c: (panel_applet_save_position) Only set things which are
9151
different. This helps out if some of these are not writable,
9152
and some are. Though we should have a dirty flag to handle this.
9154
* menu.c, panel-profile.[ch]: Add panel_profile_list_is_writable
9155
to check writability of one of the lists, When the applets and
9156
the object lists are not writable don't allow removing or adding
9159
* panel-applet-frame.c: for bonobo applets check the keys
9160
related to moving/removing/locking and disable those commands
9161
if those are not possible. When applet dies and the user
9162
wants to not-reload it, but we can't write to the applets
9163
list, don't remove it, but don't reload it either.
9165
* panel-toplevel.c, panel-profile.[ch]: add
9166
panel_profile_can_be_moved_freely which checks a bunch of
9167
keys for a toplevel to be able to move with the cursor.
9168
We could do this more finegrained, but for now this should
9169
at least work right without gconf errors from mandatory
9172
Fri Jun 27 12:47:58 2003 George Lebl <jirka@5z.com>
9174
* panel-toplevel.c: if orientation is not writable, then don't allow
9175
moving as that would change orientation, same with size and
9176
resizing. So panels themselves should now be pretty much
9177
lockdownable by mandatory settings.
9179
Fri Jun 27 12:11:30 2003 George Lebl <jirka@5z.com>
9181
* panel-profile.[ch], panel-properties-dialog.(c|glade): Finish
9182
"key-writability", that is, if keys are not writable, then don't
9183
let the gui elements that change those keys be sensitive.
9185
Thu Jun 26 18:43:38 2003 George Lebl <jirka@5z.com>
9187
* panel-profile.[ch], panel-properties-dialog.c: key-writability
9188
changes for a few toggles. I think I got the properties setup of
9189
panel figured out now.
9191
Thu Jun 26 11:17:59 2003 George Lebl <jirka@5z.com>
9193
* gnome-panel-preferences.c: When keys become non-writable (when this
9194
changes), then also (de)sensitize things. And listen for the lock-down
9195
key changes (this key should be renamed and mentioned in a scheme
9198
* gnome-panel-preferences.c: If we can't load the .glade file, exit
9199
after displaying the error instead of crashing.
9201
Wed Jun 25 17:09:09 2003 George Lebl <jirka@5z.com>
9203
* gnome-panel-preferences.c: when a key is not writable make that gui
9204
element insensitive. Also don't compare bools with a '=' since
9205
that may not always work, so be anal and do the right thing.
9207
2003-06-24 Rajkumar Sivasamy <rajkumar.siva@wipro.com>
9209
* button-widget.c: Draw button-widget focus line with
9210
state GTK_STATE_NORMAL.
9213
2003-06-23 Mark McLoughlin <mark@skynet.ie>
9215
Fix #114962 by delaying reading the size hints and flags
9216
properties and by monitoring for changes on the property
9217
bag. Also remove the many synchronous reads on the property
9218
bag, which should speed up startup.
9220
* panel-applet-frame.c:
9221
(panel_applet_frame_set_flags_from_any),
9222
(panel_applet_frame_set_size_hints_from_any),
9223
(panel_applet_frame_init_properties): impl reading the
9224
properties and setting them on the PanelWidget.
9225
(panel_applet_frame_load): read the properties after
9226
adding to the PanelWidget.
9227
(panel_applet_frame_get_flags),
9228
(panel_applet_frame_update_expand_flags),
9229
(panel_applet_frame_get_size_hints): kill.
9230
(panel_applet_frame_change_orientation),
9231
(panel_applet_frame_change_size),
9232
(panel_applet_frame_change_background): use macros for
9234
(panel_applet_frame_paint): don't do a sync read on
9236
(panel_applet_frame_constrain_size): don't update the
9238
(panel_applet_frame_size_request),
9239
(panel_applet_frame_size_allocate),
9240
(panel_applet_frame_button_changed): no more sync reads.
9241
(panel_applet_frame_instance_init),
9242
(panel_applet_frame_event_listener),
9243
(panel_applet_frame_construct): monitor for changes on
9246
* panel-widget.[ch]:
9247
(panel_widget_size_request): don't read the size hints
9249
(panel_widget_set_applet_expandable): nomalize the bools.
9250
(panel_widget_set_applet_size_hints): implement.
9252
2003-06-19 Dennis Cranston <dennis_cranston at yahoo com>
9254
* launcher.c: (ask_about_launcher) Adjust padding
9255
and remove separator of the create launcher dialog.
9257
2003-06-19 Dennis Cranston <dennis_cranston at yahoo com>
9259
* panel-properties-dialog.glade: Minor HIG fixes
9262
2003-06-18 Dennis Cranston <dennis_cranston at yahoo com>
9264
* launcher.c: (create_properties_dialog) Adjust padding
9265
and remove separator of the launcher properties dialog.
9267
* panel-util.c: (panel_dialog) Remove the separator.
9269
2003-06-19 Mark McLoughlin <mark@skynet.ie>
9271
Remove panel help from launcher's context menus.
9274
* applet.c: (applet_callback_callback): don't
9277
* launcher.c: (load_launcher_applet): don't handle
9280
2003-06-18 Mark McLoughlin <mark@skynet.ie>
9282
* menu.c: (create_root_menu):
9283
* panel-menu-bar.c: (panel_menu_bar_append_actions_menu):
9284
s/Screenshot.../Take Screenshot.../ bug #98904.
9286
2003-06-17 Dennis Cranston <dennis_cranston at yahoo com>
9288
* gnome-panel-screenshot.glade: Adjust widget padding
9289
according to the HIG and fix mnemonic conflict.
9291
2003-06-12 Mark McLoughlin <mark@skynet.ie>
9293
* panel-background-monitor.c:
9294
(panel_background_monitor_tile_background): special case
9295
tiling a 1x1 pixmap to increase speed greatly.
9297
2003-06-12 Mark McLoughlin <mark@skynet.ie>
9299
* main.c (main): enable svgs on the icon theme. Fix for
9302
==================== 2.3.3.1 ====================
9304
2003-06-12 Mark McLoughlin <mark@skynet.ie>
9306
* Makefile.am: install panel-default-setup.entries into
9307
%{sysconfdir}/gconf/schemas for want of a better place.
9308
They need to be installed for packages post install
9311
2003-06-11 Mark McLoughlin <mark@skynet.ie>
9314
(panel_toplevel_attach_widget_destroyed): detach if the
9315
parent toplevel is destroyed.
9316
(panel_toplevel_disconnect_attached): guard against being
9318
(panel_toplevel_connect_attached)
9319
(panel_toplevel_attach_to_widget),
9320
(panel_toplevel_detach): move arrows reversal to here.
9321
(panel_toplevel_destroy): disconnect signals. Hopefully
9322
should fix crash in #113215.
9324
2003-06-11 Mark McLoughlin <mark@skynet.ie>
9326
Makes the minimum panel size relative to the font size.
9327
See bug #94026 and probably a few others.
9329
Also, with autohide panels, hide into the corner nearest
9330
the location where the mouse pointer left the panel.
9333
(panel_toplevel_construct_description): fix warning.
9334
(panel_toplevel_update_auto_hide_position): calculate the
9335
autohide position taking into account the last leave
9336
notify co-ordinates.
9337
(calculate_minimum_height), (panel_toplevel_update_size):
9338
Calculate the minimum panel size based on the font size.
9339
(panel_toplevel_enter_notify_event),
9340
(panel_toplevel_leave_notify_event),
9341
(panel_toplevel_instance_init): store the leave notify
9344
* panel-enums.h: move the orientation mask definitions to
9345
beside the orientation enum for clarity.
9347
2003-06-10 Mark McLoughlin <mark@skynet.ie>
9349
Re-order message construction throughout the panel so
9350
that Pango markup is not marked for translation. Patch
9351
from Thomas Benson <tbenson@cs.utk.edu> in #113433.
9353
* launcher.c: (launch_cb), (launcher_show_help):
9354
* menu-ditem.c: (ditem_properties_close),
9355
(really_add_new_menu_item):
9356
* menu.c: (about_gnome_cb), (activate_app_def), (remove_menuitem),
9357
(add_to_run_dialog), (show_help_on):
9358
* panel-run-dialog.c: (panel_run_dialog_launch_command),
9359
(panel_run_dialog_show_url):
9360
* panel-util.c: (panel_show_help), (panel_lock_screen):
9361
Don't translate pango markup.
9363
2003-06-06 Ray Strode <halfline@hawaii.rr.com>
9366
(panel_toplevel_update_description): Remove code that
9367
constructs description piecewise, and instead call
9368
panel_toplevel_construct_description to pull the description
9369
from a static array, which is better for i18n (Bug #113383).
9370
(panel_toplevel_construct_description): New helper function.
9372
==================== 2.3.3 ====================
9374
2003-06-05 Mark Finlay <sisob@eircom.net>
9376
* panel-stock-icons.c: Use gnome-logout as
9377
the logout icon. bug #114061
9379
2003-06-05 Ray Strode <halfline@hawaii.rr.com>
9381
* applet.c: (panel_applet_set_dnd_enabled):
9382
Add legacy object types to switch statement (bug #113961).
9384
2003-05-30 Ray Strode <halfline@hawaii.rr.com>
9386
* panel-profile.c: (panel_profile_copy_defaults_for_screen):
9387
Use g_strdup_printf instead of panel_gconf_sprintf. Fixes
9388
problem where schemas weren't always being associated with
9389
new toplevels (bug #113831).
9391
2003-05-29 Mark McLoughlin <mark@skynet.ie>
9393
* panel-toplevel.c: (panel_toplevel_class_init):
9394
s/miliseconds/milliseconds/. Actually do it this
9397
2003-05-27 Mark McLoughlin <mark@skynet.ie>
9399
* panel-widget.c: (panel_widget_reparent): if we can't
9400
find and empty spot, put it at the start. Fix for
9401
bug #11843 based on patch from Ray Strode.
9403
2003-05-27 Ray Strode <halfline@hawaii.rr.com>
9405
* panel-properties.c:
9406
(panel_properties_dialog_new): Add return statement.
9408
2003-05-26 Mark McLoughlin <mark@skynet.ie>
9410
When adding with the keyboard, try and find a free
9411
spot rather than sticking it at the start of the
9414
* applet.c: (panel_applet_register): don't set pos to 0.
9417
(panel_widget_find_empty_pos),
9418
(panel_widget_add): allow -1.
9420
* panel.c: (panel_popup_menu): set insertion_pos to
9421
-1 if the current event isn't a button press.
9423
2003-05-26 Mark McLoughlin <mark@skynet.ie>
9425
* launcher.c: (load_launcher_applet): get the args to
9426
panel_applet_register() the right way around so adding
9427
launchers works properly again.
9429
2003-05-26 Mark McLoughlin <mark@skynet.ie>
9431
* panel-menu-button.c: (panel_menu_button_parent_set):
9432
Chain up to the parent so ButtonWidget's overlay window gets
9435
2003-05-26 Mark McLoughlin <mark@skynet.ie>
9437
* panel-action-protocol.c: (panel_action_protocol_main_menu):
9438
Try to popup the applications menu or the main menu and only
9439
failing that popup a menu at the pointer location. bug #10733.
9441
* panel-menu-bar.[ch]:
9442
(panel_menu_bar_instance_init): deselect the menu item when
9443
the menu is hidden. Dunno why that needed the hack.
9444
(panel_menu_bar_popup_menu): impl.
9446
* panel-menu-button.[ch]:
9447
(panel_menu_button_popup_menu): make public.
9448
(panel_menu_button_get_use_menu_path): impl.
9450
* applet.[ch]: (panel_applet_get_by_type): impl finding the first
9451
applet of a given type.
9453
2003-05-26 Mark McLoughlin <mark@skynet.ie>
9455
* panel-properties-dialog.c: (panel_properties_dialog_update_name):
9456
don't g_free the return value of gconf_value_get_string.
9458
2003-05-26 Mark McLoughlin <mark@skynet.ie>
9460
Implement a "Lock" flag on applets so you can disable moving them
9461
about. Fixes bug #74997.
9463
* GNOME_Panel_Popup.xml: add a "Lock" menu item to the
9464
applets context menu.
9467
(panel_applet_set_dnd_enabled): enable/disable dnd depending
9468
on whether or not an applet is locked.
9469
(panel_applet_toggle_locked), (panel_applet_lock),
9470
(panel_applet_create_menu), (applet_show_menu): implement the
9472
(panel_applet_load_idle_handler),
9473
(panel_applet_queue_applet_to_load),
9474
(panel_applet_save_position): impl saving the flag to GConf.
9475
(panel_applet_register): pass the parcel.
9477
* panel-applet-frame.[ch]:
9478
(panel_applet_frame_sync_menu_state),
9479
(popup_handle_lock), (popup_handle_move): implement the "Lock"
9481
(panel_applet_frame_load),
9482
(panel_applet_frame_load_from_gconf),
9483
(panel_applet_frame_reload_response): pass the parcel.
9485
* panel-default-setup.entries: make all default applets locked.
9487
* panel-object.schemas.in: add the "locked" schema.
9489
* panel-profile.c: (panel_profile_load_object): read the locked
9493
(panel_g_list_insert_before),
9494
(panel_g_list_insert_after): impl.
9496
* panel-widget.[ch]:
9497
(panel_widget_cadd): add applets unlocked by default.
9498
(panel_widget_jump_applet_right),
9499
(panel_widget_switch_applet_right),
9500
(panel_widget_jump_applet_left),
9501
(panel_widget_switch_applet_left),
9502
(panel_widget_try_push_right),
9503
(panel_widget_get_right_jump_pos),
9504
(panel_widget_get_right_switch_pos),
9505
(panel_widget_try_push_left),
9506
(panel_widget_get_left_jump_pos),
9507
(panel_widget_get_left_switch_pos),
9508
(panel_widget_switch_move): modify the "switch mode" algorithm
9509
to take into account locked applets that might be allowed. Now
9510
its the "try switch, then jump, then push, then jump, then ..."
9512
(panel_widget_push_applet_right), (panel_widget_push_applet_left):
9513
allow pushing an arbitrary amount.
9514
(panel_widget_push_move): don't push locked applets.
9515
(panel_widget_applet_drag_start_no_grab),
9516
(panel_widget_applet_drag_start): you can't move locked applets
9518
(panel_widget_nice_move): call get_free_spot() and kill the silly
9520
(panel_widget_add): add locked flag.
9521
(panel_widget_reparent): when re-parenting look for the first free
9522
spot and queue a resize.
9523
(panel_widget_set_applet_locked),
9524
(panel_widget_get_applet_locked),
9525
(panel_widget_toggle_applet_locked): implement accessors.
9527
* drawer.[ch]: (create_drawer_applet), (load_drawer_applet),
9528
(drawer_load_from_gconf), (panel_drawer_set_dnd_enabled):
9529
Impl enabling/disabling dnd.
9531
* launcher.[ch]: (create_launcher), (load_launcher_applet),
9532
(launcher_load_from_gconf), (launcher_show_help),
9533
(panel_launcher_set_dnd_enabled): ditto.
9535
* panel-action-button.[ch]: (panel_action_button_get_property),
9536
(panel_action_button_set_property),
9537
(panel_action_button_class_init),
9538
(panel_action_button_instance_init), (panel_action_button_load),
9539
(panel_action_button_load_compatible),
9540
(panel_action_button_load_from_gconf),
9541
(panel_action_button_load_from_drag),
9542
(panel_action_button_set_dnd_enabled): ditto.
9544
* panel-menu-button.[ch]: (panel_menu_button_instance_init),
9545
(panel_menu_button_get_property), (panel_menu_button_set_property),
9546
(panel_menu_button_class_init), (panel_menu_button_load),
9547
(panel_menu_button_load_from_gconf),
9548
(panel_menu_button_change_orientation),
9549
(panel_menu_button_set_dnd_enabled): ditto.
9551
* panel-menu-bar.[ch]: (panel_menu_bar_load),
9552
(panel_menu_bar_load_from_gconf): pass the parcel.
9554
2003-05-26 Mark McLoughlin <mark@skynet.ie>
9556
* panel-util.[ch]: remove heaps and heaps of unused code.
9558
* gnome-desktop-item-edit.c: (main): use g_str_has_suffix and
9559
not our own home grown crack.
9561
* menu-ditem.c: (is_item_writable):
9562
* menu-fentry.c: (fr_fill_dir):
9563
* menu.c: (add_drawers_from_dir): ditto.
9567
2003-05-26 Ray Strode <halfline@hawaii.rr.com>
9569
* panel-properties-dialog.c:
9570
(panel_properties_dialog_setup_image_entry): Don't send NULL
9571
to gtk_entry_set_text.
9572
(panel_properties_dialog_update_name): Don't send NULL to
9573
gtk_entry_set_text and plug a leak.
9575
2003-05-26 Mark McLoughlin <mark@skynet.ie>
9577
* drawer.c: (create_drawer_applet): use the drawer stock
9578
icon rather than the filename.
9580
2003-05-26 Ray Strode <halfline@hawaii.rr.com>
9582
* panel-toplevel.schemas.in: fix typo.
9584
2003-05-26 Mark McLoughlin <mark@skynet.ie>
9586
* panel-xutils.c: (panel_xutils_set_strut): Use an array of
9587
longs not guint32s for a property change with format 32. Doh.
9588
Might well fix #113475.
9590
2003-05-26 Mark McLoughlin <mark@skynet.ie>
9592
* gnome-panel-screenshot.c: (main): save in ~/Desktop,
9593
not ~/.gnome-desktop.
9595
2003-05-26 Ray Strode <halfline@hawaii.rr.com>
9597
* panel-profile.c: (panel_profile_get_toplevel_orientation):
9598
Plug a leak I introduced when I fixed #112122 (Oops!).
9600
2003-05-25 Mark McLoughlin <mark@skynet.ie>
9602
Patch from Ray Strode in bug #113663 to fix weirdness when
9603
deleting panels and creating new ones.
9606
(panel_profile_queue_toplevel_location_change): fix typo.
9607
(panel_profile_delete_dir): stop monitoring the dir for
9610
2003-05-23 Mark McLoughlin <mark@skynet.ie>
9612
Patch from Ray Strode in bug #112122 to fix a crash with the
9613
panel properties dialog.
9615
* panel-profile.c: (panel_profile_get_toplevel_orientation):
9616
Check we didn't get a duff orientation from GConf.
9618
2003-05-22 Mark McLoughlin <mark@skynet.ie>
9620
* panel-run-dialog.c:
9621
(get_url_from_input): kill. Turns out this ended up
9622
in gnome-vfs. Thanks Frank :-)
9623
(panel_run_dialog_execute),
9624
(pixmap_drag_data_get):
9625
use gnome_vfs_make_uri_from_input_with_dirs.
9627
2003-05-21 Hidetoshi Tajima <hidetoshi.tajima@sun.com>
9629
* menu.c (create_root_menu): change "Run Application" to
9630
"Run Application... " in a menu bar (#112337)
9632
2003-05-21 Mark McLoughlin <mark@skynet.ie>
9634
More typos reported by Christian Rose.
9636
* panel-bindings.c: (panel_bindings_initialise):
9637
s/dir/directory/. Bug #113380.
9638
s/error/Error/. Bug #113381.
9640
* panel-general.schemas.in:
9641
s/Ids/IDs/. Bug #113382.
9643
2003-05-21 Mark McLoughlin <mark@skynet.ie>
9645
Fix a couple of typos reported by Christian Rose.
9647
* panel-toplevel.c: (panel_toplevel_class_init):
9648
s/miliseconds/milliseconds/. Bug #113406.
9650
* panel-toplevel.schemas.in: s/opactity/opacity/.
9653
2003-05-20 Arvind Samptur <arvind.samptur@wipro.com>
9655
* panel-applet-frame.c: (panel_applet_frame_set_panel):
9656
When moving applets between panels, update
9657
PanelAppletFrame->priv->panel.
9658
(panel_applet_frame_get_panel): Gets the PanelWidget
9659
for the PanelApplerFrame. Added it now, could be useful
9661
(panel_widget_reparent): If the applet is of type
9662
PANEL_OBJECT_BONOBO call panel_applet_frame_set_panel()
9665
2003-05-20 Dennis Cranston <dennis_cranston at yahoo com>
9667
* panel-run-dialog.glade: HIGify the dialog: adjust widget
9668
padding and remove separator. Fix regression of bug #98908,
9669
the application description should be left aligned.
9671
2003-05-20 Mark McLoughlin <mark@skynet.ie>
9673
* Makefile.am: fix srcdir != builddir.
9675
2003-05-20 Duarte Loreto <happyguy_pt@hotmail.com>
9677
* panel-toplevel.c: Fix typo (vertivcal).
9679
2003-05-19 Mark McLoughlin <mark@skynet.ie>
9681
* panel-run-dialog.[ch]:
9682
Random re-formatting foo and:
9683
(get_url_from_input): add from Frank's original libgnome
9684
patch. Seems it never got in.
9686
2003-05-19 Frank Worsley <fworsley@shaw.ca>
9688
* panel-run-dialog.c
9689
* panel-run-dialog.h
9690
* panel-run-dialog.glade
9691
the sweet new run program dialog
9694
added in the new files
9696
* menu.c: (add_to_run_dialog):
9697
* panel-action-button.c: (panel_action_run_program):
9698
* panel-action-protocol.c: (panel_action_protocol_run_dialog):
9699
moved to new run dialog function names
9701
* panel-util.c: (panel_get_unique_uri):
9702
copied from launcher.c, a function to get a unique uri
9703
for a given location and file suffix
9705
* launcher.c: (launcher_location), (panel_launcher_save_ditem):
9706
now uses new util function to get unique uri
9709
updated for new function
9712
don't include gnome-run.h
9714
2003-05-19 Mark McLoughlin <mark@skynet.ie>
9716
* gnome-run.c: (unset_selected): Remove bogus unsetting
9717
of the pixmap. Fixes jitterines while typing - patch from
9720
2003-05-16 Padraig O'Briain <padraig.obriain@sun.com>
9722
* gnome-panel-button (panel_menu_button_menu_popup_menu):
9723
Call gtk_menu_attach_to_widget() to attach menu to widget.
9724
Set "gtk-attached-menu" on button to the menu pending fix for
9725
bug #113112. This fixes bug #111573.
9727
2003-05-14 Hidetoshi Tajima <hidetoshi.tajima@sun.com>
9729
* gnome-panel-screenshot.c (main): convert filename to utf-8 when
9730
it is set to gtk entry (#111064).
9732
2003-05-13 Mark McLoughlin <mark@skynet.ie>
9734
* panel.c: (panel_delete_without_query): remove FIXME.
9736
2003-01-24 Mark McLoughlin <mark@skynet.ie>
9738
* Makefile.am: add panel-force-quit.[ch] to the build.
9740
* panel-force-quit.[ch]: impl a safer more GNOMEish version
9743
* menu.c: (create_button_menu): add the force quit button.
9745
* panel-action-button.[ch]: (panel_action_force_quit): ditto.
9747
* panel-stock-icons.[ch]: (panel_init_stock_icons_and_items):
9748
add the panel-force-quit stock icon.
9750
2003-05-13 Mark McLoughlin <mark@skynet.ie>
9752
* panel-toplevel.c: (panel_toplevel_update_attached_position),
9753
(panel_toplevel_update_normal_position),
9754
(panel_toplevel_update_auto_hide_position),
9755
(panel_toplevel_update_hidden_position), (get_delta),
9756
(panel_toplevel_update_animating_position),
9757
(panel_toplevel_update_position), (panel_toplevel_update_size),
9758
(panel_toplevel_animation_timeout),
9759
(panel_toplevel_start_animation), (panel_toplevel_instance_init):
9760
Add support for animated resizing and use it for drawers.
9762
2003-05-12 Mark McLoughlin <mark@skynet.ie>
9764
Fix loads of drawer bugs. Redo launcher hoarding. Don't
9765
save the absolute path of launchers.
9768
(panel_applet_clean): unlink the .desktop file for
9769
launchers and delete the toplevel for drawers.
9770
(free_applet_to_load),
9771
(panel_applet_load_idle_handler),
9772
(panel_applet_queue_applet_to_load), (panel_applet_compare):
9773
re-factor so as to defer looking up the toplevel associated
9774
with an object so that objects on drawers load successfully
9775
after the drawer toplevel is loaded.
9777
* button-widget.c: (button_widget_expose):
9778
s/gdk_pixbuf_render_to_drawable_alpha/gdk_draw_pixbuf/
9781
(destroy_drawer): detach from the toplevel.
9782
(create_drawer_toplevel): load_toplevel now returns the
9783
toplevel. Also s/attached_panel_id/attach_toplevel_id/
9784
(panel_drawer_delete): impl deleting the associated toplevel.
9785
(drawer_load_from_gconf): don't free the toplevel_id. load_toplevel()
9786
takes ownership of it.
9788
* gnome-panel-screenshot.c: (on_preview_expose_event):
9789
s/gdk_pixbuf_render_to_drawable_alpha/gdk_draw_pixbuf/
9791
* launcher.[ch]: fix launcher hoarding and don't save the
9792
absolute path of the .desktop file.
9794
* panel-profile.[ch]:
9795
(panel_profile_load_toplevel): return the toplevel and
9796
free the toplevel_id if we fail. Also, don't actually
9797
show the toplevel - drawers shouldn't be shown until
9798
the button is shown.
9799
(panel_profile_load_and_show_toplevel): impl wrapper
9800
which loads and shows the toplevel.
9801
(panel_profile_load_object): upd.
9802
(panel_profile_toplevel_id_list_notify), (panel_profile_load):
9803
use load_and_show().
9806
(panel_toplevel_update_attached_position): if the attached
9807
widget hasn't been allocated place the toplevel off-screen.
9808
(panel_toplevel_disconnect_attached): zero out the signal ids.
9809
(panel_toplevel_connect_attached): connect to the attached
9810
widget's hide/shown and hide/show the toplevel as appropriate.
9811
(panel_toplevel_attach_to_widget): update the hide buttons.
9813
* panel.c: (drop_internal_icon): create a copy of the .desktop
9814
file when dnd-ing launchers.
9816
2003-05-09 Mark McLoughlin <mark@skynet.ie>
9818
* install-defaults.sh: remove.
9820
* panel-default-setup.entries: add a gconf entries file
9821
to replace the install-defaults script.
9823
* Makefile.am: gconftool-2 --load panel-default-setup.entries.
9825
2003-05-09 Mark McLoughlin <mark@skynet.ie>
9827
Some fixes for migrating from 2.2.x.
9829
* panel-profile.[ch]:
9830
(panel_profile_prepare_object_with_id),
9831
(panel_profile_prepare_object): add an extra "right_stick"
9832
arg so we can set that if needs be.
9833
(panel_profile_load): migrate settings before monitoring
9834
for gconf changes so we don't get duplicate launchers and
9838
(panel_drawer_create): upd.
9839
(drawer_load_from_gconf): fix FIXME typo.
9841
* launcher.c: (panel_launcher_create):
9842
* panel-action-button.c: (panel_action_button_create):
9843
* panel-applet-frame.c: (panel_applet_frame_create):
9844
* panel-menu-bar.c: (panel_menu_bar_create):
9845
* panel-menu-button.c: (panel_menu_button_create):
9846
upd for prepare_object() change.
9848
* panel-compatibility.c:
9849
(panel_compatibility_migrate_menu_panel_settings): when migrating
9850
an edge panel, set it to expand. Make the window menu right
9851
stuck and add it to the "applets" list and not the "objects"
9853
(panel_compatibility_migrate_menu_button_settings): set the menu
9854
path with the menu's path not the icon path. Doh.
9856
2003-05-07 Miloslav Trmac <mitr@volny.cz>
9858
* panel-toplevel.schemas.in: Fixed some typos.
9860
* panel-general.schemas.in: Fixed pasto.
9862
2003-04-19 Arvind Samptur <arvind.samptur@wipro.com>
9863
* gnome-run.c : (update_contents) (show_run_dialog) :
9864
Grab the focus on the run dialog entry when none of
9865
the applications have been selected in the list.
9868
2003-04-16 Rajkumar Sivasamy <rajkumar.siva@wipro.com>
9870
* launcher.c: Place launcher's 'Create Launcher' dialog
9871
center on the screen.
9874
2003-04-15 Mark McLoughlin <mark@skynet.ie>
9876
* panel-menu-bar.c: (panel_menu_bar_load): make the menu
9877
bar expand to fill the panel so clicking on the screen
9878
edge activates the menu. Fixes #104134.
9880
2003-04-10 Dennis Cranston <dennis_cranston at yahoo.com>
9882
* gnome-run.c: UI review changes for bug #98908.
9883
- application description should be left aligned
9884
- s/Append File.../Run with File...
9885
- the entry at the top changes its dimension when the
9886
icon dimension changes.
9887
- s/Run Program.../Run Application...
9889
* menu.c, panel-action-button.c, panel-general.schemas.in,
9890
panel-menu-bar.c: UI review changes for bug #98908.
9891
- s/Run Program.../Run Application...
9893
2003-04-09 Mark McLoughlin <mark@skynet.ie>
9895
* panel.c: (panel_applet_added): don't unhide the panel
9896
when applets are added. Fixes panel unhiding on login,
9899
2003-04-09 Mark McLoughlin <mark@skynet.ie>
9901
Update the sensitivity of the image/color configuration
9902
widgets as appropriate to the selected background type.
9905
* panel-properties-dialog.c:
9906
(panel_properties_dialog_upd_sensitivity): impl. making
9907
the color/image configuration widgets insentive as
9909
(panel_properties_dialog_background_toggled),
9910
(panel_properties_dialog_setup_background_radios),
9911
(panel_properties_dialog_update_background_type): use it.
9912
Also remove all references to the transparency radio
9913
button. It doesn't exist anymore.
9915
* panel-properties-dialog.glade: name the containers of
9916
the image/color widgets sensibly so we can get a handle
9919
2003-04-09 Mark McLoughlin <mark@skynet.ie>
9921
* panel.c: (panel_key_press_event): only activate the
9922
binding if its Ctrl-F10. Fixes #109791, Shift-F10 was
9923
popping up the panel's context menu not the applet's
9926
2003-04-08 Mark McLoughlin <mark@skynet.ie>
9928
* panel-properties-dialog.glade: Commit patch from
9929
Luca Ferretti <elle.uca@libero.it> to make things a
9932
2003-04-04 Padraig O'Briain <padraig.obriain@sun.com>
9934
* gnome-run.c (browse_ok): Give focus to the entry field after a
9935
file has been appended using Append File. Fixes #86610.
9937
* drawer.c (key_press_drawer): Make left and right arrow keys move
9938
focus from drawer in horizontal panel to next item in panel. Up and
9939
down arrow keys move focus from open drawer into the drawer and have
9940
no effect for closed drawer. Similar behavior for vertical panels.
9943
2003-04-01 Mark McLoughlin <mark@skynet.ie>
9945
Fix long standing bug where size changes affected applet
9946
positions. E.g. make the panel bigger then smaller and
9947
there used to be gaps between all your launchers, changing
9948
the font size used to move the clock applet, adding an
9949
icon to the notification area and then removing it caused
9950
it to change position etc.
9952
* panel-widget.h: add another member to AppletData
9953
which tracks the actual position as it currently
9954
appears on the panel. AppletData:pos now corresponds
9955
to the user specified position as opposed to the
9956
constrained position.
9959
(emit_applet_moved): impl.
9960
(panel_widget_cremove): fixup.
9961
(panel_widget_is_applet_stuck): re-write for clarity.
9962
(get_size_from_hints): respect the min_cells hint here.
9963
(allocate_dirty_child): use the constrained applet position
9964
and don't do any actual moving.
9965
(panel_widget_switch_applet_right),
9966
(panel_widget_switch_applet_left),
9967
(panel_widget_get_right_switch_pos),
9968
(panel_widget_get_left_switch_pos), (panel_widget_switch_move),
9969
(push_applet_right), (push_applet_left), (panel_widget_push_move),
9970
(panel_widget_right_stick): use the constrained position when
9971
figuring out where to move things and emit the moved signal at
9972
when applets have been moved.
9973
(panel_widget_size_allocate): don't make size changes affect
9974
the user specified position. Also don't saze the constrained
9976
(panel_widget_applet_drag_start_no_grab), (walk_up_to),
9977
(is_in_applet), (panel_widget_get_free_spot): upd. to use the
9978
constrained position as appropriate.
9979
(panel_widget_nice_move): emit the moved signal.
9980
(panel_widget_applet_move_to_cursor),
9981
(panel_widget_add): use the constrained positionl.
9982
(panel_widget_reparent): emit the moved signal.
9984
2003-03-17 Alex Duggan <aldug@astrolinux.com>
9986
* panel-menu-bar.c: string change in run dialog. Fixes
9989
2003-03-14 Arvind Samptur <arvind.samptur@wipro.com>
9990
* menu.[ch]: (menu_dummy_button_press_event) :
9991
On a right click on a menuitem, stop the propogation
9992
of the button_press_event to the Menu Bar applet.
9993
(create_menuitem) : Use menu_dummy_button_press_event().
9995
* panel-menu-bar.c : (panel_menu_bar_append_action_item) :
9996
* panel-recent.c : (panel_recent_append_documents_menu) :
9997
Use menu_dummy_button_press_event().
10001
2003-03-14 Matthias Clasen <maclas@gmx.de>
10003
* main.c (main): Move session registration after profile loading
10004
to avoid setting an incomplete restart command.
10006
2003-03-11 Mark McLoughlin <mark@skynet.ie>
10008
* panel-background.c: (background_changed): don't unref
10009
the desktop pixbuf if its NULL. Might fix bug #108062.
10011
2003-03-10 Mark McLoughlin <mark@skynet.ie>
10014
(panel_profile_load_added_ids):
10015
(panel_profile_delete_removed_ids): both of these
10016
should return void. Thanks to Arvind for pointing
10019
2003-03-10 Mark McLoughlin <mark@skynet.ie>
10022
(button_widget_theme_changed): reload the icon when the
10023
icon theme changes.
10024
(load_pixbuf), split out from button_load_pixbuf().
10025
(button_load_pixbuf): try loading with the icon basename
10026
first and if that fails use the full path. This will ensure
10027
that launchers with absolute paths for icons will theme
10028
correctly, #106649.
10029
(button_widget_instance_init): connect to the icon theme's
10032
* launcher.[ch]: (free_launcher), (setup_button): remove handling
10033
the icon theme's "changed" signal here.
10035
2003-03-07 Arvind Samptur <arvind.samptur@wipro.com>
10036
* panel-toplevel.c : (panel_toplevel_realize) : Remove the
10037
panel window from the window group. Else the WM will stack
10038
all the child windows of the panel above all apps.
10040
* xstuff.c : (xstuff_set_no_group) Remove the part
10041
of disabling input.
10043
* panel-properties-dialog.c : (panel_properties_dialog_new):
10044
Revert the changes made on 2003-03-05 of setting the transient
10045
parent for the dialog. It's no longer required.
10049
2003-03-07 Mark McLoughlin <mark@skynet.ie>
10051
Fix #107775 - panel "forgets" it on the top and goes back
10054
* panel-toplevel.c: (panel_toplevel_update_expanded_position):
10055
Set toplevel->priv->x/y to the location the panel should be
10056
in when not hidden. These co-ordinates are not transient
10057
location of the panel.
10059
2003-03-07 Mark McLoughlin <mark@skynet.ie>
10061
* panel-profile.c: (panel_profile_add_to_list): fix bug with
10062
"New Panel". Another bug caused by my stupid "sprintf to
10063
static buffer" function.
10065
2003-03-06 Arvind Samptur <arvind.samptur@wipro.com>
10066
* panel-properties-dialog.c :
10067
(panel_properties_dialog_update_background_opacity) : When
10068
recalculating the percentage, cast it to double. Else you always
10069
land up with one value less because of integer division and
10070
that spins off the continuous scale setting. Fixes #107608
10071
Thanks to Satyajit for fighting this one.
10073
2003-03-06 Mark McLoughlin <mark@skynet.ie>
10075
* gnome-panel-screenshot.c: (nibble_on_file): destroy the dialog
10076
even if we are overwriting the file. Based on patch from Bala
10079
2003-03-06 Mark McLoughlin <mark@skynet.ie>
10081
* launcher.c: (setup_button): unescape the tooltip. Patch
10082
from Bala to fix #107669.
10084
2003-03-06 Mark McLoughlin <mark@skynet.ie>
10086
* panel-background.c: (free_composited_resources): another leak
10087
fix from Kjartan which never got committed to HEAD.
10089
2003-03-06 Mark McLoughlin <mark@skynet.ie>
10091
* menu.c: (Bonobo_ServerInfoList_equals), (recheck_applet_list):
10092
re-enable the re-loading of the applet menu. It crashes for
10093
some people but we need to fix that.
10095
2003-03-06 Mark McLoughlin <mark@skynet.ie>
10097
* gnome-run.c: (find_icon_timeout), (add_icon_idle),
10098
(selection_changed): fix leaks - patch from Kjartan Maraas.
10101
2003-03-05 Arvind Samptur <arvind.samptur@wipro.com>
10102
* panel-properties-dialog.c : (panel_properties_dialog_new) :
10103
Set the tranisent parent for the properties dialog.
10106
2003-03-05 Mark McLoughlin <mark@skynet.ie>
10108
* AUTHORS: remove - authors are listed in the toplevel
10111
* TODO, TODO.old, new-toplevel-todo: kill - everythings
10114
* panel-toplevel.c: kill TODO list.
10116
* panel.c: (panel_size_change): don't update the size
10117
int the properties dialog here.
10119
2003-03-05 Mark McLoughlin <mark@skynet.ie>
10121
* panel-global-config.schemas.in: remove - has been renamed.
10123
* panel-per-panel-config.schemas.in: removed - default setup
10124
now install by install-defaults.sh.
10126
2003-03-05 Mark McLoughlin <mark@skynet.ie>
10128
* gnome-panel-add-launcher.c: kill. Very old bit of
10131
2003-03-05 Mark McLoughlin <mark@skynet.ie>
10133
* Makefile.am, eggaccelerators.[ch]: re-instate
10134
eggaccelerators.[ch].
10136
* panel.c, panel_widget.c: remove the delete_dialog
10137
PanelWidget member and just use object data instead.
10138
Adapt the delete dialog code for PanelToplevel.
10140
* gnome-panel-screenshot.c: fix warning.
10142
2003-03-05 Mark McLoughlin <mark@skynet.ie>
10144
Implement migrating background settings and fix drawers.
10146
* new-toplevel-todo: upd.
10149
(create_drawer_toplevel): create the drawer toplevel using
10151
(load_drawer_applet): refactor a little.
10153
* panel-compatibility.c:
10154
(panel_compatibility_map_orient_string),
10155
(panel_compatibility_map_orientation_string),
10156
(panel_compatibility_map_edge_string),
10157
(panel_compatibility_map_panel_type_string),
10158
(panel_compatibility_map_panel_size_string): fix assertions.
10159
(panel_compatibility_map_background_type_string),
10160
(panel_compatibility_migrate_background_settings): implement.
10162
* panel-profile.[ch]:
10163
(panel_profile_map_background_type): impl.
10164
(panel_profile_get_toplevel_by_id): return if the id is an
10166
(panel_profile_set_background_type): upd.
10167
(panel_profile_add_to_list): don't create a new if if we're
10169
(panel_profile_load_toplevel): don't attempt to load if the
10170
id is an empty string.
10172
2003-03-04 Mark McLoughlin <mark@skynet.ie>
10174
Don't include drawer toplevels in the toplevel_id_list
10175
anymore. We just use the id from the drawer settings.
10176
This will prevent loading "orphaned" toplevels.
10179
(create_empty_drawer_applet): add FIXME.
10180
(drawer_load_from_gconf): load the drawer toplevel from
10183
* panel-applet-frame.c: (panel_applet_frame_load): kill bogus
10184
creation of new ids.
10186
* panel-compatibility.c:
10187
(panel_compatibility_migrate_panel_type): set a flag if the
10188
panel is a drawer panel.
10189
(panel_compatibility_migrate_panel_settings): upd.
10190
(panel_compatibility_migrate_panel_id_list): remove drawer
10191
panels from the panel_id_list - drawer toplevels aren't on
10192
the toplevel_id_list now.
10194
* panel-profile.[ch]:
10195
(panel_profile_find_new_id): make sure new ids are unique
10196
within the directories, not only the id_lists. Requires
10197
ix just committed to GConf.
10199
2003-03-04 Mark McLoughlin <mark@skynet.ie>
10201
* install-defaults.sh: install the config into /apps/panel
10202
instead of /apps/new_panel.
10204
* menu.c: (remove_panel_query): prompt the user for confirmation
10205
when deleting panels. Delete the panel through GConf rather than
10206
just destroying the widget.
10208
* new-toplevel-todo: upd.
10210
* panel-applet-frame.c: (panel_applet_frame_construct_moniker):
10211
s/new_panel/panel/.
10213
* panel-compatibility.c:
10214
(panel_compatibility_migrate_panel_settings): auto_hide setting
10215
is a bool not an int.
10217
* panel-gconf.h, panel-general.schemas.in, panel-object.schemas.in,
10218
panel-toplevel.schemas.in: s/new_panel/panel/.
10220
* panel-profile.c: (panel_profile_map_orientation_string),
10221
(panel_profile_map_speed_string),
10222
(panel_profile_map_background_type_string),
10223
(panel_profile_map_object_type_string): don't assert that the
10224
string argument is not NULL.
10225
(panel_profile_queue_toplevel_location_change),
10226
(panel_profile_toplevel_change_notify): kill debug.
10227
(panel_profile_delete_toplevel_objects): remove all the objects
10228
on the panel before deleteing it.
10229
(panel_profile_delete_toplevel): delete object.
10230
(panel_profile_load_toplevel): fix bogosity.
10232
2003-03-04 Mark McLoughlin <mark@skynet.ie>
10234
More or less finish of the compatibility code.
10236
* panel-compatibility.[ch]:
10237
(panel_compatibility_migrate_menu_panel_settings): mimic
10238
a menu panel by adding the menu bar and window menu applets
10239
to the configuration here rather than creating them after
10240
all other applets have been loaded.
10241
(panel_compatibility_migrate_panel_id): split out from
10242
migrate_panel_id_list().
10243
(panel_compatibility_migrate_drawer_settings),
10244
(panel_compatibility_migrate_menu_button_settings),
10245
(panel_compatibility_migrate_objects):impl
10246
(panel_compatibility_migrate_panel_id_list): upd.
10247
(panel_compatibility_warn),
10248
(panel_compatibility_load_menu_panel),
10249
(panel_compatibility_load_applets): kill.
10251
* panel-object.schemas.in: s/attached_panel_id/attached_toplevel_id/.
10253
* panel-profile.[ch]:
10254
(panel_profile_prepare_object_with_id): split out from prepare_object()
10255
so we can create applets for a toplevel that doesn't yet exist.
10256
(panel_profile_prepare_object): upd.
10258
* applet.c: (panel_applet_load_idle_handler): don't load menu
10259
panel applets from here.
10261
2003-03-03 Mark McLoughlin <mark@skynet.ie>
10263
* panel-compatibility.c:
10264
(panel_compatibility_migrate_edge_panel_settings),
10265
(panel_compatibility_migrate_drawer_panel_settings),
10266
(panel_compatibility_migrate_corner_panel_settings),
10267
(panel_compatibility_migrate_sliding_panel_settings),
10268
(panel_compatibility_migrate_floating_panel_settings),
10269
(panel_compatibility_migrate_menu_panel_settings): set whether
10270
or not the toplevel is expanded.
10271
(panel_compatibility_migrate_panel_settings): copy across the
10272
auto hide setting. I never even knew that the old setting was
10273
an enum stored as an int. Bork.
10274
(panel_compatibility_migrate_panel_ids): iterate across the
10275
objects list changing the panel_ids to new toplevel_ids.
10276
(panel_compatibility_migrate_panel_id_list): retain a map
10277
of our panel_id -> toplevel_id renaming and pass it into
10278
migrate_panel_ids().
10280
2003-03-03 Mark McLoughlin <mark@skynet.ie>
10282
* applet.c, drawer.c, install-defaults.sh,
10283
panel-object.schemas.in, panel-profile.c:
10284
s/panel_id/toplevel_id/ gconf setting for objects. Needed to
10285
rename the key as we rename the panels when migrating
10288
* panel-compatibility.[ch]:
10289
(panel_compatibility_migrate_panel_id_list): rename.
10291
2003-03-03 Mark McLoughlin <mark@skynet.ie>
10293
* panel-compatibility.[ch]:
10294
(panel_compatibility_map_orient_string),
10295
(panel_compatibility_map_orientation_string),
10296
(panel_compatibility_map_edge_string),
10297
(panel_compatibility_map_panel_type_string),
10298
(panel_compatibility_map_panel_size_string),
10299
(panel_compatibility_migrate_background_settings),
10300
(panel_compatibility_migrate_edge_panel_settings),
10301
(panel_compatibility_migrate_drawer_panel_settings),
10302
(panel_compatibility_migrate_corner_panel_settings),
10303
(panel_compatibility_migrate_sliding_panel_settings),
10304
(panel_compatibility_migrate_floating_panel_settings),
10305
(panel_compatibility_migrate_menu_panel_settings),
10306
(panel_compatibility_migrate_panel_types),
10307
(panel_compatibility_migrate_panel_settings),
10308
(panel_compatibility_load_panel_id_list): begin implementing
10309
backwards compat with the old settings format.
10311
* panel-profile.[ch]:
10312
(panel_profile_map_orientation): impl.
10313
(panel_profile_set_toplevel_orientation): upd.
10314
(panel_profile_load): load the old panel_id_list if toplevel_id_list
10317
* panel-toplevel.c: add a TODO item.
10319
2003-03-03 Mark McLoughlin <mark@skynet.ie>
10321
Only register the toplevel keybindings once, remove the toplevel
10322
pointer resizing feature, fix applets getting added to the panel
10323
in the wrong place and make toplevel bindings work when focus
10324
is on an out-of-proc applet.
10326
* panel-bindings.[ch]:
10327
(get_binding_set), (panel_binding_clear_entry),
10328
(panel_binding_set_entry), (panel_binding_changed),
10329
(panel_bindings_set_entries): set the bindings on PanelToplevel's
10330
GtkBindingSet once, rather than for each toplevel.
10332
* panel-toplevel.[ch]:
10333
(panel_toplevel_begin_grab_op): make the assert a normal condition.
10334
(panel_toplevel_handle_grab_op_motion_event): upd.
10335
(panel_toplevel_get_resize_op): kill.
10336
(panel_toplevel_button_press_event): kill the resize code.
10337
(panel_toplevel_update_cursor_for_resize): don't change the cursor
10338
at the edge of the panel.
10339
(panel_toplevel_motion_notify_event): kill the resize code.
10340
(panel_toplevel_class_init): set the bindings here.
10341
(panel_toplevel_instance_init): don't register the toplevel with
10343
(panel_toplevel_set_binding), (panel_toplevel_unset_binding): kill.
10346
(panel_popup_menu): retain the correct axis offset for object
10348
(panel_key_press_event): activate all keybindings when focus is
10349
on out-of-proc applets, not just the shift-F10 binding.
10351
2003-03-03 Mark McLoughlin <mark@skynet.ie>
10353
Fix bugs with yesterdays commit - it wasn't as broken as I
10357
(panel_profile_prepare_object): get the directory for applets
10359
(panel_profile_object_id_list_notify): split the objects list
10360
into a sublist of either applets or objects when searching for
10361
removed ids. Also load queued objects.
10363
* panel-toplevel.c: (panel_toplevel_begin_grab_op): don't warp
10364
the pointer if its a pointer based drag.
10366
* drawer.c: (panel_drawer_create):
10367
* launcher.c: (panel_launcher_create):
10368
* panel-action-button.c: (panel_action_button_create):
10369
* panel-applet-frame.c: (panel_applet_frame_create):
10370
* panel-menu-bar.c: (panel_menu_bar_create):
10371
* panel-menu-button.c: (panel_menu_button_create): the first
10372
arg for panel_profile_prepare_object() is PanelObjectType not
10375
2003-03-02 Mark McLoughlin <mark@skynet.ie>
10377
Pretty broken patch - just a safety sync. Makes the panel object
10378
gconf code a lot more sane and also share code with (and behave
10379
similarily to) the toplevel code.
10381
* new-toplevel-todo: update
10383
* Makefile.am: don't gen enums from panel-widget.h,
10384
panel-action-button.h and panel-toplevel.h.
10387
(panel_applet_clean_gconf): kill.
10388
(panel_applet_clean): do not do any gconf related stuff here.
10389
(applet_idle_remove): kill the remove in idle stuff.
10390
(applet_remove_callback): delete the object via gconf.
10391
(applet_callback_callback), (applet_do_popup_menu),
10392
(panel_applet_destroy), (panel_applet_load_idle_handler): various
10394
(panel_applet_queue_applet_to_load): split out the code that
10395
reads the object's config into panel-profile.o
10396
(panel_applet_load_queued_applets): rename and remove the gconf
10398
(panel_applet_save_position): upd.
10399
(panel_applet_get_id), (panel_applet_get_by_id),
10400
(panel_applet_list_applets): impl so we don't have to use global
10401
variables and poke in structures everywhere.
10402
(panel_applet_register): kill the applet count/id thing - unused.
10405
(properties_apply_callback): disable saving change for now.
10406
(drag_data_get_cb): upd.
10407
(load_drawer_applet): make static, don't return anything.
10408
(panel_drawer_create): new function for creating new drawers.
10410
* gnome-desktop-item-edit.c: (panel_applet_list_applets): hack
10411
so that this thing links.
10414
(panel_launcher_save_ditem): split out from launcher_save() so we
10415
can save a ditem before loading a launcher.
10416
(free_launcher): upd.
10417
(create_launcher): don't allow a ditem to be passed in.
10418
(properties_apply): disable saving prefs changes for now.
10419
(load_launcher_applet): don't return anything, kill _full() variant.
10420
(launcher_load_from_gconf): don't hoard all launchers - may want to
10421
change this back again, we'll see.
10422
(really_add_launcher): save the ditem before creating the launcher.
10423
(panel_launcher_create_from_info), (panel_launcher_create): new
10424
functions for creating a new launcher object.
10425
(launcher_save), (find_launcher): upd.
10427
* main.c: kill the applets global list - its static in applet.c now.
10429
* menu.c: (add_app_to_panel), (add_drawers_from_dir),
10430
(add_menu_to_panel), (add_drawer_to_panel),
10431
(add_action_button_to_panel), (add_menu_bar_to_panel),
10432
(add_launcher), (add_bonobo_applet): use the new object creation
10433
functions instead of the old loading ones.
10434
(remove_panel_accept): delete the object via gconf.
10436
* panel-action-button.[ch]:
10437
(panel_action_button_load): don't return anything.
10438
(panel_action_button_create): new function for creating new action
10440
(panel_action_button_load_compatible): impl.
10441
(panel_action_button_load_from_gconf): don't return anything.
10442
(panel_actoin_button_save_to_gconf): kill.
10443
(panel_action_button_load_from_drag): upd.
10445
* panel-applet-frame.[ch]:
10446
(popup_handle_remove): delete the applet via gconf.
10447
(panel_applet_frame_load): make static, don't return anything.
10448
(panel_applet_frame_create): implement.
10449
(panel_applet_frame_reload_response),
10450
(panel_applet_frame_loading_failed): update.
10452
* panel-compatibility.c: (panel_compatibility_load_applets): use
10453
new applet creation functions.
10455
* panel-enums.h: move some enums into here.
10457
* panel-gconf.[ch]: (panel_gconf_key_type_to_id_list): impl.
10459
* panel-globals.h: kill the applets list.
10461
* panel-menu-bar.[ch]:
10462
(panel_menu_bar_load): make static, don't return anything.
10463
(panel_menu_bar_create): implement.
10465
* panel-menu-button.[ch]: ditto.
10467
* panel-profile.[ch]:
10468
(panel_profile_map_object_type_string): impl object type mapping
10470
(panel_profile_add_to_list), (panel_profile_remove_from_list),
10471
(panel_profile_create_toplevel), (panel_profile_delete_toplevel),
10472
(panel_profile_destroy_toplevel), (panel_profile_prepare_object),
10473
(panel_profile_delete_object), (panel_profile_load_object),
10474
(panel_profile_destroy_object), (panel_profile_delete_dir),
10475
(panel_profile_object_exists), (panel_profile_id_exists),
10476
(panel_profile_load_added_ids), (panel_profile_delete_removed_ids),
10477
(panel_profile_toplevel_id_list_notify),
10478
(panel_profile_object_id_list_notify), (panel_profile_load_list),
10479
(panel_profile_copy_default_objects_for_screen): move all the
10480
applets loading code into here, merge it with the toplevel loading
10481
and notification handling code ... make it all perfect :)
10483
* panel-toplevel.c: (panel_toplevel_update_attach_orientation),
10484
(panel_toplevel_attach_widget_parent_set): move some code around
10487
* panel-util.c: (panel_find_applet_index): rename.
10489
* panel.[ch]: (orientation_change), (size_change), (back_change),
10490
(panel_applet_removed), (panel_remove_applets), (drop_url),
10491
(drop_menu), (drop_nautilus_uri), (drop_directory), (drop_urilist),
10492
(drop_internal_icon), (move_applet), (drop_internal_applet),
10493
(panel_receive_dnd_data), (panel_screen_from_panel_widget): various
10494
update for the changes above.
10496
2003-02-28 Mark McLoughlin <mark@skynet.ie>
10498
* panel-profile.c: (panel_profile_copy_defaults): rename from
10499
panel_configuration_copy_defaults.
10500
(panel_profile_copy_defaults_for_screen),
10501
(panel_profile_append_new_ids),
10502
(panel_profile_load_defaults_on_screen),
10503
(panel_profile_ensure_toplevel_per_screen),
10504
(panel_profile_load): implement loading the default toplevels
10505
on the non-default screens on multiscreen setups.
10507
2003-02-27 Mark McLoughlin <mark@skynet.ie>
10509
Allow drawers to be moved by moving the toplevel.
10511
* new-toplevel-todo: upd.
10513
(panel_applet_frame_button_changed): use the event time.
10514
* panel-widget.[ch]: (panel_widget_applet_drag_start): accept the
10515
event time as an argument.
10516
(panel_widget_applet_move_to_cursor): pass in CurrentTime
10517
(panel_widget_applet_event): use the event time.
10519
* panel-toplevel.c:
10520
(panel_toplevel_begin_attached_move): when attached, move by
10521
initiating a move on the drawer button.
10522
(panel_toplevel_begin_grab_op): use it here.
10523
(panel_toplevel_update_buttons_showing): shuffle.
10524
(panel_toplevel_attach_widget_parent_set): impl handling
10525
when the drawer button is moved to another panel.
10526
(panel_toplevel_connect_attached): hook it up.
10528
* applet.c: (move_applet_callback): use CurrentTime for
10531
* panel-applet-frame.c: (popup_handle_move), use CurrentTime.
10533
2003-02-27 Mark McLoughlin <mark@skynet.ie>
10535
Don't draw a bevel around the panel when we've got a color
10536
or image background.
10538
* new-toplevel-todo: upd.
10540
* panel-background.[ch]: (panel_background_prepare): split out
10541
figuring out what type of background we're rendering to
10542
(panel_background_effective_type): here.
10544
* panel-profile.c: (panel_profile_background_change_notify):
10545
update the toplevel edges.
10547
* panel-toplevel.c: (panel_toplevel_update_edges): don't draw
10548
any edges if we've got a color or image background.
10550
2003-02-27 Mark McLoughlin <mark@skynet.ie>
10552
* new-toplevel-todo: add todo list of what needs to be done
10553
before merging back to HEAD.
10555
2003-02-27 Mark McLoughlin <mark@skynet.ie>
10557
* Makefile.am: kill global-keys.[ch]
10559
* throughout: use panel_gconf_get_client() - gconf_client_get_default
10560
isn't a lightweight accessor.
10562
* panel-config-global.[ch]:
10563
(panel_global_config_get_highlight_when_over),
10564
(panel_global_config_get_enable_animations),
10565
(panel_global_config_get_drawer_auto_close),
10566
(panel_global_config_get_tooltips_enabled),
10567
(panel_global_config_get_confirm_panel_remove): impl these accessors so
10568
we don't have to use a global variable.
10569
(panel_global_config_set_entry): actually directly handle changes so we can
10570
kill panel_apply_global_config() - also make the function statis.
10571
(panel_global_config_notify): make static.
10572
(panel_global_config_load): move initialisation from main() to here.
10574
* panel-session.[ch]:
10575
(panel_session_request_logout): don't require passing in a client.
10576
(panel_session_handle_die_request): make static.
10577
(panel_session_init): move initialisation here from main ().
10579
* button-widget.c: (button_widget_expose),
10580
(button_widget_leave_notify): upd for global_config changes.
10583
(load_drawer_applet): add the drawer button to the parent toplevel,
10584
not the drawer toplevel - oops :-)
10586
* launcher.c: (launch_cb): upd for global_config changes.
10588
* main.c: (main): upd for global_config and session changes.
10590
* menu.c: (drag_end_menu_cb),
10591
(remove_panel_query), (setup_remove_this_panel): global_config changes.
10592
(make_panel_submenu): remove the "Toplevel testing" menu.
10594
* panel-action-button.c:
10595
(panel_action_logout),
10596
(panel_action_button_clicked): upd for global_config and session changes.
10599
(panel_gconf_all_global_entries), (panel_gconf_get_int),
10600
(panel_gconf_get_string), (panel_gconf_get_bool),
10601
(panel_gconf_set_int), (panel_gconf_set_string),
10602
(panel_gconf_set_bool): kill cruft.
10604
* panel-globals.h: kill global_config.
10607
(panel_profile_set_queued_changes),
10608
(panel_profile_set_commit_timeout): take a toplevel as the first
10609
arg rather than a GObject.
10611
* panel-util.[ch]: kill accelerator parsing code.
10614
(panel_destroy): don't kill the properties dialog here - it gets
10615
destroyed automagically when the toplevel is destroyed.
10616
(panel_load_global_config): move to panel-config-global.c
10617
(panel_save_global_config): wtf ? we never change the global
10618
configuration anywhere in the panel - why on earth were we saving
10621
* xstuff.[ch]: kill xstuff_init.
10623
2003-02-25 Mark McLoughlin <mark@skynet.ie>
10625
* applet.c: (panel_applet_register): disable the initial
10626
applet background change for now.
10628
* panel-background.[ch]: re-work this substantially so we
10629
can change individual elements of the background configuration
10630
seperately. Also remove the "loading" phase.
10632
* panel-gconf.[c]: (panel_gconf_dirname): impl.
10634
* panel-profile.[ch]: implement support for the background
10637
* panel-properties-dialog.c: add an initial implementation of
10638
the background page of the dialog. Still needs a bit of fixage
10639
but its mostly done.
10641
* panel-properties-dialog.glade: re-work the background page,
10642
ripping of gnome-terminal's background page.
10644
* panel-widget.[ch]: (panel_widget_class_init): kill the "back_change"
10646
(panel_widget_size_allocate): kill the "inhibit_draw" stuff. Unused.
10647
(panel_widget_set_back_pixmap), (panel_widget_set_back_color): kill.
10648
(panel_widget_new): remove all 6 background related arguments from
10650
(panel_widget_change_params): kill. Wohoo.
10651
(panel_widget_set_orientation),
10652
(panel_widget_set_size): don't use panel_widget_change_params. Do
10653
each change individually.
10655
* panel-toplevel.c: (panel_toplevel_setup_widgets): update for
10656
panel-widget changes.
10659
(panel_applet_added): disable the background change stuff for the
10661
(set_background_image_from_uri),
10662
(set_background_color): impl these a bit more sanely.
10663
(drop_urilist), (panel_receive_dnd_data): upd.
10665
2003-02-21 Mark McLoughlin <mark@skynet.ie>
10667
* panel-config.c, panel-config.h: kill.
10669
* panel-properties-dialog.[ch], panel-properties-dialog.glade:
10670
first cut at a new properties dialog. The background settings
10671
haven't been implemented yet.
10673
* panel-profile.[ch]: (panel_profile_map_orientation_string),
10674
(panel_profile_map_speed_string),
10675
(panel_profile_map_background_type_string): impl helpers for
10677
(panel_profile_set_toplevel_name),
10678
(panel_profile_get_toplevel_name),
10679
(panel_profile_set_toplevel_orientation),
10680
(panel_profile_get_toplevel_orientation), (get_background_type),
10681
(set_orientation_from_string), (set_animation_speed_from_string):
10682
Impl reading/writing various toplevel properties through gconf.
10683
(panel_profile_toplevel_notify_add): helper for adding a notify
10685
(panel_profile_load_toplevel): use it.
10687
* Makefile.am: build panel-properties-dialog.[ch] instead of
10688
panel-config.[ch] and install panel-properties-dialog.glade.
10690
* applet.c, drawer.h: don't include panel-config.h.
10692
* menu.c: (create_toplevel_testing_menu), (make_panel_submenu):
10693
kill the "Toggle Animations" item and add back the properties
10696
* panel-applet-frame.c: (panel_applet_frame_get_size_string):
10699
* panel-background.h: include panel-enums.h.
10701
* panel-types.h: move PanelBackground Type to panel-enums.h.
10703
* panel-toplevel.[ch]:
10704
(panel_toplevel_setup_widgets): upd.
10705
(panel_toplevel_get_description): impl.
10707
* panel-widget.[ch]: (panel_widget_class_init), kill the orient-changed
10708
signal - we use the toplevel's orientation now.
10709
(panel_widget_finalize), (panel_widget_instance_init),
10710
(panel_widget_new), (panel_widget_change_params): kill the panel_id
10711
stuff from this widget - the panel id is associated with the toplevel
10714
* panel.c: (panel_data_by_id): kill.
10716
2003-02-20 Mark McLoughlin <mark@skynet.ie>
10718
Some fairly extensive, but random, hacking - got the applets
10719
gconf code going again, re-implemented the menu applet ...
10721
* Makefile.am: remove session.[ch] and panel-main.h. Add
10722
panel-menu-button.[ch], panel-session.[ch] and panel-globals.h.
10724
* install-defaults.sh: add the default applets.
10726
* applet.[ch]: re-enable the old applets loading/saving code
10727
with various fixes.
10729
* panel-menu-button.[ch]: re-implement the menu applet a bit
10732
* panel-session.[ch]: new files - basically session.[ch] minus
10733
all the old config syncing crap.
10735
* panel-globals.h: lets keep track of all the globals in the
10736
one place. 'Course, preferably they shouldn't exist.
10738
* button-widget.c: include panel-globals.h.
10741
(create_empty_drawer_applet): take a toplevel for the parent
10742
panel rather than a PanelWidget.
10743
(load_drawer_applet): re-factor this.
10744
(drawer_save_to_gconf),
10745
(drawer_load_from_gconf): impl support for the new schemas.
10747
* global-keys.c: include panel-globals.h.
10749
* gnome-run.c: ditto.
10751
* launcher.[ch]: re-enable the gconf code. Fixup a fair bit of stuff.
10753
* main.c: (main): remove the menu aging crap, define all globals
10754
here and don't bother connecting to "save-yourself".
10756
* menu-fentry.c: include panel-globals.h.
10758
* menu-util.[ch]: (get_real_menu_path), (get_pixmap): kill.
10760
* menu.[ch]: (add_drawers_from_dir): upd.
10761
remove the menu applet code.
10763
* panel-action-button.c: re-enable and fixup the gconf code.
10765
* panel-applet-frame.[ch]: ditto.
10767
* panel-compatibility.c: include panel-globals.h.
10769
* panel-config-global.[ch]: (panel_global_config_set_entry): dump
10770
the "keep_menus_in_memory" key.
10772
* panel-global-config.schemas.in, panel-config.c: ditto.
10774
* panel-enums.h: move the PanelGConfKeyType enum to here.
10776
* panel-gconf.h: move the various base dir definitions to here.
10778
* panel-gconf.c: (panel_gconf_general_key), (panel_gconf_full_key):
10781
* panel-profile.[ch]:
10782
(panel_profile_get_toplevel_by_id): impl locating a toplevel by its id.
10783
(panel_profile_find_new_id): impl finding a sane key for new panels/
10784
objects instead of using gconf_unique_key().
10785
(panel_profile_get_toplevel_key),
10786
(panel_profile_load_toplevel), (panel_profile_delete_toplevel_dir),
10787
(panel_profile_create_added_toplevels),
10788
(panel_profile_create_toplevel), (panel_profile_delete_toplevel),
10789
(panel_configuration_copy_defaults): upd.
10790
(panel_profile_load): load applets.
10791
(get_program_listing_setting),
10792
(panel_profile_set_show_program_list): fix brokeness.
10794
* panel-stock-icons.c: include panel-globals.h.
10796
* panel-toplevel.[ch]: (panel_toplevel_is_last_unattached): impl.
10797
finding out is a given panel the last non-drawer one - i.e. can
10798
whether or not we delete it.
10800
* panel-util.c, panel-widget.c: include panel-globals.h
10802
* panel.[ch]: killall the gconf code and update for the varius
10805
2003-02-18 Mark McLoughlin <mark@skynet.ie>
10807
* panel-object.schemas.in: fix some typos. Thanks G.
10809
2003-02-18 Mark McLoughlin <mark@skynet.ie>
10811
* panel-object.schemas.in: add a set of schemas for
10812
applets/launchers etc. Wow, I'd forgotten how big a mess
10815
* panel-compatibility.c: list where the new schemas are
10816
incompatible from the old keys.
10818
* Makefile.am: build and install panel-object.schemas.
10820
2003-02-18 Mark McLoughlin <mark@skynet.ie>
10822
* menu.c: (create_new_panel), (remove_panel_accept):
10823
use panel_profile_(create|delete)_toplevel().
10825
* panel-gconf.c: (panel_gconf_clean_dir): also unassociate
10828
* panel-profile.[ch]:
10829
(panel_profile_load_toplevel): if the toplevel doesn't exist,
10830
setup the directory.
10831
(panel_profile_delete_toplevel_dir), (panel_profile_id_exists),
10832
(panel_profile_create_added_toplevels),
10833
(panel_profile_toplevel_exists),
10834
(panel_profile_delete_removed_toplevels),
10835
(panel_profile_toplevel_id_list_notify),
10836
(panel_profile_load_toplevel_list): Impl creating and deleting
10837
toplevels as the toplevel_id_list is modified.
10838
(panel_profile_find_new_id),
10839
(panel_profile_create_toplevel), (panel_profile_delete_toplevel):
10840
create and delete toplevels by modifying the toplevel_id_list.
10841
(panel_profile_load): add the "general" dir for notifications.
10843
* panel-toplevel.[ch]: (panel_toplevel_list_toplevels),
10844
(panel_toplevel_finalize), (panel_toplevel_instance_init):
10845
Impl. keeping a track of a list of all toplevels.
10847
2003-02-14 Mark McLoughlin <mark@skynet.ie>
10849
* Makefile.am: make the binary gnome-new-panel for the
10850
moment. Build panel-profile.[ch] and use install-defaults.sh
10851
to install the default setup.
10853
* panel-profile.[ch]: start of the new GConf implementation. Loading
10854
toplevels, changing toplevels configuration, responding to changes in
10855
toplevels setttings work. Need to impl support for applets, objects and
10856
the panel background.
10858
* panel-toplevel.c:
10859
(panel_toplevel_move_resize_window): split this out from size_request.
10860
(panel_toplevel_realize): use it here.
10861
(panel_toplevel_size_request): upd.
10862
(panel_toplevel_button_press_event): initialise the grab offsets from
10863
the event rather than the current pointer location.
10865
* install-defaults.sh: gconftool script to install the default
10866
panel setup. Will be replaced by a gconftool-2 --load < defaults.xml
10867
thing when I get a chance.
10869
* panel-toplevel.schemas.in: change where these are installed and
10870
also split out the opacity from the background color the way it was
10873
* panel-global.schemas.in: rename from panel-global-config.schemas.in.
10875
* panel-general.schemas.in: add.
10877
* panel-gconf.[ch]:
10878
(panel_gconf_get_profile): kill.
10879
(panel_gconf_basename): basically g_basename(), but hardcodes
10880
"/" instead of G_DIR_SEPERATOR.
10881
(panel_gconf_copy_dir): impl copying a directory full of entries.
10882
(panel_gconf_associate_schemas_in_dir): don't use GError.
10883
(panel_gconf_setup_profile): kill.
10884
(panel_gconf_load_default_config_for_screen): don't use GError.
10886
* main.c: (main): use panel_profile_load() instead of session_load().
10888
* panel.c: (panel_load_panels_from_gconf): kill.
10890
* session.[ch]: (panel_session_set_restart_command): upd.
10891
(session_load): kill.
10893
* menu.c: (init_menus): um, don't read all the .desktop files for
10894
applets on startup - um ... .desktop files for applets ? I think
10895
we might have missed some thing while porting :-)
10896
(toggle_expand), (toggle_auto_hide),
10897
(toggle_animations), (toggle_buttons), (toggle_arrows): make
10898
all these changes through GConf instead of to the widget directly.
10900
* gnome-run.c: (sync_entry_to_list), (toggle_contents),
10901
(create_disclosure_widget), (create_simple_contents),
10902
(update_contents), (show_run_dialog): use
10903
panel_profile_get_(show|enable)_program_list().
10905
* panel-applet-frame.c: (panel_applet_frame_construct_moniker): the
10906
configuration is stored in /apps/new_panel temporarily while this stuff
10907
is being worked on.
10909
* panel-bindings.c: (panel_bindings_register_toplevel): actually set
10910
initialise to TRUE. Pointed out by Arvind ... dunno why he didn't
10913
* applet.c, drawer.c, launcher.c, panel-action-button.c: disable
10914
more gconf related stuff.
10916
2003-02-07 Mark McLoughlin <mark@skynet.ie>
10918
* panel-toplevel.schemas.in: add some schemas.
10920
* panel-toplevel.c: change the default hide/unhide delays/
10922
2003-02-06 Mark McLoughlin <mark@skynet.ie>
10924
* panel-toplevel.c: implement keybindings for move/resize
10925
etc. Merge with the pointer move/resize code. Fix many
10928
* panel-bindings.c: (panel_bindings_initialise): kill debug.
10930
* panel-frame.c: (panel_frame_size_request): always request
10931
enough room to draw the frame on all edges so we don't get
10932
weird resizing glitches.
10934
* panel-xutils.[ch]: (panel_warp_pointer): impl.
10936
2003-01-31 Mark McLoughlin <mark@skynet.ie>
10938
* Makefile.am: add panel-bindings.[ch].
10940
* panel-bindings.[ch]: read and monitor metacity's
10941
window binding preferences to use for keybindings
10942
on the toplevel. But metacity grabs these keys even
10943
on DOCK windows, so hmm ...
10945
* panel-toplevel.[ch]:
10946
(panel_toplevel_toggle_expand), (panel_toplevel_expand),
10947
(panel_toplevel_unexpand), (panel_toplevel_toggle_hidden),
10948
(panel_toplevel_begin_move), (panel_toplevel_begin_resize):
10949
Add stubs for the keybindings. Don't implement until I figure
10950
what to do about the metacity problem.
10951
(panel_toplevel_class_init): add signals for all these bindings.
10952
(panel_toplevel_instance_init): load the bindings.
10953
(panel_toplevel_set_binding), (panel_toplevel_unset_binding):
10954
methods to set/unset the binding - use by panel-bindings.c.
10956
2003-01-31 Mark McLoughlin <mark@skynet.ie>
10958
Make drawers work more or less and implement resizing the
10959
panel using the pointer.
10961
* button-widget.c: (draw_arrow): hmm, I think the semantics
10962
of the orientation has been reversed. Fix this bug, but there
10966
(create_empty_drawer_applet): actually create the toplevel.
10967
(set_drawer_applet_orientation): don't set the toplevel
10970
* panel-toplevel.c:
10971
(panel_toplevel_update_buttons_showing): if this is a drawer,
10972
then hide one of the buttons.
10973
(panel_toplevel_update_attached_position): snap to the edge
10974
of the attach toplevel, not the attach widget.
10975
(panel_toplevel_reverse_arrow), (panel_toplevel_reverse_arrows),
10976
(panel_toplevel_disconnect_attached),
10977
(panel_toplevel_connect_attached): reverse the arrows on the
10978
buttons when attached.
10979
(panel_toplevel_get_resize_edge): function to get the edge, if
10980
any, which we would resize on from this position.
10981
(panel_toplevel_edge_to_cursor): return the resize cursor type
10983
(panel_toplevel_button_press_event): if we're within a few pixels
10984
from the panel edge start a resize drag.
10985
(panel_toplevel_button_release_event): unset all drag flags.
10986
(panel_toplevel_update_cursor_for_resize): set the resize cursor.
10987
(panel_toplevel_resize_to_pointer): resize based on pointer
10989
(panel_toplevel_motion_notify_event): handle resizing and setting
10990
the resize cursor from here.
10991
(panel_toplevel_set_size): don't try and maintain the current
10992
position on a resize here. We do that in resize_to_pointer().
10995
(panel_widget_setup): don't connect to the PanelWidget orientation
10996
change signal - that only notifies of changes between horiz/vert.
10997
(panel_setup): connect to notify::orientation on the toplevel
11000
2003-01-29 Mark McLoughlin <mark@skynet.ie>
11002
Replace BasePWidget and co. with a single widget written
11003
from scratch. Basically, this means there are is no
11004
such thing as panel types any more - you can easily
11005
swicth between what was an edge panel to what was a
11006
corner/floating/sliding panel. Switching between corner/
11007
floating/sliding is just a matter of moving the panel.
11009
Some other improvements in the widget like auto hiding
11010
into corners, stock gtk arrows for the hide buttons,
11011
no shadow at the screen edge, simpler (and hopefully
11012
smoother) animations.
11014
This patch isn't finished. Loading/saving Configuration
11015
doesn't work, drawers don't work (implemented but crashing),
11016
propert keynav for the widget has to be implemented etc.
11017
See the TODO in panel-toplevel.c
11019
* Makefile.am: remove loads of files, add a good few
11020
files. Generate enums from panel-enums.h. Only ever
11021
generate enum types, not flags types.
11023
* aligned-widget.[ch], basep-widget.[ch], border-widget.[ch],
11024
drawer-widget.[ch], edge-widget.[ch], floating-widget.[ch],
11025
sliding-widget.[ch]: remove these.
11027
* panel-toplevel.[ch]: add a new toplevel panel widget.
11028
A complete rewrite BasePWidget and co., and consolidates
11029
them all into a single widget.
11031
* panel-frame.[ch]: new widget which doesn't draw the shadow
11032
at the screen edge. Should help us with our Fitt worshipping.
11034
* applet.c: comment out all gconf/configuration code
11035
for the moment and update everything to use PanelToplevel
11036
instead of BasePWidget and co.
11038
* button-widget.[ch]:
11039
(calculate_overlay_geometry): remove some overlaying which
11040
isn't needed anymore.
11041
(button_widget_realize), (button_widget_parent_set),
11042
(button_widget_get_property), (button_widget_set_property),
11043
(draw_arrow), (button_widget_expose),
11044
(button_widget_size_allocate), (button_widget_instance_init),
11045
(button_widget_class_init), (button_widget_new),
11046
(button_widget_new_from_stock), (button_widget_set_params):
11047
Update for toplevel changes plus use PanelOrientation everywhere
11048
instead of PanelOrient.
11050
* drawer.[ch]: re-write big chunks of this to use PanelToplevel.
11051
None of this is really tested, though, and is broken atm.
11053
* global-keys.c: (panel_global_keys_filter): update for new
11054
autohide blocking mechanism.
11056
* gnome-run.c: update for multiscreen/a11y function renaming.
11058
* launcher.c: update to use PanelToplevel.
11060
* main.c: (main): various updates and kill initial state change
11063
* menu-util.c: upd for multiscreen renaming.
11065
* menu.c: (menuitem_to_screen), (menu_on_screen),
11066
(add_app_to_panel), (add_drawers_from_dir),
11067
(add_menudrawer_to_panel), (add_menu_to_panel), (show_item_menu),
11068
(add_drawer_to_panel), (add_action_button_to_panel),
11069
(add_menu_bar_to_panel), (add_launcher), (menu_deactivate),
11070
(add_bonobo_applet): various unexciting updates.
11071
(find_empty_pos_array), (find_empty_pos),
11072
(find_empty_edge), (find_empty_border_and_anchor): disable all
11073
this initial panel position code until I figure out how to
11075
(create_new_panel): no more different panel types - this is a
11077
(create_add_panel_submenu): no "New Panel" submenu anymore.
11078
(remove_panel_accept): upd.
11079
(remove_panel_query): disable the "you can't remove your last
11080
panel" code for the moment.
11081
(setup_remove_this_panel): ditto.
11082
(current_panel_config): disable configuration dialog for the
11084
(toggle_expand), (toggle_auto_hide), (rotate_clockwise),
11085
(rotate_counter_clockwise), (increase_size), (decrease_size),
11086
(toggle_animations), (toggle_buttons), (toggle_arrows),
11087
(create_toplevel_testing_menu), (make_panel_submenu): replace
11088
with a submenu for testing the new toplevel widget.
11089
(create_panel_context_menu), (ask_about_launcher_cb),
11090
(menu_button_menu_popup), (create_panel_menu),
11091
(create_menu_applet), (set_menu_applet_orientation),
11092
(load_menu_applet): more unexciting updates.
11094
* multiscreen-stuff.[ch]: rename to panel-multiscreen.[ch] (wow)
11095
and use GdkScreen instead of the screen number everywhere.
11097
* panel-access.c: rename to panel-a11y.[ch].
11099
* panel-action-button.c: more unexciting updates.
11101
* panel-applet-frame.[ch]:
11102
(panel_applet_frame_change_orientation): give up trying to keep
11103
the internal orientation enum in sync with the IDL definition,
11104
just map between the two when setting the property.
11105
(panel_applet_frame_paint), (panel_applet_frame_constrain_size),
11106
(panel_applet_frame_size_request),
11107
(panel_applet_frame_size_allocate),
11108
(panel_applet_frame_loading_failed),
11109
(panel_applet_frame_instance_init),
11110
(panel_applet_frame_get_orient_string),
11111
(panel_applet_frame_construct): upd for above.
11113
* panel-compatibility.c:
11114
(panel_compatibility_load_menu_panel): disable for the moment.
11116
* panel-config.[ch]: disable all this too.
11118
* panel-types.h: remove some enums.
11120
* panel-util.c: upd.
11122
* panel-widget.[ch]: (add_all_move_bindings),
11123
(panel_widget_size_allocate), (panel_widget_realize),
11124
(panel_widget_unrealize), (panel_widget_new),
11125
(panel_widget_reparent),(panel_widget_change_params): nothing
11127
(panel_widget_set_packed), (panel_widget_set_orientation),
11128
(panel_widget_set_size): new functions so you don't have to
11129
call change_params passing in a multitude of params that you
11131
(panel_widget_focus), (panel_widget_get_applet_orientation):
11134
* panel-xutils.[ch]: some new x utility methods.
11136
* panel.[ch]: (orientation_change), (panel_orient_change),
11137
(panel_size_change), (panel_back_change), (panel_applet_added),
11138
(panel_applet_removed), (menu_deactivate), (panel_destroy),
11139
(panel_applet_move): updates and remove loads of code. e.g.
11140
moving panels with the mouse is handled in panel-toplevel now.
11141
(make_popup_panel_menu), (panel_popup_menu),
11142
(panel_popup_menu_signal), (panel_button_press_event),
11143
(panel_key_press_event): simplify popup menu code and event
11145
(drop_background_reset), (drop_bgimage), (drop_color):
11146
don't update the frame.
11147
(panel_check_dnd_target_data), (do_highlight),
11148
(drag_motion_cb), (drag_drop_cb), (drag_data_recieved_cb): more
11150
(panel_setup): remove a good bit of code - we're hooked up to
11151
a hell off a lot less signals now.
11152
(panel_data_by_id),
11153
(panel_screen_from_panel_widget),
11154
(panel_monitor_from_panel_widget), (panel_is_applet_right_stick),
11155
(panel_apply_global_config): boring.
11156
(panel_get_string), (panel_get_int), (panel_get_bool),
11157
(panel_set_string), (panel_set_int), (panel_set_bool),
11158
(panel_load_drawer_panel_from_gconf), (panel_load_panel_from_gconf),
11159
(panel_load_fallback_default_panel), (panel_load_panels_from_gconf):
11160
disable all the gconf code for now.
11162
* session.c: (panel_session_do_save), (panel_session_die),
11163
(session_load): disable some stuff temporarily.
11165
2003-03-04 Hidetoshi Tajima <hidetoshi.tajima@sun.com>
11167
* gnome-panel-screenshot.c (on_ok_button_clicked): Fix #107578 by
11168
converting from utf8 when getting text from the text entry.
11170
2003-03-03 Mark McLoughlin <mark@skynet.ie>
11172
* panel.c: (panel_load_panel_from_gconf): load the background
11173
color when there is one set. Doh. Patch from Greg Hudson,
11174
ghudson@mit.edu - #107401.
11176
2003-03-01 Arvind Samptur <arvind.samptur@wipro.com>
11178
Based on fix from Sunil Mohan Adapa (sunilmohanadapa@postmark.net)
11180
* panel-widget.c: (panel_widget_switch_move) : Modify the conditon
11181
to break the loop. Fixes panel hang when moving applets. #106832
11183
2003-03-01 Arvind Samptur <arvind.samptur@wipro.com>
11184
* menu.c (panel_delete_query) : Make the delete dialog
11185
modal. Avoids deleting of all the panels by accident.
11188
2003-02-26 Mark McLoughlin <mark@skynet.ie>
11190
* menu.c: (button_style_event_cb): fix warning.
11192
2003-02-26 Mark McLoughlin <mark@skynet.ie>
11194
* panel-action-protocol.c: (panel_action_protocol_main_menu):
11195
don't popup the menu in idle - fixed the keyboard grab
11198
2003-02-25 Mark McLoughlin <mark@skynet.ie>
11200
* xstuff.c: (xstuff_zoom_animate): fix typo pointed out
11201
by Paul Gammans <paul@computer-surgery.co.uk>
11203
2003-02-24 Mark McLoughlin <mark@skynet.ie>
11205
* panel-action-protocol.c: (popup_menu_in_idle),
11206
(panel_action_protocol_main_menu), (panel_action_protocol_filter):
11207
popup the menu in a timeout. For some reason (which I can't track
11208
down) the keyboard grab on the popup is failing with AlreadyGrabbed.
11210
2003-02-24 Mark McLoughlin <mark@skynet.ie>
11212
* panel-stock-icons.c: (panel_init_stock_icons): don't give
11213
a warning when we stock_icons[i].icon is NULL - i.e. with
11214
PANEL_STOCK_ACTION stock icon.
11216
2003-02-24 Mark McLoughlin <mark@skynet.ie>
11219
* eggaccelerators.c:
11220
* eggaccelerators.h: kill eggaccelerators.[ch]. Not used
11223
* panel-config-global.c: (panel_global_config_set_entry):
11224
* panel-config-global.h:
11225
* panel-global-config.schemas.in:
11226
* panel.c: (panel_save_global_config): kill support for
11227
the keybindings related global keys.
11229
* panel-util.[ch]: kill a couple of accelerator related
11232
2003-02-24 Mark McLoughlin <mark@skynet.ie>
11234
Move responsibility for the various global keybindings
11235
from the panel to the winow manager. Window managers can
11236
invoke the keybindings using the _GNOME_PANEL_ACTION
11237
ClientMessage protocol.
11239
* Makefile.am: add panel-action-protocol.[ch] and remove
11242
* panel-action-protocol.[ch]: implement the protocol.
11244
* global-keys.[ch]: kill.
11246
* main.c: (main): upd.
11248
* panel.c: (panel_apply_global_config): upd.
11250
* xstuff.[ch]: (xstuff_init): kill.
11252
2003-02-22 Arvind Samptur <arvind.samptur@wipro.com>
11254
Do not popup a 'Delete Panel" query if there are
11255
no objects in the panel.
11257
Based on patch from Heeten (azari.geo@yahoo.com)
11260
* panel.[ch] : (panel_delete) (panel_delete_query)
11261
(panel_delete_without_query) :
11262
Re-organize the panel deletion methods for deleting
11263
the panel without user interaction when they have no
11266
* drawer.[ch] : (create_drawer_applet) : Get hold
11267
of the handler for focus_out event of the drawer button.
11268
Disconnect while deleting the drawer.
11270
* applet.c : (applet_idle_remove) Use panel_delete().
11272
* menu.c : (remove_panel) Use panel_delete().
11274
2003-02-17 Frank Worsley <fworsley@shaw.ca>
11276
Unify how applets and internal buttons are added to the applets
11277
menu. Also added a new 'Actions' category.
11279
* menu.c: (applet_menu_get_category_icon), (applet_menu_append),
11280
(applet_menu_append_category), (applet_info_sort_func),
11281
(append_internal_applets), (create_applets_menu),
11282
(create_add_launcher_menu), (make_add_submenu): see above.
11284
* panel-stock-icons.c:
11285
* panel-stock-icons.h: added PANEL_STOCK_ACTION which is null for
11286
now until someone makes a nice icon for it
11288
2003-02-17 Arvind Samptur <arvind.samptur@wipro.com>
11289
* panel.c: (panel_delete_query): Centered the delete query dialog.
11291
2003-02-17 Mark McLoughlin <mark@skynet.ie>
11293
* Makefile.am: add support for the GCONF_SCHEMAS_INSTALL
11294
conditional and the GCONF_SCHEMA_FILE_DIR variable. Patch
11297
2003-02-14 Arvind Samptur <arvind.samptur@wipro.com>
11298
* applet.c: (applet_idle_remove) Deleting the drawer panel
11299
using the drawer button queries the user.
11301
* panel.[ch]: (panel_delete_query) (remove_panel_accept):
11302
When deleting the panel, clean up drawers if they exist.
11304
*panel-widget.[ch]: (panel_widget_remove_drawers): Cleanup the gconf of
11305
the drawers recursively, if they each drawer holds another drawer.
11307
2003-02-12 Rajkumar Sivasamy <rajkumar.siva@wipro.com>
11309
* panel-action-button.c: Listen to "style-set" signal for
11310
theme changes and update LockScreen and LogOut buttons
11311
with new stock images supplied.
11314
2003-02-11 Rajkumar Sivasamy <rajkumar.siva@wipro.com>
11316
* menu.c: Use stock icon for GNOME Foot menu.
11319
2003-01-30 Arvind Samptur <arvind.samptur@wipro.com>
11320
* panel-widget.[ch]: Add a GSList to the PanelWidget struct
11321
to keep track of all the open 'Create Launcher' dialogs.
11323
* panel.c: (panel_remove_open_create_launcher_dialogs) : Destroy
11324
all the open 'Create Launcher' dialogs while deleting the panel.
11326
* menu.c (remove_panel_query) ( remove_panel_accept) : Store the
11327
'Delete Panel' dialog. Avoid creating multiple instances of it.
11329
2003-01-22 Mark McLoughlin <mark@skynet.ie>
11331
* egg-recent-model.c:
11332
* egg-recent-util.c:
11333
* egg-recent-view-gtk.c: sync with libegg.
11335
2003-01-21 Mark McLoughlin <mark@skynet.ie>
11337
Makes keybindings work on multi-screen setups.
11338
Fixes #93757 - based on a patch from Erwann.
11340
* xstuff.[ch]: (xstuff_grab_key_on_all_screens):
11341
Grab/Ungrab the key on all screens.
11343
* global-keys.c: (do_grab_key), (do_ungrab_key):
11346
2003-01-20 Mark McLoughlin <mark@skynet.ie>
11348
* panel-compatibility.c:
11349
(panel_compatibility_warn),
11350
(panel_compatibility_load_menu_panel): display a lovely
11351
big warning dialog that I'm lame because I didn't maintain
11352
backwards compatibility when loading menu panels. Will
11353
need to be properly fixed soon.
11355
2003-01-20 Mark McLoughlin <mark@skynet.ie>
11357
Do not migrate old logout/lock buttons to the action
11358
button configuration - this broke backwards compatibility
11359
with gnome-panel 2.0.x. Fixes #103927.
11361
* panel-action-button.[ch]:
11362
(panel_action_button_load): add compatibility flag to
11363
indicate a logout/lock action button should be loaded
11364
and saved as an old style logout/lock button.
11365
(panel_action_button_load_from_gconf),
11366
(panel_action_button_load_from_drag): upd.
11369
(applet_callback_callback): handle old style lock
11370
and logout buttons.
11371
(panel_applet_load_idle_handler): fix bug with compatible
11373
(panel_applet_save_to_gconf): handle old style lock/logout
11376
* menu.c: (add_action_button_to_panel): upd.
11378
2003-01-14 Mark McLoughlin <mark@skynet.ie>
11380
* gnome-panelrc: add a comment to say this is
11381
intentionally left empty. #103274.
11383
2003-01-12 Christian Neumair <chris@gnome-de.org>
11385
* panel-menu-bar.c: Marked "Run Program..." for translation.
11387
2003-01-12 Mark McLoughlin <mark@skynet.ie>
11389
* panel-menu-bar.c:
11390
(panel_menu_bar_append_actions_menu): only add a
11391
seperator after the screenshot item if we actually
11392
have a screenshot item.
11394
2003-01-12 Mark McLoughlin <mark@skynet.ie>
11396
* Makefile.am: remove foobar-widget.[ch].
11398
* panel-compatibility.[ch]:
11399
(panel_compatibility_load_menu_panel): rename from
11400
foobar_widget_new().
11402
* panel-stock-icons.[ch]:
11403
(panel_menu_bar_icon_get_size): rename from
11404
panel_foobat_icon_get_size() but keep the icon size
11405
name as "foobar-menu" for compatibility.
11406
(panel_init_stock_icons_and_items): upd.
11408
* panel-types.h: s/FOOBAR_PANEL/MENU_PANEL/
11410
* aligned-widget.c, applet.c, basep-widget.c, button-widget.c,
11411
drawer-widget.c, drawer.c, edge-widget.c, floating-widget.c,
11412
global-keys.c, menu-util.c, menu.[ch], multiscreen-stuff.c,
11413
panel-menu-bar.c, panel-util.c, panel-widget.c, panel.[ch],
11414
sliding-widget.c: remove all special case handling of the
11415
foobar. We only have BasePWidget based panels now.
11417
* foobar-widget.[ch]: kill.
11419
2003-01-10 Mark McLoughlin <mark@skynet.ie>
11421
* panel-per-panel-config.schemas.in: make the default
11422
top panel an edge panel.
11424
2003-01-10 Mark McLoughlin <mark@skynet.ie>
11427
(create_new_panel): remove the menu panel case.
11428
(create_add_panel_submenu): remove the menu panel
11431
2003-01-10 Mark McLoughlin <mark@skynet.ie>
11433
Screw this for a game of soldiers. Load the compatibility
11434
applets after all other applets have been loaded so we can
11435
guarantee their position.
11437
* panel-compatibility.[ch]:
11438
(foobar_widget_new): don't load the compat applets
11439
here, set a flag and they'll be loaded later.
11440
(panel_compatibility_load_applets): impl iterating
11441
through all panels and loading compat applets where
11445
(panel_applet_load_idle_handler): load compat applets
11447
(panel_applet_loaded): kill this.
11448
(panel_applet_load_from_unique_id): update.
11450
2003-01-10 Mark McLoughlin <mark@skynet.ie>
11452
Hmm, that was loading two copies of the menu bar
11453
and window menu. Fixed that but I'm still having
11454
trouble getting the window menu on the far right
11455
of a compat foobar.
11458
(panel_applet_loaded): impl checking to see if an
11459
applet was already loaded.
11460
(panel_applet_load_from_unique_id): use it here.
11461
Don't load an already loaded applet.
11463
* panel-compatibility.c: (foobar_widget_new): kill
11466
2003-01-10 Mark McLoughlin <mark@skynet.ie>
11468
Add the code to make old configurations work. I'll
11469
get rid of FoobarWidget properly soon.
11471
* Makefile.am: add panel-compatibility.[ch] to
11474
* foobar-widget.[ch]: (foobar_widget_new_dud):
11475
rename from foobar_widget_new().
11477
* menu.c: (create_new_panel): don't cast to
11478
a foobar, its a basep now.
11480
* panel-compatibility.[ch]: (foobar_widget_new):
11481
impl loading an edge panel with a menu bar and
11482
window menu instead of a menu panel.
11484
* panel.c: include panel-compatibility.h.
11486
2003-01-10 Mark McLoughlin <mark@skynet.ie>
11488
Move the menu bar out of foobar-widget as a seperate
11489
internal applet. The default panel configuration looks
11490
identical to before, but if you have a menu panel in
11491
your saved configuration its going to be missing the
11492
menu bar and the window menu. I'll be removing the
11493
menu panel completely and adding some compatibility
11494
code to load an edge panel set up like a menu panel
11495
when it sees a menu panel in your configuration.
11497
* panel-menu-bar.[ch]: new internal applet identical
11498
to the menu bar formerly on the left of menu panel.
11500
* Makefile.am: add panel-menu-bar.[ch] to the build.
11503
(applet_callback_callback), (panel_applet_load_idle_handler),
11504
(panel_applet_save_to_gconf): handle loading/saving the
11507
* foobar-widget.c: (foobar_widget_class_init),
11508
(foobar_widget_instance_init), (foobar_widget_exists):
11509
Remove the old menu bar.
11511
* menu.c: (add_menu_bar_to_panel), (make_add_submenu):
11512
Add it to the menus.
11514
* panel-per-panel-config.schemas.in: add the menu bar
11515
to the left hand side of the menu panel in the default
11518
* panel.c: (drop_internal_applet): handle dnd-ing the
11521
2003-01-10 Mark McLoughlin <mark@skynet.ie>
11523
Fix a race with applets that use expand flags. Applet
11524
filling happens asynchronously, so you can never be sure
11525
that the flags have been set by the time you add it to
11528
* applet.c: (panel_applet_register): don't set expand flags
11531
* panel-applet-frame.[ch]:
11532
(panel_applet_frame_update_expand_flags): rename this function
11533
and make it private. It now sets the expand flags (as used
11534
by PanelWidget) itself.
11535
(panel_applet_frame_constrain_size): use it here.
11537
* panel-widget.[ch]:
11538
(panel_widget_cadd): update.
11539
(panel_widget_add): don't accept expand flags as args.
11540
(panel_widget_set_applet_expandable): impl setting the
11543
2003-01-10 Mark McLoughlin <mark@skynet.ie>
11545
Remove the remaining dependancy on libwnck.
11547
* Makefile.am: link gnome-desktop-item-edit with xstuff.c
11548
'cause it uses panel-util.c.
11550
* main.c: (main): pass the global_keys_filter to xstuff_init.
11552
* panel-util.c: (panel_ditem_launch): use
11553
xstuff_get_current_workspace instead of libwnck.
11556
(xstuff_init): take a filter handler as an argument.
11557
(xstuff_get_current_workspace): impl.
11559
Thu Jan 09 16:39:25 2003 George Lebl <jirka@5z.com>
11561
* gnome-panel-screenshot.c: actually fix the permission problem
11562
in the case when we don't do a temporary. Fixes #94974
11564
2003-01-10 Mark McLoughlin <mark@skynet.ie>
11566
* foobar-widget.[ch]: (foobar_widget_realize),
11567
(foobar_widget_instance_init), (foobar_widget_destroy),
11568
(foobar_widget_popup_panel_menu): remove the old
11571
* menu-util.c: include panel-stock-icons.h to fix warning.
11573
* panel-per-panel-config.schemas.in: add a window menu
11574
applet to the default menu panel.
11576
2003-01-07 Mark McLoughlin <mark@skynet.ie>
11578
* panel-util.c: (set_color_back): don't try to set the
11579
background colour on the hide buttons if the colour
11580
contains an alpha channel. Fixes hide buttons being
11581
a weird colour with transparent panels.
11584
(panel_widget_set_background_region): impl correctly
11585
setting the desktop background to use. Fixes mis-aligned
11586
background when using hide-buttons.
11587
(panel_widget_size_allocate),
11588
(toplevel_configure_event): use it here.
11590
2003-01-07 Mark McLoughlin <mark@skynet.ie>
11592
* panel-per-panel-config.schemas.in: make the bottom
11593
panel opaque again.
11595
2003-01-07 Mark McLoughlin <mark@skynet.ie>
11597
* panel-per-panel-config.schemas.in: add the
11598
"Show Desktop Button" applet to the left of the tasklist
11599
on the bottom panel and make the bottom panel fully
11602
2003-01-06 Mark McLoughlin <mark@skynet.ie>
11604
* egg-recent-util.c: (load_icon_file): sync with libegg.
11606
2003-01-06 Mark McLoughlin <mark@skynet.ie>
11608
* Makefile.am: remove egg-recent-vfs-utils.[ch].
11610
* egg-recent-item.c:
11611
* egg-recent-model.c:
11612
* egg-recent-util.[ch]:
11613
* egg-recent-view-gtk.[ch]: sync with libegg.
11615
* egg-recent-vfs-utils.[ch]: remove
11617
* panel-recent.c: (panel_recent_append_documents_menu):
11618
Use the new RecentView icon size API to make sure we use
11619
the same icon size as the panel menu.
11621
2003-01-06 Mark McLoughlin <mark@skynet.ie>
11623
Fix #95995 by making only the applications/actions menu use
11624
"panel-menu" icon size and the rest use the "gtk-menu" size.
11625
I swear, this icon size crap will be death of me yet ...
11627
* menu.[ch]: (icon_to_load_copy): add a GtkIconSize member to
11628
IconToLoad and IconToAdd.
11629
(menu_item_style_set): pass the icon size as the signal data
11630
and use it instead of "panel-menu".
11631
(setup_full_menuitem), (panel_load_menu_image_deferred),
11632
(setup_stock_menu_item): add a GtkIconSize param to these.
11633
(do_icons_to_add), (load_icons_handler),
11634
(image_menuitem_size_request), (setup_menuitem),
11635
(create_menuitem): pass the icon size up the chain.
11636
(show_item_menu), (applet_menu_append),
11637
(create_add_panel_submenu), (create_button_menu),
11638
(make_panel_submenu), (create_panel_context_menu),
11639
(make_add_submenu): use "gtk-menu" for all these.
11640
(create_desktop_menu), (add_distribution_submenu),
11641
(add_kde_submenu), (create_root_menu):
11642
use "panel-menu" here.
11644
* applet.c: (setup_an_item), (panel_applet_create_menu):
11645
Use "gtk-menu" icon size for these menus.
11647
* menu-util.c: (stock_menu_item_new): use "panel-menu" icon
11650
2003-01-05 Mark McLoughlin <mark@skynet.ie>
11652
* Makefile.am: use @ENUMSHORT@ mkenums substitution pattern
11653
instead of @ENUMNAME@. Gives nicer looking names.
11655
* aligned-widget.c: (aligned_pos_class_init):
11656
* basep-widget.c: (basep_widget_class_init):
11657
* border-widget.c: (border_pos_class_init):
11658
* button-widget.c: (button_widget_class_init):
11659
* panel-action-button.c: (panel_action_button_class_init):
11662
2003-01-02 Padraig O'Briain <padraig.obriain@sun.com>
11664
* button-widget.c (button_widget_leave_notify): Call GtkButton's
11665
leave_notify_event to cause the button's state to be reset from
11668
This fixes bug #101546.
11670
2003-01-02 Mark McLoughlin <mark@skynet.ie>
11672
Impl periodically re-running the applet menu bonobo
11673
query and re-generating the menu if it has changed.
11676
(Bonobo_ServerInfoList_equals): impl comparing server
11678
(recheck_applet_list), (menu_item_destroyed),
11679
(instrument_add_submenu_for_reload): impl periodically
11680
re-running the bonobo-activation query to see if there
11681
has been any change in the available applets.
11682
(create_applets_menu): take a server list as an argument.
11683
(create_button_menu), (current_panel_config),
11684
(make_panel_submenu), (show_panel_help),
11685
(create_panel_context_menu), (ask_about_launcher_cb):
11686
(make_add_submenu), (create_root_menu):
11687
lots of cleanups to make it clear there is only one place
11688
the "Add to Panel" submenu appears these days.
11690
* menu.h: remove some menu flags. Add big flashing sign
11691
in neon lights to warn against assuming that the panel
11694
2002-12-23 Padraig O'Briain <padraig.obriain@sun.com>
11697
(load_icon_handler): Get icon height when about to load icon
11698
(image_menu_shown): Remove getting icon height; we do it in
11699
load_icon_handler() as it may change by the time the icon is loaded.
11701
2002-12-22 Frank Worsley <fworsley@shaw.ca>
11703
* gnome-run.c: (show_run_dialog): fix #77089, focus program
11704
list if list expanded, otherwise focus entry in run dialog
11706
2002-12-23 Mark McLoughlin <mark@skynet.ie>
11708
* menu.c: (about_cb): remove translations marks from around
11709
the copyright notices for the about dialogs. The container
11710
non-ascii characters and no longer need to be translated
11711
anyhow. Fixes #101796.
11713
2002-12-20 Arvind Samptur <arvind.samptur@wipro.com>
11714
* drawer-widget.c (drawer_pos_hidebutton_click):
11715
guess a small typo by mark while checking in the #93541.
11716
fixes the crash while closing the drawer panel.
11718
2002-12-20 Mark McLoughlin <mark@skynet.ie>
11720
/me shovels more crap onto the dung heap that is the panel.
11722
More precisely, fix #93177 by loading the default panel
11723
configuration on all screens, instead of just loading
11724
a foobar on the non-default screens.
11726
* applet.h: kill APPLET_EMPTY and all the string
11727
ids which haven't been used since 1.4.
11730
(panel_applet_get_full_gconf_key): kill. dead. good bye.
11731
(panel_applet_load_from_unique_id),
11732
(panel_applet_load_list): use PanelGConfKeyType to
11733
distinguish between "applets" and "objects" instead of
11734
using the APPLET_EMPTY hack.
11735
(panel_applet_load_default_applet_for_screen),
11736
(panel_applet_load_defaults_for_screen): impl loading the
11737
configuration for the default set of applets onto a
11739
(panel_applet_save_position), (panel_applet_save_to_gconf):
11740
use panel_gconf_full_key instead of panel_applet_get_full_gconf_key;
11742
* panel-gconf.[ch]:
11743
(panel_gconf_load_default_config_for_screen): impl method
11744
for applying the schemas for a default panel or applet
11745
to a new panel or applet on a given screen.
11748
(panel_load_fallback_default_panel): the worst case scenario.
11749
Just load a foobar.
11750
(panel_load_default_panel_for_screen),
11751
(panel_load_default_panels_for_screen): impl loading the
11752
configuration for the default set of panels onto a
11754
(panel_ensure_panel_per_screen): load the default panels
11755
if no other panels are on that screen.
11756
(panel_load_panels_from_gconf): upd.
11758
2002-12-20 Mark McLoughlin <mark@skynet.ie>
11760
Fixes #93541, panel hogging the CPU when hide_delay
11761
and show_delay are zero.
11764
(find_non_drawer_parent_panel): recurse up through the
11765
drawers to find the topmost panel.
11766
(basep_leave_notify): don't queue an autohide on a drawer,
11767
queue it on the topmost non-drawer parent panel instead.
11768
(basep_widget_queue_autoshow): use show_delay not hide_delay.
11769
Also, queue an idle instead of a timeout if the delay is
11771
(basep_widget_autohide): don't return TRUE at silly times
11772
where the autohide will be re-queued anyway.
11773
(basep_widget_queue_autohide): Queue an idle instead of
11774
a timeout if the delay is <= 0.
11776
* drawer-widget.[ch]:
11777
(drawer_pos_hidebutton_click): use drawer_widget_get_drawer().
11778
(drawer_widget_set_drawer), (drawer_widget_get_drawer): impl.
11779
small wrapper for the g_object_get/set_data so its in the
11782
* drawer.c: (create_drawer_applet):
11783
use drawer_widget_set_drawer().
11785
* drawer.h: kill DRAWER_PANEL_KEY.
11787
2002-12-20 Dennis Cranston <dennis_cranston@yahoo.com>
11789
* menu.c: (about_cb): Fix previous commit so build
11792
2002-12-20 Mark McLoughlin <mark@skynet.ie>
11794
* menu.c: (about_cb): Fixup reference to the
11795
FSF. Fixes #101593.
11797
2002-12-19 Mark McLoughlin <mark@skynet.ie>
11799
No, this isn't purely random re-factoring. Its
11800
needed to fix something else.
11803
(panel_load_panels_from_gconf): split this gigantic
11804
function into several smaller ones.
11805
(panel_load_edge_panel_from_gconf),
11806
(panel_load_aligned_panel_from_gconf),
11807
(panel_load_sliding_panel_from_gconf),
11808
(panel_load_drawer_panel_from_gconf),
11809
(panel_load_floating_panel_from_gconf),
11810
(panel_load_panel_from_gconf): split our from
11811
load_panels_from_gconf().
11813
* aligned-widget.[ch], basep-widget.[ch],
11814
border-widget.[ch], drawer-widget.[ch],
11815
edge-widget.[ch], floating-widget.[ch]
11816
panel-widget.[ch], sliding-widget.[ch]:
11817
s/char */const char */ for couple of params.
11819
2002-12-19 Mark McLoughlin <mark@skynet.ie>
11821
* help/*: remove these files.
11823
2002-12-18 Mark McLoughlin <mark@skynet.ie>
11825
Fixes menu items not resizing when icon size changes.
11828
(reload_image_menu_items), (icon_theme_changed),
11829
(panel_menu_new): re-indent the icon theme change
11831
(menu_item_style_set), (do_icons_to_add): connect
11832
to the "style_set" signal and reload the image
11833
if the icon size changes.
11835
2002-12-18 Mark McLoughlin <mark@skynet.ie>
11837
Implement support for tiled background images. #100952.
11839
* panel-background-monitor.c:
11840
(panel_background_monitor_tile_background): impl.
11841
(panel_background_monitor_setup_pixbuf): if the
11842
background pixmap is smaller than the actual
11843
root window size, then tile it onto our pixbuf.
11845
2002-12-17 Mark McLoughlin <mark@skynet.ie>
11847
Make PanelBackgroundMonitor multiscreen aware.
11849
* panel-background-monitor.[ch]:
11850
(panel_background_monitor_init): factor out the
11851
screen specific stuff to
11852
(panel_background_monitor_connect_to_screen): here.
11853
(panel_background_monitor_new): take a GdkScreen arg.
11854
(panel_background_monitor_get_for_screen): keep a
11855
list of monitors, one for each screen, instead of
11857
(panel_background_monitor_get): get the monitor for
11858
the default screen.
11860
* panel-background.c: (get_desktop_pixbuf): use
11861
panel_background_monitor_get_for_screen().
11863
2002-12-17 Mark McLoughlin <mark@skynet.ie>
11865
* panel-stock-icons.h: add panel_button_icon_get_size()
11868
2002-12-17 Mark McLoughlin <mark@skynet.ie>
11870
* gnome-panel-preferences.c: (bool_value_changed_notify),
11871
(load_checkboxes), (enum_value_changed_notify),
11872
(load_animation_menu), (load_config_into_gui): receive
11873
gconf notifications and update the GUI accordingly.
11876
2002-12-13 Rajkumar Sivasamy <rajkumar.siva@wipro.com>
11878
* panel-stock-icons.[ch],
11879
basep-widget.c: Register images used by panel show/hide button
11880
as stock images, so that they can be themed.
11883
2002-12-17 Mark McLoughlin <mark@skynet.ie>
11885
* egg-recent-model.c:
11886
* egg-recent-util.c:
11887
* egg-recent-view-gtk.c:
11888
* egg-recent-view-gtk.h:
11889
* egg-recent-view.h:
11890
* egg-screen-exec.c: sync with libegg. Fixes #101108.
11892
2002-12-16 Mark McLoughlin <mark@skynet.ie>
11894
Make it possible to perform all relevant drops
11895
for a panel on the drawer button. Fixes #100965.
11898
(destroy_drawer): remove close timeout.
11899
(drag_data_received_cb),
11900
(drag_motion_cb), (close_drawer_in_idle),
11901
(queue_drawer_close_for_drag), (drag_leave_cb),
11902
(drag_drop_cb): impl.
11903
(create_drawer_applet): hook up dnd signals.
11906
(panel_check_dnd_target_data),
11907
(panel_check_drop_forbidden),
11908
(panel_receive_dnd_data): split out parts of the
11909
panel dnd implementation so that the drawer can
11911
(drag_data_recieved_cb), (drag_motion_cb),
11912
(drag_drop_cb): use it here also.
11914
2002-12-16 Arvind Samptur <arvind.samptur@wipro.com>
11915
* disclosure-widget.c (class_init): attach a
11917
(cddb_disclosure_destroy): remove the timer on
11918
a destroy. Fixes #100992.
11919
(get_x_y),(expand_collapse_timeout): remove the unused
11920
variables. Get rid of warnings.
11921
(do_animation): replace gtk_timeout_remove() with
11924
2002-12-16 Mark McLoughlin <mark@skynet.ie>
11926
Fixes a crash when moving between panels #98265.
11928
* applet.c: (panel_applet_get_panel_id): return NULL
11929
if we're in the middle of being re-parented.
11930
(panel_applet_save_position): don't save our position
11931
if we get a NULL panel_id.
11933
* applet.h: don't export panel_applet_get_panel_id().
11935
2002-12-16 Mark McLoughlin <mark@skynet.ie>
11937
* menu.c: (do_icons_to_add), (load_icons_handler),
11938
add a ref/unref pair for the GtkImage to make
11939
the crash in #99378 impossible.
11941
2002-12-16 Mark McLoughlin <mark@skynet.ie>
11943
* panel-background.c: (panel_background_prepare):
11946
2002-12-16 Mark McLoughlin <mark@skynet.ie>
11948
Be more robust in the face of applet crashes
11949
during loading. Should fix #99205.
11951
* panel-applet-frame.c: Keep a ref to the PanelWidget
11952
so that we can reload an applet even when it hasn't
11954
(popup_handle_move),
11955
(panel_applet_frame_constrain_size),
11956
(panel_applet_frame_button_changed): use that ref here.
11957
(panel_applet_frame_reload_response): fix up to work even
11958
when an applet hasn't fully loaded.
11959
(panel_applet_frame_cnx_broken): don't require the applet
11960
to have been registered.
11961
(panel_applet_frame_construct): check for failure of
11962
vairious remote bonobo operations.
11964
2002-12-10 Arvind Samptur <arvind.samptur@wipro.com>
11965
* panel-background.c: (panel_background_prepare): re-draw
11966
the panel after setting the background. Fixes #100401
11968
2002-12-10 Dennis Cranston <dennis_cranston@yahoo.com>
11970
* gnome-panel-preferences.desktop.in: Add support
11971
for startup notification.
11973
2002-12-10 Mark McLoughlin <mark@skynet.ie>
11975
* menu.c: (about_cb): revert copyright changes
11976
until we decide on a format.
11978
2002-12-10 Mark McLoughlin <mark@skynet.ie>
11980
Fixes #100650, based on a patch from Arvind.
11983
(panel_applet_remove_in_idle): new function.
11984
(applet_remove_callback): use it.
11986
* panel.c: (drop_internal_icon): remove the
11987
applet permanently rather than just destroying
11990
2002-12-06 Frederic Crozat <fcrozat@mandrakesoft.com>
11992
* panel-background-monitor.c:
11993
(panel_background_monitor_xevent_filter):
11994
Don't leak pixbuf and pixmap.
11996
2002-12-08 Mark McLoughlin <mark@skynet.ie>
11998
* menu.c, panel-config-global.c, panel-config-global.h,
11999
panel-global-config.schemas.in, panel.c: Revert unapproved
12002
2002-12-06 Christian Neumair <chris@gnome-de.org>
12004
* menu.c, panel-config-global.c, panel-config-global.h,
12005
panel-global-config.schemas.in, panel.c: Changed tooltips_enabled to
12006
enable_tooltips for consistency.
12008
2002-12-06 Glynn Foster <glynn.foster@sun.com>
12010
* menu.c: (applet_menu_get_category_icon): Add support for
12011
'Accessories' in the panel context menu.
12012
* panel-stock-icons.[ch]: Add new icon. Woo.
12014
2002-12-04 Dennis Cranston <dennis_cranston@yahoo.com>
12016
* gnome-panel-screenshot.c: Fixed an old bug where
12017
clicking the 'Ok' button in the browse dialog would
12018
activate the 'Save' button.
12020
* gnome-panel-screenshot.[c|glade]: More fixes for
12022
- 'save to file' option doesn't remember the last
12023
directory you saved to. [The history id of the
12024
gnome entry was not hooked up.]
12026
2002-12-04 Padraig O'Briain <padraig.obriain@sun.com>
12028
* drawer.c: (key_press_drawer) (key_press_drawer_widget): Allow
12029
keystroke modified by something other that accelerator mod (i.e. Alt).
12030
This fixes bug #98772.
12032
2002-12-04 Mark McLoughlin <mark@skynet.ie>
12034
* panel-config.c: (background_type_changed):
12035
when changing from "Color" to "Transparent",
12036
reset the opacity to 0.
12038
2002-12-04 Mark McLoughlin <mark@skynet.ie>
12040
Fix ui-review issues raised in #98914.
12043
(make_misc_widget):
12044
use "new HIG borderless/bold label style" frame.
12045
(floating_notebook_page): ditto and change strings
12046
to be a little less confusing. Still a horrible
12048
(sliding_notebook_page):
12049
s/Screen edge offset/Distance from edge/
12050
(make_size_widget): remove pixel sizes from the
12053
use "new HIG borderless/bold label style" frame.
12054
"Verbalise" the image transformation options.
12055
Remove redundant "Background" strings.
12056
s/Rotate image for vertical panels/
12057
Rotate image when panel is vertical/
12059
2002-12-04 Mark McLoughlin <mark@skynet.ie>
12061
* gnome-panel-preferences.glade:
12062
s/_Animation/Drawer and Panel _Animation/.
12063
Fixes ui-review bug #98911.
12065
2002-12-04 Mark McLoughlin <mark@skynet.ie>
12067
Fix ui-review issues in #98909.
12070
(create_panel_submenu): add seperater between
12071
'about' menu items.
12072
(make_add_submenu), (add_menu_widget),
12073
(create_panel_menu): s/GNOME Menu/Main Menu/g
12075
2002-12-04 Dennis Cranston <dennis_cranston@yahoo.com>
12077
* gnome-panel-screenshot.[c|glade]: UI-review changes for bug
12079
- Frames should follow new HIG borderless/bold label style
12080
- Replace 'Ok' with 'Save' and appropriate icon
12081
- Preview thumbnail should be left aligned
12082
- Dialog should be called 'Save Screenshot' instead of 'Screenshot'
12084
2002-12-04 Mark McLoughlin <mark@skynet.ie>
12086
Add a "Transparent" pseudo backround type so
12087
people don't have to fiddle with the opacity
12088
value in the colour picker.
12091
(background_type_changed): if set to transparent,
12092
just pretend its a color with 0 alpha value.
12093
(background_page): add "Transparent" option.
12095
2002-12-04 Mark McLoughlin <mark@skynet.ie>
12097
* panel-background.c: (panel_background_set):
12098
don't unset loaded flag when color hasn't changed.
12100
2002-12-04 Mark McLoughlin <mark@skynet.ie>
12102
Re-write the background rendering code to be
12103
less buggy and to be less resource hungry for
12104
opaque backgrounds. Code is a lot clearer now.
12106
* Makefile.am: add panel-background.[ch] to the
12109
* panel-background.[ch]: re-written implementation
12110
of the background rendering. Less resource hungry
12111
for non-alpha backgrounds and colours. And a lot,
12114
* launcher.c: include egg-screen-exec.h to fix
12117
* menu.c: (create_new_panel): initialise colour
12120
* panel-applet-frame.c:
12121
(panel_applet_frame_get_background_string): move the
12122
implementation of this to panel-background.c.
12123
(panel_applet_frame_change_background),
12124
(panel_applet_frame_construct_moniker): upd.
12126
* panel-background-monitor.[ch]:
12127
(panel_background_monitor_finalize): don't unref
12129
(panel_background_monitor_get): ref the return
12130
value so we can destroy it when not needed.
12131
(panel_background_monitor_setup_pixmap): don't leak
12133
(panel_background_monitor_get_widget_background): kill.
12135
* panel-types.h: rename PanelBackType to PanelBackgroundType
12136
and PANEL_BACK_PIXMAP to PANEL_BACK_IMAGE.
12138
* panel-widget.[ch]: Kill all the old background code and:
12139
(panel_widget_style_set), (panel_widget_state_changed):
12140
set the theme defaults on the PanelBackground when they change.
12141
(toplevel_configure_event): change the desktop background
12142
region when the toplevel is moved or resized.
12143
(panel_widget_realize), (panel_widget_unrealize): impl
12145
* aligned-widget.[ch], basep-widget.[ch], border-widget.[ch],
12146
drawer-widget.[ch], edge-widget.[ch], floating-widget.[ch],
12147
panel-config.[ch], panel-util.c, panel.c, sliding-widget.[ch]:
12148
Mucho minor and boring updates for changes in the various
12149
background structs and enums.
12151
2002-12-04 Mark McLoughlin <mark@skynet.ie>
12153
* menu.c: (about_cb): no whitespace before punctuation marks.
12155
2002-11-18 Fernando Herrera <fherrera@onirica.com>
12157
* gnome-panel-preferences.desktop.in: add X-GNOME-BUGZILLA stuff
12159
2003-12-03 Arvind Samptur <arvind.samptur@wipro.com>
12160
* menu.c (menu_button_menu_popup)
12161
* panel.c (panel_do_popup_menu): use basep_widget_queue_autohide
12162
instead of basep_widget_autohide. Fixes #97182
12164
2002-12-03 Arvind Samptur <arvind.samptur@wipro.com>
12165
* launcher.[ch]: add a destroy_handler to the
12166
launcher structure. Helps in the destroying the
12167
properties dialog when launchers are dragged and
12169
* panel.c (drop_internal_icon) disconnect the
12170
destroy handler on the properties dialog and
12171
explicitly destroy it. Fixes #97112.
12173
2002-12-02 Christian Neumair <chris@gnome-de.org>
12175
* menu.c: Changed copyright string, made "Delete Panel" translatable.
12177
2002-11-24 Iain <iain@prettypeople.org>
12179
* menu.c (setup_stock_menu_item): Check if the stock_is is NULL.
12180
(create_button_menu): Create a submenu for the buttons.
12181
(make_add_submenu): Create a buttons submenu and move all the buttons
12184
2002-10-10 Satyajit Kanungo <satyajit.kanungo@wipro.com>
12186
Fixes the Issue of drag and drop to the panel always launches the
12187
application in primary screen.Bug #94258 .
12189
* launcher.c : drag_data_received_cb(). Changed to call the new API
12190
of gnome-desktop gnome_desktop_item_drop_uri_list_with_env and
12191
passed the environment to it. So that gnome-desktop can launch the
12192
application in appropriate screen.
12194
2002-11-28 Mark McLoughlin <mark@skynet.ie>
12196
* panel-util.[ch]: (panel_ditem_launch):
12197
use gnome_desktop_item_launch_on_screen so
12198
that startup notification can work correctly.
12199
Also change the order of the arguments to
12200
reflect libgnome-desktop
12202
* gnome-run.c: (launch_selected):
12203
* launcher.c: (launch_cb):
12204
* menu.c: (activate_app_def): upd.
12206
2002-11-27 Stanislav Brabec <sbrabec@suse.cz>
12208
* distribution.c: Updated path to SuSE distribution menu.
12210
2002-11-17 Mark McLoughlin <mark@skynet.ie>
12212
* panel.c: (panel_load_panels_from_gconf):
12213
s/no_background/no-background/. Fixes #98565.
12215
* applet.c: (panel_applet_load_from_unique_id):
12216
* gnome-panel-preferences.c: (load_animation_menu):
12217
* panel-config-global.c: (panel_global_config_set_entry):
12218
* panel.c: (panel_load_panels_from_gconf): Learn from that
12219
lesson and audit all usage of gconf_string_to_enum to
12220
not rely on the enum value being initialised.
12222
* panel-gconf.[ch]: kill panel_gconf_string_to_enum().
12224
2002-11-15 Mark McLoughlin <mark@skynet.ie>
12226
* disclosure-widget.c: (finalize), (get_x_y),
12227
(expand_collapse_timeout), (do_animation), (class_init):
12228
Port over the patches from jaiserca@inf.upv.es and Gman
12229
to gsearchtools copy of this widget. Should fix #98213.
12230
This widget should be in libegg.
12232
2002-11-15 Mark McLoughlin <mark@skynet.ie>
12234
* gnome-run.c: (run_dialog_response): patch from
12235
putte_xvi@tunedal.nu to not crash when passed a
12236
symbolic link. Fixes #97534.
12238
2002-11-12 Andrew Sobala <andrew@sobala.net>
12240
* menu.c (image_menu_shown): Update icon height as theme may have
12241
changed required height (bug #92852)
12243
2002-11-06 Andrew Sobala <andrew@sobala.net>
12245
* panel-applet-frame.c: string change for localisation
12247
2002-11-04 Mark McLoughlin <mark@skynet.ie>
12249
* Makefile.am: install gnome-panel-screenshot.schemas.
12251
* gnome-panel-screenshot.c: (main): don't pretend to
12252
use GError, don't use hypens in gconf keys and don't
12255
* gnome-panel-screenshot.schemas.in: new file.
12257
2002-11-01 Mark McLoughlin <mark@skynet.ie>
12259
Add support for translucent panels. Based on a patch
12260
from Ian McKellar <yakk@yakk.net>. This is still
12261
quite buggy but its a step forward.
12263
* Makefile.am: remove rgb-stuff.[ch] from the build
12264
and add panel-gdk-pixbuf-extensions.[ch] and
12265
panel-background-monitor.[ch].
12267
* aligned-widget.[ch], basep-widget.[ch], border-widget.[ch],
12268
drawer-widget.[ch], edge-widget.[ch], floating-widget.[ch],
12269
sliding-widget.[ch]: all the _new() and change_params()
12270
functions take a PanelColor instead of a GdkColor now.
12272
* basep-widget.c: (basep_update_frame): remove the frame
12273
if its a colour background also.
12275
* menu.c: (about_cb): Add Ian.
12277
* panel-applet-frame.c: (panel_applet_frame_get_background_string):
12278
pass the xid of the background pixmap, not the panel window, to
12281
* panel-background-monitor.[ch]: New object to monitor changes
12282
on the desktop background.
12284
* panel-config.[ch]: (update_config_back), (color_set_cb),
12285
(background_page): Add support for configuring the alpha channel
12286
in the background colour.
12288
* panel-gdk-pixbuf-extensions.[ch]: copy from eel-gdk-pixbuf-extensions
12289
for eel_gdk_pixbuf_draw_to_pixbuf_tiled(), but remove all other
12290
extensions, reduce dependancies and remove the abstraction to allow
12291
rendering into either a drawable or a pixbuf.
12293
* panel-types.h: add PanelColor.
12295
* panel-util.c: (set_color_back): upd for use of PanelColor.
12297
* panel-widget.[ch]: More or less completely re-write the background
12298
rendering code. Both image and color backgrounds are not composited
12299
onto the desktop background image. This still needs work - bugs
12303
(panel_load_panels_from_gconf),
12304
(panel_save_to_gconf): save the alpha channel of the color background.
12306
* rgb-stuff.[ch]: remove. We no longer use libart to scale and rotate
12307
pixbufs. We just use gdk-pixbuf directly.
12309
2002-10-27 Anders Carlsson <andersca@gnu.org>
12311
* gnome-panel-screenshot.c: Fix a bug with alpha, fix the
12312
permission problems, and add a feature.
12314
2002-10-18 Rajkumar Sivasamy <rajkumar.siva@wipro.com>
12316
* button-widget.c: Fix the problem of launcher's icon not
12317
getting updated in the case of icon-theme changes.
12320
2002-10-18 Mark McLoughlin <mark@skynet.ie>
12322
Fixes #91686. Based on a patch from Glynn.
12325
(foobar_widget_class_init): hook up size_request.
12326
(foobar_widget_screen_size_changed): don't set width
12328
(foobar_widget_size_allocate): don't set the size hints
12330
(foobar_widget_size_request): size size hints here and resize
12331
the window if neccessary
12332
(foobar_widget_new): don't set width request here.
12334
2002-10-17 Mark McLoughlin <mark@skynet.ie>
12336
* panel-applet-frame.c:
12337
(panel_applet_frame_constrain_size): impl to constrain
12338
an applets position to not be larger than the the panel
12340
(panel_applet_frame_size_request): use it.
12342
2002-10-16 Mark McLoughlin <mark@skynet.ie>
12344
* egg-screen-help.[ch], egg-screen-url.[ch]: sync
12347
* gnome-run.c, launcher.c, panel-util.c: use new
12348
multiscreen help functions.
12350
Tue Oct 15 19:54:28 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
12352
* gnome-run.c: Additinal fix #91766 - use g_locale_from_utf8()
12353
instead of g_filename_from_utf8() to get locale text,
12354
and try to run command with utf8 name when it failes with
12357
2002-10-15 Brian Cameron <Brian.Cameron@sun.com>
12359
* gnome-panel/panel.c, gnome-panel/session.c,
12360
gnome-panel/applet.c: Removeved calls to
12361
gconf_client_suggest_sync since this synching is
12362
not necessary. Performance analysis highlighted
12363
that gnome-panel was causing >100 syncs to happen
12364
(with ~10 items in the panel).
12366
2002-10-11 Arvind Samptur <arvind.samptur@wipro.com>
12367
* gnome-run.c: (show_run_dialog_with_text)
12368
Remove the parameters from the exec field when putting a menu
12369
item in to run dialog. Fixes #94366
12371
2002-10-10 James Willcox <jwillcox@gnome.org>
12373
* Makefile.am: Add the egg-recent stuff, and panel-recent.[ch]
12374
* panel-recent.[ch]: stuff for adding recent documents menus
12375
* foobar-widget.c: (append_actions_menu): Add a recent docs menu
12376
* menu.c: (create_root_menu): same
12378
2002-10-10 Yanko Kaneti <yaneti@declera.com>
12380
* eggaccelerators.c (is_hyper, is_meta, is_super): resync with libegg.
12381
Fix typos in array indexing, fix from Ralph Loader bug #93005.
12383
2002-10-07 Mark McLoughlin <mark@skynet.ie>
12385
Fixes problem with keybindings not working on any screen but
12386
the default (#93757). Root cause identified by Erwan Chenede.
12388
* global-keys.[ch]:
12389
(screen_from_event): kill.
12390
(panel_global_keys_filter): don't use screen_from_event,
12391
just use the passed in screen.
12393
* xstuff.c: (xstuff_init): register the GdkScreen as
12396
2002-10-07 Mark McLoughlin <mark@skynet.ie>
12398
Support RandR extension by resizing the toplevel panels
12399
if the screen size has changed. Based on patch from
12400
Keith Packard - #94561. Requires gtk+ HEAD.
12402
* basep-widget.[ch]: (basep_widget_screen_size_changed):
12403
* foobar-widget.[ch]: (foobar_widget_screen_size_changed):
12404
resize the toplevels when the screen size changed.
12406
* multiscreen-stuff.c:
12407
(multiscreen_screen_size_changed): re-initialise and request
12408
a resize on the toplevels.
12409
(multiscreen_support_init): connect to the "size_changed"
12410
signal on all screens.
12411
(multiscreen_reinit): re-initialise the monitor geometries.
12413
2002-10-04 Frederic Crozat <fcrozat@mandrakesoft.com>
12415
* applet.c: (panel_applet_load_from_unique_id):
12416
Don't swap launchers when loading drawer (bug #84744)
12418
2002-10-04 Mark McLoughlin <mark@skynet.ie>
12420
* menu-fentry.c: (fr_read_dir): if there's no
12421
.directory then use the uri basename as the
12422
fullname. Fixes new folder not being sorted
12423
correctly in #91810.
12425
* menu-fentry.h: kill fr_force_reread.
12427
2002-10-04 Mark McLoughlin <mark@skynet.ie>
12429
* menu.c: (menu_button_menu_popup): pass the
12430
widget to the menu position fuction, rather
12431
than the AppletInfo struct.
12433
2002-10-01 Mark McLoughlin <mark@skynet.ie>
12435
* applet.c: (applet_show_menu): use
12436
panel_position_applet_menu.
12438
* basep-widget.[ch], border-widget.c, drawer-widget.c:
12439
floating-widget.c: kill all get_menu_pos() code.
12441
* menu-util.[ch]: (panel_position_applet_menu): impl
12442
popping up the menu outside of the applets.
12445
(panel_make_sure_menu_within_screen): upd.
12446
(menu_button_menu_popup): use panel_position_applet_menu.
12448
2002-09-27 Alexander Larsson <alexl@redhat.com>
12457
* panel-stock-icons.c:
12458
Update to the new icon theme API.
12460
2002-09-24 Mark McLoughlin <mark@skynet.ie>
12462
Add a new PanelActionButton widget so we can
12463
generically do action buttons. Fixes #84740.
12465
* Makefile.am: remove logout.[ch] from the build
12466
and add panel-action-button.[ch]. Also generate
12467
enums from panel-action-button.h.
12469
* applet.[ch]: add support for a generic "action button"
12470
applet and convert old lock/logout buttons into one of
12471
these for backwards compat.
12473
* foobar-widget.c: (append_actions_menu): use action
12474
callback from panel-action-button.h and setup dnd
12475
for screenshot, run and search menu items. Remove
12476
"Show Desktop" menu item.
12478
* logout.[ch]: remove.
12481
(add_action_button_to_panel): impl.
12482
(make_add_submenu): add screenshot, run and search
12484
(create_desktop_menu), (create_root_menu): setup
12485
dnd for screenshot, run and search menu items.
12487
* panel.c: (drop_internal_applet): impl new dnd
12488
for action buttons.
12490
* xstuff.[ch]: (xstuff_show_desktop): remove.
12492
2002-09-24 Mark McLoughlin <mark@skynet.ie>
12494
Implement support for stock ids in ButtonWidget and
12495
use them for the lock button and logout button.
12497
* button-widget.[ch]:
12498
(button_widget_load_pixbuf_and_scale): add support for
12499
loading stock icons.
12500
(button_widget_reload_pixbuf): split out from set_property().
12501
(button_widget_finalize): free the stock ids.
12502
(button_widget_get_property), (button_widget_set_property):
12503
(button_widget_class_init), impl "stock-id" property.
12504
(button_widget_new_from_stock), (button_widget_set_stock_id):
12507
* logout.c: (create_logout_widget), (create_lock_widget):
12508
use stock ids for icons.
12510
2002-09-24 Mark McLoughlin <mark@skynet.ie>
12512
* launcher.c: include xstuff.h.
12514
* xstuff.c: (draw_zoom_animation): don't
12515
use gdk_color_alloc() - its deprecated.
12517
2002-09-24 Mark McLoughlin <mark@skynet.ie>
12520
(button_widget_load_pixbuf_and_scale): split out from
12521
size_allocate(). Load the pixbuf here.
12522
(button_widget_finalize): use a finalize handler instead
12523
of a destroy handler.
12524
(button_widget_get_property),
12525
(button_widget_set_property): use GObject properties for
12526
all construct time params.
12527
(button_widget_size_allocate): use load_pixbuf_and_scale().
12528
(button_widget_new): pass all construct time properties
12529
to g_object_new and don't load the pixbuf here.
12530
(button_widget_set_pixmap): just set the GObject property.
12531
(button_widget_set_params): ditto.
12533
* button-widget.h: kill button_widget_set_text(), it seems
12534
this is totally unused as we set the tooltips elsewhere.
12535
Don't pass size to button_widget_set_pixmap.
12537
* drawer.c, launcher.c, logout.c, menu.c: update for
12538
button-widget changes above.
12540
* panel-types.h: actually define PanelOrient as an enum
12541
so glib-mkenums will pick it up.
12543
2002-09-19 jacob berkman <jacob@ximian.com>
12545
* launcher.c (launch_cb): draw a zoom thingie when clicked
12547
* xstuff.[ch] (xstuff_zoom_animate):
12548
(draw_zoom_animation): draw a square which zooms to the screen
12551
2002-09-19 Arvind Samptur <arvind.samptur@wipro.com
12553
* gnome-panel-screenshot.c: waitpid could fail
12554
due to a interuptted system call, loop till you
12555
succeed. Fixes #92651
12557
2002-09-19 Mark McLoughlin <mark@skynet.ie>
12559
* launcher.c: Change the launchers icon when the
12560
icon loader's 'changed' signal is emitted. Based
12561
on patch from Rajkumar Sivasamy <rajkumar.siva@wpiro.com>.
12564
2002-09-16 Mark McLoughlin <mark@skynet.ie>
12566
* Makefile.am, multihead-hacks.h: kill multihead-hacks.h
12568
* applet.c, basep-widget.c, button-widget.c, foobar-widget.c,
12569
global-keys.c, gnome-desktop-item-edit.c, gnome-run.c,
12570
launcher.c, logout.c, menu-ditem.c, menu-util.c, menu.c,
12571
multiscreen-stuff.c, panel-applet-frame.c, panel-config.c,
12572
panel-shell.c, panel-util.c, panel.c, xstuff.c: remove all
12573
multihead conditionals as we require gtk+ 2.1.0 now.
12575
2002-09-03 Padraig O'Briain <padraig.obriain@sun.com>
12577
* basep-widget.[ch]:
12578
Add action signal "popup-panel-menu"; bind it to Ctrl+F10; add
12579
basep_widget_popup_panel_menu() to pop up the panel's menu.
12581
* foobar-widget.[ch]:
12582
Add action signal "popup-panel-menu"; bind it to Ctrl+F10; add
12583
foobar_widget_popup_panel_menu() to pop up the panel's menu.
12585
* panel-widget.[ch]:
12586
Remove action signal "popup-panel-menu".
12588
These changes fix bug #92134, cause Ctrl+F10 to display panel's menu
12589
when focus is on a show/hide button.
12591
2002-09-12 Mark McLoughlin <mark@skynet.ie>
12594
(icon_to_load_copy), (icon_to_load_free),
12595
(panel_load_menu_image_deferred_with_size): don't
12596
bother strdup-ing the stock ids.
12598
2002-09-12 Soeren Sandmann <sandmann@daimi.au.dk>
12601
(do_icons_to_add), (load_icons_handler):
12602
Delay actually setting the icon on the GtkImage
12603
until we have loaded all the icons. This fixes
12604
a nasty performance issue where the menu's
12605
allocation was being continually recalculated as
12608
2002-09-12 Mark McLoughlin <mark@skynet.ie>
12610
* drawer-widget.c: (drawer_pos_get_pos):
12611
* panel.c: (state_hide_foreach): use the
12612
absolute value for the width and height when
12613
hidding the drawer in case the width or height
12614
is negative. Should fix #91636.
12616
2002-09-12 Mark McLoughlin <mark@skynet.ie>
12618
* panel-config.[ch]:
12619
(update_config_back): just set the history on the
12620
option menu, don't activate the menu item. Also,
12621
just use the PanelBackType enum for the history ids.
12622
(background_type_changed): rename from set_back() and
12624
(background_page): fix broken use of menuitem's 'activate'
12625
signal instead of the option menu's 'changed' signal.
12628
2002-08-21 Havoc Pennington <hp@pobox.com>
12630
* gnome-run.c (show_run_dialog): remove GTK_WIN_POS_MOUSE, it's a
12634
2002-09-11 Arvind Samptur <arvind.samptur@wipro.com>
12636
* gnome-panel-screenshot.c: Avoid the defunct process
12637
by doing waitpid at the point you fork. Fixes #92651.
12639
2002-09-11 Pasupathi Duraisamy <pasupathi.duraisamy@wipro.com>
12641
* launcher.c: Add mnemonic to 'Help on %s Application'.
12644
2002-08-28 Arvind Samptur <arvind.samptur@wipro.com>
12646
* menu.c (drag_data_get_menu_cb): disable the tooltips
12647
when the drag is on.
12648
(drag_end_menu_cb): enable the tooltips once the drop is
12651
2002-09-12 Mark McLoughlin <mark@skynet.ie>
12653
* panel-applet-frame.c:
12654
(panel_applet_frame_get_background_string): if we haven't
12655
actually rendered a pixmap background then just pretend
12656
this is the default background. Fixes #91198.
12658
2002-09-12 Mark McLoughlin <mark@skynet.ie>
12660
Fix #90664 by giving focus to the PanelWidget
12661
in a newly created drawer.
12662
Patch from Padraig O'Briain.
12664
* drawer-widget.c: (drawer_widget_new): allow the
12665
PanelWidget to be focused.
12667
* drawer.c: (load_drawer_applet): set the focus on
12670
2002-09-12 Mark McLoughlin <mark@skynet.ie>
12672
Fixes #90317 by explicitly destroying panels on receipt
12673
of a Die from the session manager rather than just
12674
exiting the mainloop. Apparently embedded out of process
12675
embedded windows don't cope with this too well - thanks
12676
to Owen for pointing this fact out.
12679
(panel_applet_clean): do anything required to effect
12680
permanent removal of the applet here.
12681
(applet_idle_remove): kill set_clean_remove stuff.
12682
(panel_applet_destroy): only clear up our data and refs
12683
here rather than permanently removing the applet.
12685
* basep-widget.c: remove some bogus whitepsace.
12687
* menu.c: (remove_panel_accept): if the panel is a drawer,
12688
then also remove the associated applet. Permanently remove
12691
* panel-applet-frame.[ch]:
12692
(panel_applet_set_clean_remove),
12693
(panel_applet_get_clean_remove), (popup_handle_remove),
12694
(panel_applet_frame_instance_init): kill unused 'clean_remove'
12695
stuff. No idea how/why that got there.
12698
(panel_widget_finalize): don't remove the panel from the
12700
(panel_widget_destroy): don't permanently remove the panel
12704
(panel_remove_applets): kill 'clean_remove' stuff.
12705
(panel_destroy): don't remove the applet associated with
12708
* session.c: (panel_session_die): iterate over a copy of
12709
the global list of panels and destroy them.
12711
2002-08-31 Jacob Berkman <jacob@ximian.com>
12713
* Makefile.am: add -lpopt to LDFLAGS
12715
Thu Aug 29 10:35:23 2002 George Lebl <jirka@5z.com>
12717
* gnome-panel-screenshot.c: Check for NULL return from the
12718
gdk_window_foreign_new function and exit nicely if that is the
12719
case. Probably very rare, fixes #91744
12721
Thu Aug 29 10:25:24 2002 George Lebl <jirka@5z.com>
12723
* gnome-panel-screenshot.c: Apply patch from Owen Taylor for bug
12724
#10778 to avoid taking screenshot multiple times by using
12727
Thu Aug 29 10:16:16 2002 George Lebl <jirka@5z.com>
12729
* gnome-run.c: Fix #91766 by converting from utf8 when getting text
12730
from the text entry, also convert to utf8 when appending using the
12733
Tue Aug 27 16:17:09 2002 Jonathan Blandford <jrb@redhat.com>
12735
* gnome-panel-preferences.desktop.in: OnlyShowIn=GNOME;
12737
2002-08-23 Alex Graveley <alex@ximian.com>
12739
* menu.c: Re-enable menu editing by applying patch from Bug #77848.
12741
2002-08-21 Kjartan Maraas <kmaraas@gnome.org>
12743
* menu.c: Fix a typo in a string. #90953.
12745
2002-07-13 Havoc Pennington <hp@pobox.com>
12747
Try fixing panel to allow Mod2-Mod5 accels. This fix is a drop in
12748
the bucket though, this code needs a lot of help.
12750
* eggaccelerators.h: copy in from libegg to use in fixing
12751
global-keys.c. evil cut-and-paste code.
12753
* global-keys.c (grab_key): dynamically get ignored mods
12755
* global-keys.h: remove IGNORED_MODS and USED_MODS, any uses of
12758
2002-08-27 Mark McLoughlin <mark@skynet.ie>
12760
* panel-util.h, panel-access.c:
12761
(is_gail_loaded): simplify.
12762
(panel_set_atk_name_desc): rename from add_atk_name_desc.
12763
(panel_set_atk_relation): rename from set_relation, also
12764
remove unused 'set_for' parameter.
12766
* foobar-widget.c: (foobar_widget_instance_init):
12767
* gnome-run.c: (create_program_list_contents):
12768
* launcher.c: (setup_button):
12769
* menu.c: (create_new_panel):
12770
* panel-config.c: (make_position_widget_accessible),
12771
(make_position_widget), (floating_notebook_page),
12772
(sliding_notebook_page), (make_size_widget), (background_page):
12773
* panel-util.c: (create_text_entry), (create_icon_entry):
12774
update for above changes.
12776
2002-08-25 Anders Carlsson <andersca@gnu.org>
12778
* panel.c: (panel_realize):
12779
No need to set the default cursor here; just use the one from the
12782
Sun Aug 25 02:57:54 2002 George Lebl <jirka@5z.com>
12784
* launcher.c: Fix redhat bug #72540 by hoarding launchers not in
12785
our private path on gconf load
12787
2002-08-21 Satyajit Kanungo <satyajit.kanungo@wipro.com>
12789
* menu.c :show_panel_help(), Removed the sectionId from
12790
the help callback to show the TOC page. #91274
12792
2002-08-14 Mark McLoughlin <mark@skynet.ie>
12794
* applet.c: (panel_applet_save_position): don't
12795
save the position backwards if it isn't a packed
12796
panel. The saved position only has the effect of
12797
ordering the applets on packed panels, not actually
12798
specifying the position. Fixes #90598.
12800
2002-08-13 Mark McLoughlin <mark@skynet.ie>
12802
Register all panel icons with GtkIconFacory and
12803
use stock ids when rendering icons. Also register
12804
two named icon sizes to allow future icon size
12805
theming. Fixes #89063.
12807
* panel-stock-icons.h: list of stock ids.
12809
* panel-stock-icons.c:
12810
(panel_menu_icon_get_size), (panel_foobar_icon_get_size):
12811
accessors for our named GtkIconSizes.
12812
(panel_init_stock_icons): register stock icons here. Default
12813
to GTK_STOCK_MISSING_IMAGE if we can't find the icon. Note,
12814
that GnomeIconLoader is still used to lookup the icon path
12815
first, so you can still theme these icons using GnomeIconLoader,
12816
except the gtk theme will override it. Not sure how much sense
12818
(panel_init_stock_items): register our modified stock gtk items
12819
here (only the run button currently).
12820
(panel_init_stock_icons_and_items): call both of the above but
12821
also register our named icon sizes.
12823
* Makefile.am: add panel-stock-icons.[ch] to the
12826
* distribution.c: use stock icons.
12828
* distribution.h: s/menu_icon/stock_icon/
12830
* foobar-widget.c: (append_actions_menu),
12831
(foobar_widget_instance_init): use stock icons. Also
12832
use special icon size for foobar icon. I don't think
12833
it makes sense for that to be the same size as the menu
12837
(add_icon_idle): look up actual icon size.
12838
(register_run_stock_item): moved into panel-stock-icons.c.
12839
(show_run_dialog): s/PANEL_STOCK_RUN/PANEL_STOCK_EXECUTE/.
12841
* main.c: (main): init stock icons.
12843
* menu-fentry.h: kill MenuFinfo::pixmap_name. Seems to have been
12844
totally unused. Also removed a pile of related code from menu.c.
12846
* menu-util.[ch]: (stock_menu_item_new): rename pixmap_menu_item_new
12847
and use stock ids instead of filenames.
12850
(load_icons_handler): render a stock icon if requested.
12851
(image_menuitem_size_request): actually lookup the icon size.
12852
(applet_menu_get_category_icon): use a hash of stock ids instead
12854
(create_applet_menu): use stock icons for categories. Applet icons
12855
should be themed with GnomeIconLoader.
12856
(create_add_panel_submenu): use stock icons.
12857
(setup_stock_menu_item): rename from setup_menuitem_try_pixmap.
12858
(make_add_submenu): use stock icons.
12859
(make_panel_submenu), (create_panel_submenu): use panel icon size,
12860
instead of gtk icon size.
12861
(create_desktop_menu): (add_distribution_submenu),
12862
(add_kde_submenu), (create_root_menu): use stock icons.
12863
(panel_load_menu_image_deferred_with_size): allow the use of
12864
stock icons and filenames.
12865
(panel_load_menu_image_deferred): actually lookup the icon size.
12867
* menu.h: remove create_menu*, they're static now.
12869
2002-08-11 Mark McLoughlin <mark@skynet.ie>
12871
* drawer.c: (drawer_save_to_gconf): save the
12872
associated panel when saving the drawer.
12874
* main.c: (main): don't kill free drawers. They're
12875
not used at this point because we're loading drawers
12876
in idle now. Fixes #90443.
12878
2002-08-11 Mark McLoughlin <mark@skynet.ie>
12880
* gnome-panel-screenshot.glade: kill the seperator.
12882
2002-08-11 Mark McLoughlin <mark@skynet.ie>
12884
* gnome-run.c: (remove_parameters): impl stripping
12885
desktop item Exec parameters.
12886
(sync_list_to_entry): Use it when setting the entry
12887
from the treeview. Fixes #90200.
12889
2002-08-11 Mark McLoughlin <mark@skynet.ie>
12891
* edge-widget.c: (edge_widget_new): hey ! edge widgets
12892
shouldn't have packed PanelWidgets should they? Well,
12893
they have since Aug99 ... very, very confused.
12895
* panel-applet-frame.[ch]: (panel_applet_frame_get_size_hints):
12896
return the number of hints, not the hints themselves.
12899
(allocate_dirty_child), (panel_widget_size_request),
12900
(panel_widget_size_allocate): handle expanding applets
12901
on 'packed' panels. Fixes #89266.
12903
2002-08-07 Padraig O'Briain <padraig.obriain@sun.com>
12905
* menu.c (create_new_panel): Call gtk_window_present() to give
12906
newly created panel focus (bug #90084)
12908
2002-08-10 Mark McLoughlin <mark@skynet.ie>
12910
* gnome-panel-screenshot.glade: handle "delete_event".
12913
2002-08-09 Satyajit Kanungo <satyajit.kanungo@wipro.com>
12915
* gnome-panel-screenshot.c : Corrected the help links for help on
12918
2002-08-08 Mark McLoughlin <mark@skynet.ie>
12920
* Makefile.am: add egg-screen-exec file to the build.
12923
(panel_show_help), (panel_show_gnome_help),
12924
(panel_show_kde_help), (panel_show_gnome_kde_help):
12925
add a GdkScreen* arg and use the egg_screen_help
12926
variants in all of these.
12928
* applet.c, launcher.c, menu-ditem.c, menu.c,
12929
panel-config.c: pass a GdkScreen* to the help
12930
functions and use egg_screen_url_show instead of
12933
2002-08-07 Mark McLoughlin <mark@skynet.ie>
12935
* Makefile.am: link against XSHAPE_LIBS. Fixes #90000.
12937
* gnome-panel-screenshot.c: (take_window_shot):
12938
dont' use the shape extension if the header wasn't
12941
2002-08-06 Mark McLoughlin <mark@skynet.ie>
12943
Fixes #84744, applets not loading in the correct order,
12944
by loading all types of applets in the idle handler, in
12945
the same order as they should appear on the panels.
12948
(panel_applet_load_idle_handler): handle loading all types
12950
(panel_applet_load_from_unique_id): queue all applets for
12952
(panel_applet_compare): impl.
12953
(panel_applet_load_applets_from_gconf): sort the queued
12954
applets and run the idle handler over them.
12956
2002-08-05 Anders Carlsson <andersca@gnu.org>
12958
* gnome-panel-screenshot.c: (save_to_file_internal),
12959
(on_preview_expose_event), (take_window_shot):
12960
Add support for making shaped windows transparent.
12962
2002-08-05 Mark McLoughlin <mark@skynet.ie>
12964
* menu.c: (make_add_submenu): s/button/Button/
12966
2002-08-05 Mark McLoughlin <mark@skynet.ie>
12968
* applet.c: (panel_applet_register): focus the
12969
object as its added to the panel. #88202.
12971
2002-08-05 Mark McLoughlin <mark@skynet.ie>
12973
* foobar-widget.c: (append_actions_menu): if the wm
12974
supports it, add a 'Show Desktop' item. #61988.
12977
(panel_atom_get): remove display arg. We always use the
12978
default display - no multidisplay support here.
12979
(xstuff_net_wm_supports): impl.
12980
(xstuff_show_desktop): send _NET_SHOW_DESKTOP ClientMessage.
12982
2002-08-05 Mark McLoughlin <mark@skynet.ie>
12984
* panel-applet-frame.c: (register_stock_item),
12985
(panel_applet_frame_loading_failed): determine
12986
whether or not the user wants to remove the
12987
failed applet from the configuration. Fixes #89173.
12988
(panel_applet_frame_construct): use it.
12990
2002-08-05 Mark McLoughlin <mark@skynet.ie>
12993
(basep_calculate_borders): kill really silly silly.
12996
2002-08-05 Mark McLoughlin <mark@skynet.ie>
12998
* menu.c: (restore_grabs): don't change cursor
12999
when restoring menu grab. Fixes #89631.
13001
2002-08-02 Mark McLoughlin <mark@skynet.ie>
13004
(find_empty_border_and_anchor): impl figuring
13005
out the best place to use a sliding panel.
13006
(create_new_panel): use it. Fixes #87733.
13008
* xstuff.c: (xstuff_set_pos_size): don't set the
13009
hint unless the size has actually changed.
13011
2002-08-01 Mark McLoughlin <mark@skynet.ie>
13013
* session.c: (panel_quit): request a Global
13016
2002-07-31 Mark McLoughlin <mark@skynet.ie>
13018
* button-widget.c, logout.c: include multihead-hacks.h.
13020
* multihead-hacks.h: add gtk_widget_get_screen stub.
13022
2002-07-30 Mark McLoughlin <mark@skynet.ie>
13025
(menuitem_button_press_event): rename from show_item_menu_mi_cb.
13026
(setup_full_menuitem): only connect to "button_press_event"
13029
2002-07-30 Mark McLoughlin <mark@skynet.ie>
13031
Don't allow moving objects to explicitly hidden panels. It
13032
makes little sense and is less confusing. Fixes #89317.
13035
(panel_widget_applet_move_to_cursor): don't check for
13036
-1 return value from reparent - it returns a bool.
13037
(panel_widget_reparent): return FALSE and canel the
13038
reparent if trying to move to an explicitly hidden
13039
panel. Also, return TRUE (not the position) if reparent
13042
2002-07-29 Mark McLoughlin <mark@skynet.ie>
13044
* gnome-panel-screenshot.glade: set "directory_entry"
13045
flag on the file selector to false. Fixes #89037.
13047
2002-07-29 Mark McLoughlin <mark@skynet.ie>
13049
* menu.c: (create_menuitem): Check if fr->comment
13050
is an empty string before setting tooltip. Pointed
13051
out by Arvind, #88484.
13053
2002-07-27 Mark McLoughlin <mark@skynet.ie>
13055
* basep-widget.c: (basep_widget_focus_in_event): update
13056
blurb about unhiding explicitly hidden panels to include
13057
pointers to #89179 and #89180.
13059
2002-07-27 Mark McLoughlin <mark@skynet.ie>
13061
* basep-widget.c: (basep_widget_focus_in_event): remove
13062
bogus autoshowing on focus that was supposed to fix
13063
#81041. Ths solution for this needs a lot more
13064
consideration - see #83476 for issues.
13066
2002-07-27 Mark McLoughlin <mark@skynet.ie>
13069
(panel_applet_clean_gconf): don't take AppletInfo as an
13070
arg so we can clean an unregistered applet. Don't free
13071
the gconf key here.
13072
(panel_applet_clean): upd for above.
13074
* panel-applet-frame.c:
13075
(panel_applet_frame_construct): if loading fails, delete
13076
applet from the configuration - fixes #89051. This should
13077
be optional but will have to wait until 2.2.x - see #89713.
13079
2002-07-26 Mark McLoughlin <mark@skynet.ie>
13081
* gnome-panel-screenshot.c:
13082
(nibble_on_file), (save_to_file), (gimme_file): sanity
13083
checks so we don't crash on Solaris trying to do
13084
printf ("%s", NULL);
13086
2002-07-25 Padraig O'Briain <padraig.obriain@sun.com>
13088
* panel-widget.c (panel_widget_reset_focus): This function is called
13089
when object is deleted from panel. Reimplement function to ensure
13090
that focus goes to PanelWidget if no objects remaining on panel and
13091
goes to next or previous object if there are remaining objects.
13094
2002-07-24 Padraig O'Briain <padraig.obriain@sun.com>
13096
* drawer.c (key_press_drawer): Allow any arrow key to move focus to
13097
object in drawer when focus is on drawer icon. Ensure that arrow keys
13098
have no effect if drawer is closed. (bug #88782)
13100
* menu.c (panel_menu_key_press_handler): Ensure that Shift+F10 has
13101
no effect for menus without context menus. (bug #88861)
13103
2002-07-23 Mark McLoughlin <mark@skynet.ie>
13105
* drawer.c: (properties_apply_callback): kill unused (apart
13106
from freeing whatever random data it points too) variable.
13109
2002-07-24 Mark McLoughlin <mark@skynet.ie>
13111
Fixes #84101 - were casting a GtkButton to GtkMenu.
13114
(lock_button_pressed): impl. to use panel_lock_screen.
13115
(create_lock_widget): use it here.
13117
* menu.[ch]: (panel_menuitem_lock_screen): rename from panel_lock.
13118
(create_desktop_menu): update.
13120
* panel-util.[ch]: (panel_lock_screen): implement.
13122
* foobar-widget.c: (append_actions_menu): use panel_menuitem_lock.
13124
2002-07-23 Frank Worsley <fworsley@shaw.ca>
13126
* gnome-panel-screenshot.glade:
13127
don't expand the options frame when resizing
13129
* launcher.c: (launcher_get_unique_uri):
13132
2002-07-23 Padraig O'Briain <padraig.obriain@sun.com>
13134
* drawer.c (key_press_drawer_widget): New key-press-event handler for
13135
DrawerWidget to support Esc closing the drawer and Shift+Esc moving
13136
focus to drawer button without closing drawer when focus is in
13137
drawer. (bug #87839)
13139
2002-07-23 Mark McLoughlin <mark@skynet.ie>
13141
* drawer.c: (properties_apply_callback): kill unused (apart
13142
from freeing whatever random data it points too) variable.
13145
2002-07-19 Deepa Natarajan <deepa.natarajan@wipro.com>
13147
* logout.c, menu.c, drawer.c, launcher.c: Add mnemonics for right
13148
click popup menus of : Launcher, Drawer, Log Out Button, Lock button
13149
& gnome foot menu. Fixes bug #88503.
13151
2002-07-19 Deepa Natarajan <deepa.natarajan@wipro.com>
13153
* applet.c, GNOME_Panel_Popup.xml: Add mnemonics for Move and Remove
13154
From Panel popup menu options. Fixes bug #86501.
13156
2002-07-22 Mark McLoughlin <mark@skynet.ie>
13158
* panel-applet-frame.c:
13159
(panel_applet_reload_response): if our parent has disappeared
13160
forget about reloading.
13161
(panel_applet_frame_cnx_broken): take a ref on the frame. #88432.
13163
* panel-util.[ch]: (panel_signal_connect_while_alive),
13164
(panel_signal_connect_object_while_alive): upd signatures
13165
to be more gobject like.
13167
2002-07-22 Mark McLoughlin <mark@skynet.ie>
13169
* panel-applet-frame.c: (panel_applet_frame_reload_response):
13170
Only reload the applet on GTK_RESPONSE_YES. #88098.
13172
2002-07-19 Mark McLoughlin <mark@skynet.ie>
13174
Based on patch from Arvind to fix #88430.
13177
(launcher_properties_destroy): impl to destroy the properties dialog.
13178
(destroy_launcher): use it.
13180
* panel.c: (panel_remove_applets): ditto.
13182
2002-07-19 Mark McLoughlin <mark@skynet.ie>
13184
* gnome-panel-preferences.glade: fix clash in mnemonics.
13186
2002-07-18 Mark McLoughlin <mark@skynet.ie>
13188
* panel-config-global.c: include panel-gconf.h to
13191
Tue Jul 16 12:29:31 2002 George Lebl <jirka@5z.com>
13193
* panel-config.c, basep-widget.c: Two more RTL language fixes. First
13194
the position widget for the panel position can't be switched and
13195
second the table in the basep is also visual rather then logical.
13196
This fixes all the RTL issues I could find when playing with an
13197
arabic panel (it's hard to test something if you don't speak the
13200
Tue Jul 16 12:18:02 2002 George Lebl <jirka@5z.com>
13202
* foobar-widget.c: set the direction of the foobar hbox to be LTR
13203
as otherwise it is completely whacked in RTL locales.
13205
2002-07-15 Mark McLoughlin <mark@skynet.ie>
13208
(button_widget_new), (button_widget_set_pixmap): realise
13209
error dialogs on the default screen.
13211
* menu.c: (remove_panel_query): remove #ifdef HAVE_GTK_MULTIHEAD.
13213
2002-07-14 Frank Worsley <fworsley@shaw.ca>
13215
* gnome-run.c: (launch_selected), (run_dialog_response):
13216
always save command in history (fix #83891)
13217
(fill_list): check item not null before adding to list (fix #85762)
13218
(update_contents): display 5 items in list by default (fix #81930)
13220
Fri Jul 12 10:06:16 2002 George Lebl <jirka@5z.com>
13222
* quick-desktop-reader.c: Apply parts of the patch from
13223
Hidetoshi Tajima that made sense, bug #84074
13225
* gnome-panel-preferences.desktop.in: add "Encoding=UTF-8" to
13226
conform to standard, damn we don't have this anywhere.
13228
2002-07-12 Mark McLoughlin <mark@skynet.ie>
13230
* panel-per-panel-config.schemas.in: fix the gnome-terminal
13231
launcher uri and use Nautilus instead of Netscape since
13232
we can't be sure of the location of Netscape.
13234
2002-07-12 Mark McLoughlin <mark@skynet.ie>
13236
* applet.c: (panel_applet_load_from_unique_id):
13237
* launcher.c: (create_launcher), (launcher_load_from_gconf):
13238
* menu.c: (menu_load_from_gconf): patch from Havoc to
13239
check for and print warnings about broken gconf settings. #84808.
13241
2002-07-12 Mark McLoughlin <mark@skynet.ie>
13243
* launcher.c: (load_launcher_applet_full): revert the disabling
13244
of the 'Help' menuitem that Glynn snuck past me in another
13247
Wed Jul 10 20:17:37 2002 George Lebl <jirka@5z.com>
13249
* button-widget.c: properly handle the empty icon case. Don't
13250
give an error on empty icon (NULL or "")
13252
Wed Jul 10 17:54:45 2002 George Lebl <jirka@5z.com>
13254
* launcher.c: fix segfault, and icon errors with adding launchers,
13255
don't free the return from getstring from a ditem, it's constant
13257
Wed Jul 10 16:50:27 2002 George Lebl <jirka@5z.com>
13259
* button-widget.[ch], launcher.c, logout.c, darawer.c, menu.c,
13260
panel-util.h: redo the icon loading logic a bit and leave more
13261
logic up to the loading code in button_widget. Failsafe code so
13262
that we always succeed even if we can't find gnome-unknown.png,
13263
in which case we make a white rectangle with a red X thorough it.
13265
Wed Jul 10 15:13:37 2002 George Lebl <jirka@5z.com>
13267
* quick-desktop-reader.c: revert all the patches that broke
13268
everything and fix #84074 the proper way. That is by checking
13269
for NULL at the place it crashed, rather then replacing the
13270
functions by other functions that do something completely
13273
2002-07-10 Mark McLoughlin <mark@skynet.ie>
13276
(button_load_pixbuf): rename and handle GErrors.
13277
(button_widget_new): display an error dialog if we
13278
can't load the pixbuf.
13279
(button_widget_set_pixmap): ditto.
13281
(drawer_click): kill debug.
13282
(free_drawer): implement.
13283
(create_drawer_applet): if creating button fails, free
13284
the drawer and return.
13285
(load_drawer_applet): use free_drawer as destroy notify
13288
* logout.c: (create_logout_widget), (create_lock_widget),
13289
(load_lock_applet): return if we failed to create the
13292
* menu.c: (create_panel_menu): ditto.
13294
2002-07-10 Mark McLoughlin <mark@skynet.ie>
13296
* gnome-panel-preferences.desktop.in: patch from Glynn
13297
to change tooltip. #87755.
13299
2002-07-09 Mark McLoughlin <mark@skynet.ie>
13301
* gnome-panel-preferences.glade: centre the animation
13302
speed menu. Should fix #84074.
13304
2002-07-09 Mark McLoughlin <mark@skynet.ie>
13306
* gnome-panel-preferences.glade: give the close button
13309
2002-07-09 Mark McLoughlin <mark@skynet.ie>
13311
* panel-config.c: slightly modified version of
13312
a patch from Glynn to add mnemonics and clean
13313
up the panel properties dialog. #85623.
13315
2002-07-09 Mark McLoughlin <mark@skynet.ie>
13318
(free_launcher): remove launcher from hoarding list.
13319
(launcher_idle_hoard), (launcher_hoard): hoard launchers
13320
in idle. Hopefully fixes #83373.
13322
* applet.c: (applet_destroy): Don't add dead launcher
13323
unless it has been hoarded.
13325
2002-07-09 Mark McLoughlin <mark@skynet.ie>
13327
* panel-gconf.[ch]: (panel_gconf_string_to_enum): impl
13328
with a fallback argument. Fixes #87133.
13330
* gnome-panel-preferences.c: (load_animation_menu): use
13331
panel_gconf_string_to_enum.
13333
* panel-config-global.c: (panel_global_config_set_entry):
13336
* panel.c: (panel_load_panels_from_gconf): ditto.
13338
2002-07-09 Mark McLoughlin <mark@skynet.ie>
13340
* gnome-panel-preferences.c:
13341
(animation_menu_changed): rename from option_menu_changed.
13342
(load_animation_menu): rename from load_option_menu, removing
13343
generic handling of option menus and checking string value
13344
before mapping to an enum. Fixes #86667.
13346
2002-07-09 Mark McLoughlin <mark@skynet.ie>
13348
* menu.c: (create_add_panel_submenu): make ordering
13349
of the 'New Panel' menu sane. Fixes #61599.
13351
2002-07-09 Mark McLoughlin <mark@skynet.ie>
13353
* gnome-panel-preferences.desktop.in: use X-GNOME-DocPath.
13355
2002-07-09 Mark McLoughlin <mark@skynet.ie>
13357
* launcher.c, menu.c: Patch from Glynn Foster
13358
to use X-GNOME-DocPath instead of DocPath.
13361
2002-07-09 Mark McLoughlin <mark@skynet.ie>
13363
* quick-desktop-reader.c: (get_encoding): Patch from
13364
Hidetoshi Tajima to use g_get_charset get the canonical
13365
name of the locale's charset. Fixes #84074.
13367
2002-07-08 Mark McLoughlin <mark@skynet.ie>
13369
* global-keys.c: (panel_global_keys_filter): patch
13370
from Glynn to pop up the global menu instead of
13371
panel context menu.
13373
2002-07-05 Rohit R <rohit.raveendran@wipro.com>
13375
* gnome-panel/gnome-panel-screenshot.c:
13376
Remove temp dir correctly and update the permissions
13377
for files and directories created.
13380
2002-07-04 Satyajit Kanungo <satyajit.kanungo@wipro.com>
13382
* menu.c: Changed the section Id for Panel Manual to point
13383
correct section in the help document.
13385
2002-07-03 Mark McLoughlin <mark@skynet.ie>
13387
* Makefile.am: add egg-screen-exec.[ch] to build.
13389
* applet.c, foobar-widget.c, global-keys.c, gnome-run.c,
13390
menu.c: use egg-screen-exec methods instead of the
13391
ones in panel-util.c.
13393
* panel-util.[ch]: kill screen-exec methods.
13395
2002-07-02 Mark McLoughlin <mark@skynet.ie>
13397
* gnome-panel-screenshot.c:
13398
* gnome-panel-screenshot.glade: Patch from Glynn Foster
13399
to add help button.
13401
2002-07-02 Mark McLoughlin <mark@skynet.ie>
13403
* gnome-panel-preferences.c: clean up, a lot. No
13404
global variables, use glade properly, error dialog
13405
if glade file not found ...
13407
* gnome-panel-preferences.glade: implement string changes
13408
recommended in #85651. Also remove extra useless widgets.
13410
2002-07-02 Mark McLoughlin <mark@skynet.ie>
13412
* panel-config.c: Various string changes from #85623.
13414
Mon Jul 1 16:44:35 2002 Jonathan Blandford <jrb@gnome.org>
13416
* gnome-run.c (sync_entry_to_list): do the icon finding in an idle
13417
instead of a timeout. There's no reason to be so slow here.
13419
* disclosure-widget.c (unrealize): We should really remove the
13420
timeout in an unrealize handler instead of finalize. Doesn't hurt
13421
to keep the finalize one around.
13423
2002-07-01 Glynn Foster <glynn.foster@sun.com>
13425
* menu.c: Set default response to delete your panel.
13427
2002-07-01 Glynn Foster <glynn.foster@sun.com>
13429
* menu.c: (create_panel_menu): s/Main Menu/GNOME Menu for the
13432
2002-07-01 Glynn Foster <glynn.foster@sun.com>
13434
* menu.c: (remove_panel_query): Don't expose the
13435
term 'applet' to the user - yeah, yeah, I know we still
13436
have this stuff in the user docs.
13438
2002-07-01 Mark McLoughlin <mark@skynet.ie>
13440
String changes and UI consistency changes from
13441
#85344, #85619, #85620, #82586 and 85622. Based
13442
partially on a patch from Glynn Foster.
13444
* Makefile.am: remove menu-properties.[ch].
13446
* applet.c: (applet_callback_callback): remove
13447
properties callback.
13449
* distribution.c, drawer.c, foobar-widget.c,
13450
launcher.c: string changes.
13452
* menu.c: various string changes, mnemonics, fixing
13453
the delete panel dialog, removing global preferences
13454
menuitem and removing menu properties menu item.
13456
* panel-applet-frame.c: (panel_applet_frame_cnx_broken):
13459
2002-07-01 Mark McLoughlin <mark@skynet.ie>
13463
* panel-applet-frame.c: (panel_applet_frame_get_name): Sanity
13464
check sequence length and buffer before using.
13466
2002-07-01 Mark McLoughlin <mark@skynet.ie>
13470
* disclosure-widget.c:
13471
(finalize): remove the timeout.
13472
(expand_collapse_timeout): unset timeout tag if last time
13475
* panel-applet-frame.c: (panel_applet_frame_load_from_gconf):
13478
2002-07-01 Mark McLoughlin <mark@skynet.ie>
13480
* panel.c: (drag_data_recieved_cb), (panel_monitor_from_toplevel),
13481
(panel_is_applet_right_stick): move here from applet.c
13483
* panel-applet-frame.[ch]:
13484
(panel_applet_frame_load): add exactpos param and pass to
13485
panel_applet_register.
13486
(panel_applet_frame_load_from_gconf), pass exactpos = TRUE.
13487
(panel_applet_frame_reload_response): ditto.
13489
* applet.h: kill panel_applet_get_right_stick.
13491
* applet.c: (panel_applet_save_position): update for right_stick ()
13494
* menu.c: (add_bonobo_applet): add exactpos = FALSE.
13496
2002-06-26 Mark McLoughlin <mark@skynet.ie>
13498
* multihead-hacks.h:
13499
s/gdk_get_default_screen/gdk_screen_get_default/
13500
s/gdk_get_default_display/gdk_display_get_default/
13503
s/launch_env/launch_with_env/
13505
2002-06-25 Mark McLoughlin <mark@skynet.ie>
13507
* Makefile.am: add multihead-hacks.h
13509
* border-widget.[ch]:
13510
* drawer-widget.[ch]:
13511
* edge-widget.[ch]:
13512
* floating-widget.[ch]:
13513
* sliding-widget.[ch]:
13514
* aligned-widget.[ch]: pass screen and xinerama
13515
monitor number around.
13517
* basep-widget.[ch]:
13518
(basep_widget_class_init), (basep_widget_real_screen_change),
13519
(basep_widget_screen_change): screen_change signal now takes
13520
monitor and screen.
13521
(basep_widget_construct): set the screen to realize the
13523
(get_borders), (basep_calculate_borders), (basep_border_recalc),
13524
(queue_recalc_handler), (basep_border_queue_recalc),
13525
(basep_border_get): package the screena and monitor info
13526
up in a struct and pass it around.
13528
* applet.c: (applet_user_menu_get_screen): impl helper.
13529
(applet_callback_callback): use panel_execute_shell.
13530
(applet_show_menu): set screen info for menu.
13533
(create_empty_drawer_applet): make sure the drawer is on the
13537
(foobar_screenshot), (foobar_search): use panel_execute_sync.
13538
(add_window), (create_task_menu): make sure we use the right WnckScreen.
13539
(foobar_widget_new): set the screen on which to realize the panel.
13541
* global-keys.c: (screen_from_event): impl helper.
13542
(panel_global_keys_filter): make sure all menus, dialogs and
13543
programs come up on the right screen.
13545
* gnome-run.c: (get_environment): if DISPLAY is not already
13546
in the command, set it to the screen the dialog is on.
13547
(launch_selected), (run_dialog_response), (create_simple_contents),
13548
(show_run_dialog), (show_run_dialog_with_text): make sure dialogs
13549
etc. come up on the right screen.
13551
* launcher.c: (launcher_get_screen): helper method.
13552
(launch_url), (launch_cb), (drag_data_received_cb),
13553
(create_properties_dialog), (launcher_properties), (launcher_save),
13554
(launcher_show_help): dialogs on the right screen.
13556
* menu-ditem.c, menu-properties.c, menu-util.c,
13557
panel-applet-frame.c, panel-shell.c: ditto.
13559
* menu.c: make sure dialogs, menus and launcher apps come
13560
up on the right screen. Various updates for other changes.
13562
* multihead-hacks.h: some hacks to reduce the number
13563
of HAVE_GTK_MULTIHEADs needed.
13565
* multiscreen-stuff.c: (multiscreen_support_init): impl using
13566
gtk multihead apis.
13567
(multiscreen_init): use gdk_screen_get_(width|height).
13568
(multiscreen_screens), (multiscreen_monitors),
13569
(multiscreen_x), (multiscreen_y), (multiscreen_width),
13570
(multiscreen_height), (multiscreen_locate_coords),
13571
(multiscreen_locate_widget): use the screen number to
13572
index the geometries vector.
13575
(update_config_screen), (screen_set), (monitor_set),
13576
(make_misc_widget): add crappy UI for changing screens.
13578
* panel-per-panel-config.schemas.in: set "screen" and
13579
"monitor" key on all panels.
13582
(panel_screen_from_number): helper method.
13583
(panel_display_string): impl method to munge the
13584
DISPLAY string into one that will set the default screen
13585
to the one specified.
13586
(panel_munge_environment): impl method to change the
13587
value of DISPLAY in the environ array.
13588
(panel_execute_async), (panel_execute_shell),
13589
(panel_execute_command_line), (panel_ditem_launch): impl
13590
versions of these methods that will bring the launched
13591
app up on the correct screen.
13592
(panel_dialog), (panel_error_dialog), (panel_info_dialog):
13593
allow the screen on which to realize to be specified.
13595
* panel-widget.c: (panel_widget_applet_move_to_cursor): make
13596
sure the panels are on the same screen before trying to
13597
reparent the applet.
13599
* panel.c: (move_panel_to_cursor): use the correct root window
13600
when getting pointer coords.
13601
(panel_popup_menu): popup on the right screen.
13602
(panel_ensure_panel_per_screen): impl method to make sure
13603
there's at least one panel per screen.
13604
(panel_load_panels_from_gconf): use "screen" and "monitor"
13605
keys but keep support for "screen_id" key.
13606
(panel_save_to_gconf): save screen and monitor numbers.
13607
(panel_screen_from_toplevel), (panel_monitor_from_toplevel),
13608
(panel_screen_from_panel_widget), (panel_monitor_from_panel_widget):
13609
implement these utility methods.
13612
(xstuff_is_compliant_wm): use new multihead apis.
13613
(xstuff_init): set the event filter on the root window
13616
2002-06-22 Mark McLoughlin <mark@skynet.ie>
13618
* menu.c: (remove_panel_query): remove a stray
13619
gtk_window_set_screen.
13621
2002-06-21 Mark McLoughlin <mark@skynet.ie>
13623
Cleanups and bugfixes while doing mulitscreen support.
13624
Committing them now will make branching a lot easier.
13626
* Makefile.am: just link gnome-panel-preferences against
13627
rgb-stuff.c, not panel-util.c.
13629
* applet.c: (applet_callback_callback): use launcher_show_help.
13632
(basep_widget_class_init): use the glib marshaller.
13633
(basep_calculate_borders): simplify this code greatly.
13635
* disclosure-widget.c: fix some warnings. Should sync
13636
with gnome-media really.
13639
(foobar_widget_instance_init): pass the panel widget to
13640
create_root_menu to fix warnings.
13642
* gnome-panel-preferences.c: kill copied and pasted code.
13644
* gnome-run.c: kill loads of headers.
13647
(launcher_show_help): move code frmo applet_callback_callback.
13649
* menu-util.c: move screenshot and search launching code to
13652
* menu.c: (menu_get_panel): rename from get_panel_from_menu_data
13653
and simplify + fix.
13654
(create_new_panel): save the panels to gconf as they are created.
13656
* multiscreen-stuff.c:
13657
(multiscreen_init): split libxinerama code and plain code into
13658
seperate methods. Also leave room in geometries for multscreen
13659
as well as xinerama.
13660
(multiscreen_locate_coords), (multiscreen_locate_widget): renamed
13663
* panel-gconf.h: (panel_gconf_sprintf): use G_GNUC_PRINTF.
13665
* panel-marshal.list: kill VOID:INT. glib provides it.
13667
* panel-util.c: kill old battery code.
13669
* panel-widget.c: kill unused applet_about_to_die stuff.
13671
* panel.c: (move_panel_to_cursor): use the root window in
13672
gdk_window_get_pointer.
13673
(panel_setup): return PanelData.
13674
(panel_save_to_gconf): save xinerama monitor info in the
13676
(panel_monitor_from_toplevel): impl monitor info accessor.
13678
* session.c: kill loads of headers.
13680
* xstuff.c: (panel_atom_get): remove multidisplay stuff.
13681
(xstuff_setup_desktop_area): remove GNOME_PANEL_DESKTOP_AREA
13682
stuff. Nautilus now use _NET_WM_WORKAREA.
13684
2002-06-21 Mark McLoughlin <mark@skynet.ie>
13686
* gnome-panel-screenshot.glade2: rename to .glade.
13689
* gnome-panel-screenshot.c: (main): update.
13691
2002-06-17 Mark McLoughlin <mark@skynet.ie>
13693
* applet.c: (applet_callback_callback):
13694
* menu-properties.c: (properties_apply_callback):
13695
* menu.c: (show_item_menu): disable more non-working
13696
menu editing menu items.
13698
2002-06-18 Mark McLoughlin <mark@skynet.ie>
13700
* Makefile.am: use $(prefix)/$(DATADIRNAME)/locale instead
13701
of $datadir/locale for locale directory location. Reported
13702
by Hidetoshi Tajima in #83623.
13704
2002-06-10 Kjartan Maraas <kmaraas@gnome.org>
13706
* gnome-panel-preferences.c: Mark a string for translation.
13708
2002-06-08 Arvind Samptur <arvind.samptur@wipro.com>
13710
* panel-config.h : change the data types of
13711
x and y co-ordinates in _PerPanelConfig structure to
13712
match with that of _FloatingPos structure. Fixes #83375.
13714
2002-06-09 Mark McLoughlin <mark@skynet.ie>
13716
* quick-desktop-reader.c: (quick_desktop_item_load_uri): don't
13717
crash when we don't know the Name's locale. #84074. Patch from
13720
2002-06-03 Mark McLoughlin <mark@skynet.ie>
13722
* menu.c: (setup_full_menuitem),
13723
(panel_load_menu_image_deferred_with_size): fix
13724
scary, scary g_free on GObjects instead of
13725
g_object_unref. More than likely fixes #81690.
13727
2002-06-02 Satyajit Kanungo <satyajit.kanungo@wipro.com>
13729
* gnome-panel-preferences.c: Added a help button to the panel capplet
13730
and link the help document present in "user-guide".
13732
2002-05-31 Dave Camp <dave@ximian.com>
13734
* gnome-desktop-item-edit.c (get_uri): If the argument is already a uri,
13737
* panel-util.c (panel_uri_exists): Return FALSE without a warning
13738
for invalid uris. These two changes fix #83705.
13740
2002-05-31 Mark McLoughlin <mark@skynet.ie>
13742
* basep-widget.c (basep_widget_focus_in_event): add
13743
some code to handle auto-showing on FocusIn. Don't
13744
enable it because of problems. See #81041.
13746
2002-05-14 Jayaraj Rajappan <jayaraj.rajappan@wipro.com>
13748
* gnome-panel/panel-config.c - accessibility features described
13751
* gnome-panel/gnome-panel-preferences.glade - set atk relation
13752
between the label "Animation Speed:" and the option menu in
13753
the panel preferences window.
13755
Wed May 29 10:06:54 2002 George Lebl <jirka@5z.com>
13757
* basep-widget.c, panel-widget.[ch], panel.c, panel-marshal.list:
13758
remove all args from the back_change, size_change and orient_change
13759
signals. This removes some complexity that was not needed and
13760
fixes a marshalling bug found by Jorgen Viksell
13761
<jorgen.viksell@telia.com>
13763
* gnome-desktop-item-edit.c: allow editting of directories, fix
13764
error output. Allow editting non-existing .desktops and
13765
.directories, though it doesn't work too great with vfolders
13768
2002-05-29 Padraig O'Briain <padraig.obriain@sun.com>
13770
* button-widget.c (button_widget_expose): Caculate focus indication
13771
box correctly, i.e. include line with for start and end lines.
13773
2002-05-28 Satyajit Kanungo <satyajit.kanungo@wipro.com>
13774
* applet.c, gnome-run.c,launcher.c, menu-ditem.c,menu-properties.c,
13775
menu.c, panel-config.c : modified the help callbacks to fetch the
13776
help documents from the user-guide.
13778
* panel-util.c : panel_show_help() is modified to pass the user-guide name.
13780
Tue May 28 14:49:09 2002 George Lebl <jirka@5z.com>
13782
* menu-ditem.c: fix uri issues with creating new items, fix crash
13783
on creating new items, and convert name from utf8 before we attempt
13784
to use it as a filename
13786
2002-05-29 Mark McLoughlin <mark@skynet.ie>
13788
* Makefile.am: don't define PANELRC.
13790
* gnome-panelrc: zero this file.
13792
* panel.c: (panel_event): don't set state to SELECTED
13795
2002-05-28 Mark McLoughlin <mark@skynet.ie>
13797
* gnome-panel-screenshot.c: (add_file_to_path): convert translated
13798
filenames from utf8 to the locale encoding for filenames.
13800
* panel-applet-frame.c: (panel_applet_frame_construct): use
13801
g_signal_connect_object instead of constructing the closure
13804
2002-05-25 Mark McLoughlin <mark@skynet.ie>
13806
* applet.[ch]: (panel_applet_menu_set_recurse): rename and
13807
export this function.
13808
(applet_show_menu): upd.
13811
(menu_applet_reparented): impl to reset the menu data
13812
when the applet is reparented. Fixes #79719.
13813
(create_panel_menu): hook up to the reparent signal.
13815
* sliding-widget.[ch]: (sliding_pos_class_init),
13816
(sliding_widget_change_params): change the signatures
13817
of the offset_change and anchor_change signals. We don't
13818
use the params, we just need the notification.
13820
2002-05-23 Alex Larsson <alexl@redhat.com>
13822
reviewed by: mark@skynet.ie
13825
Create a global panel_icon_loader to handle icon theming.
13827
* button-widget.c: (loadup_file):
13828
* gnome-run.c: (find_icon_timeout), (selection_changed):
13829
* launcher.c: (setup_button), (ditem_set_icon):
13830
* menu-util.c: (get_pixmap):
13831
Use panel_icon_loader
13833
* menu.c: (icon_theme_changed), (panel_menu_new),
13834
(panel_make_menu_icon), (create_kde_menu), (image_menu_destroy),
13835
(panel_load_menu_image_deferred_with_size):
13836
Use panel_icon_loader, handle icon loader changes.
13839
Export panel_icon_loader
13841
2002-05-23 Padraig O'Briain <padraig.obriain@sun.com>
13844
rc file which ensures that SELECTED state for PanelWidget and its
13845
children is not visible, by default
13848
Update so that gnome-panelrc file is installed in $(datadir)
13850
* basep-widget.[ch]: foobar-widget.[ch]
13851
Remove move-focus-out signal as moving focus from applet to PanelWidget
13853
Remove basep_key_press, default signal handler for key_press_event
13856
(button_widget_expose) Highlight widget when it has focus
13857
Draw focus indication using style's focus-line-width" and
13860
* panel-marshal.list:
13861
Add BOOLEAN:VOID for new signal popup_panel_menu
13864
Add new signal popup_panel_menu which pops up context menu for
13865
PanelWidget; use Ctrl+F10 to activate the signal. This works when
13866
PanelWidget or applet has focus.
13867
Remove function panel_widget_save_key_event()
13868
Remove function panel_widget_focus_in_event() and
13869
panel_widget_focus_out_event()
13870
(panel_widget_finalize): Remove reference to panel->key_event
13871
(panel_widget_real_focus): Remove reference to panel->key_event
13872
which supported giving focus to PanelWidget when focus was inside
13873
an applet in another process. Remove CAN_FOCUS flag if PanelWidget
13877
(panel_end_move) Do not give focus to PanelWidget on mouse click
13878
(panel_widget_event): For key press, check whether focus widget is a
13879
GtkSocket; if so, activate binding for Ctrl+F10, popup panel menu.
13880
Set state to GTK_STATE_SELECTED for focus in.
13882
2002-05-24 Mark McLoughlin <mark@skynet.ie>
13884
* basep-widget.c: (basep_widget_class_init),
13885
(basep_pos_class_init), (basep_widget_focus_in_event): on
13886
focus in, autoshow an autohide panel. Fixes #81041.
13888
2002-05-23 Glynn Foster <glynn.foster@sun.com>
13890
* gnome-panel-screenshot.c: Add a default window icon. Clean up after
13893
Wed May 22 10:50:23 2002 George Lebl <jirka@5z.com>
13895
* gnome-run.c: fix #82428 by focusing the entry on show. Also zero
13896
out the GValue when trying to get icon, this should get rid of
13897
those random GValue warnings
13899
* menu.c, foobar-widget.c: patch from Gman to remove the RUN:NEW drag
13900
stuff since there is no longer such an applet fixes #82593
13902
* basep-widget.c: solved the moving (animation) while in metacity bug,
13903
still updates are not propagated as they should. Hmmm we'll have
13904
to figure something out with that. I think it has to do
13905
with double buffering or some such.
13907
Wed May 22 10:34:19 2002 George Lebl <jirka@5z.com>
13909
* menu.c: fix sim menu refcounting
13911
* menu-ditem.c: save after 2 seconds of inactivity. 5 was too long
13913
* gnome-run.c: fix some compile warning, also fix possible crash
13916
2002-05-22 Mark McLoughlin <mark@skynet.ie>
13918
* applet.c: (panel_applet_load_from_unique_id),
13919
(panel_applet_save_position): interpret the meaning of
13920
the 'right_stick' property slightly differently to
13921
fix #76925. This will break the ordering of your applets
13922
the first time you load a panel with this fix.
13924
2002-05-22 Mark McLoughlin <mark@skynet.ie>
13926
* applet.c: (whack_applet_to_load): kill setting
13927
panel_widget to NULL, just before we try and
13930
2002-05-22 Mark McLoughlin <mark@skynet.ie>
13932
Kill broken status dock. Will be replaced by a
13933
system tray (see freedesktop.org) impl beyond 2.0
13935
* applet.c, main.c, menu.c, panel.[ch], panel.h,
13936
session.c, xstuff.[ch]: kill all status dock
13939
* Makefile.am: removed status.[ch] from the build.
13941
* status-docklet.[ch], status.[ch]: removed these files.
13943
Mon May 20 17:12:06 2002 George Lebl <jirka@5z.com>
13945
* applet.c, basep-widget.c, gnome-panel-preferences.c,
13946
gnome-run.c, menu-fentry.c, menu.c, panel-config-global.c,
13947
panel-util.c, panel-widget.c, panel.c: Tried to verify GSList
13948
code and while at it did a bunch of slist code cleanup. Also
13949
I HATE !strcmp with a passion so I changed all such instances
13950
to strcmp(a, b) == 0.
13952
* basep-widget.c: some more descriptive property names/descs
13954
2002-05-20 Mark McLoughlin <mark@skynet.ie>
13956
* panel-applet-frame.c:
13957
(panel_applet_frame_reload_response),
13958
(panel_applet_frame_get_name), (panel_applet_frame_cnx_broken),
13959
(panel_applet_frame_construct): impl an 'applet died' dialog box
13960
using the CORBA connection "broken" signal. (#72362)
13962
* panel-config-global.h: kill auto_raise cruft.
13964
* panel-global-config.schemas.in: ditto.
13966
* applet.[ch]: (panel_applet_clean_gconf),
13967
(panel_applet_clean): add clean_gconf arg so we don't kill prefs
13968
when we are re-loading.
13969
(applet_idle_remove), (applet_destroy), (panel_applet_register):
13970
update for above change.
13972
* panel.c: (panel_destroy), (drop_internal_applet): update for
13973
panel_applet_clean change.
13975
2002-05-20 Mark McLoughlin <mark@skynet.ie>
13977
* Makefile.am: generate the .schemas file from the
13980
* panel-global-config.schemas.in:
13981
* panel-per-panel-config.schemas.in: renamed these from
13982
the .schema version - preserving cvs history.
13984
2002-05-19 Mark McLoughlin <mark@skynet.ie>
13986
* foobar-widget (set_das_pixmap): don't destroy the GtkImage
13987
every time the icon needs to be changed. Should fix #81690.
13989
Fri May 17 21:34:44 2002 George Lebl <jirka@5z.com>
13991
* panel-shell.c: fix #81437 by disconnecting the destroy
13992
function on response before we do gtk_dialog_run
13994
* menu.c: don't do gtk_dialog_run on something returned from
13995
panel_error_dialog. Hmmm, will need some better idea for the
13996
closing instead of hard destroying the thing which causes crashes
13998
* panel-util.c: avoid warning when creating dialogs with
14001
Fri May 17 21:14:16 2002 George Lebl <jirka@5z.com>
14003
* gnome-run.c: when getting an iterator check the result of the
14004
function and don't continue if this is false. this should
14007
Fri May 17 14:50:21 2002 George Lebl <jirka@5z.com>
14009
* menu.c: never add an icon to show twice, this should fix #71213
14011
Thu May 16 03:31:14 2002 George Lebl <jirka@5z.com>
14013
* multiscreen-stuff.c: fix off-by-1 errors in
14014
multiscreen_screen_from_pos as pointed out by xavier.bestel@free.fr
14016
Thu May 16 03:25:53 2002 George Lebl <jirka@5z.com>
14018
* multiscreen-stuff.c: when the screen is invalid, assume the zero
14019
(the first) screen, Fixes #70095. It is probably the saner
14020
behaviour since that makes sure that at least SOME panel is
14023
* menu.[ch], foobar-widget.[ch]: s/run_item/extra_items/ and
14024
don't add the search and screenshot item on foobar like we
14025
do with the run item
14027
Wed May 15 20:11:31 2002 George Lebl <jirka@5z.com>
14029
* gnome-run.c: remove some dead code, and support dnd on the entry
14030
doing the same thing as append file. Also when entry is empty
14033
Tue May 14 18:37:24 2002 George Lebl <jirka@5z.com>
14035
* gnome-run.c, disclosure-widget.[ch], Makefile.am,
14036
quick-desktop-item.[ch]: Apply and massage Frank Worsley
14037
<fworsley@shaw.ca>'s patch to use Iain's cddb disclosure
14038
widget and launch files and lookup icons and just do bunches
14041
* gnome-run.c, menu-fentry.[ch]: add an exec field to the FileRec
14042
so that we can add an EXEC column. Also add an icon column so
14043
that for the icon lookup we do no loading of entries. Should
14044
reduce overhead of icon lookup by quite a bit.
14046
* gnome-run.c, menu.c: Modify error dialogs to all use the
14047
bold/details style that is used elsewhere in the panel
14049
Tue May 14 11:37:24 2002 George Lebl <jirka@5z.com>
14051
* menu.c: move the screenshot/search to a more appropriate location,
14052
one where it actually works all the time, and now it's not such a
14053
dirty hack (since that's the way the runbox is done) so remove
14056
* multiscreen-stuff.c: add checking for "GNOME_PANEL_NO_XINERAMA"
14057
env var, and if it exists ignore xinerama. This is a quick
14058
and simple workaround for #73475
14060
2002-05-14 Anders Carlsson <andersca@gnu.org>
14062
* foobar-widget.c: (add_window), (create_task_menu),
14064
* xstuff.c: (xstuff_go_through_client_list):
14065
Use new multi-screen safe libwnck API.
14067
2002-05-14 Padraig O'Briain <padraig.obriain@sun.com>
14069
* menu.c (create_new_panel):
14070
Correct window argument passed to gtk_window_set_title()
14073
Add function panel_widget_reset_saved_focus() to reset focus to
14075
Add function panel_widget_force_grab_focus() which sets focus to
14076
specified widget event if widget does not have CAN_FOCUS flag set.
14077
Add new function panel_woidget_reset_focus() which resets the focus
14078
widget when the currently focused widget is removed from a panel
14079
(panel_widget_cremove): Call panel_widget_reset_focus() to reset
14080
focus when applet is removed from panel.
14081
(panel_widget_reparent): Set focus to new widget, unset GTK_CAN_FOCUS
14082
flag on new PanelWidget, if set, and make panel window active when
14083
applet is moved from another panel.
14084
(panel_widget_tab_move): Do not unset saved_focus_widget after moving
14085
applet to another panel using Tab key.
14086
(This fixes bug #80688)
14088
2002-05-13 Seth Nickell <snickell@stanford.edu>
14090
* foobar-widget.c: (append_actions_menu):
14091
* menu.c: (create_root_menu):
14093
Use gnome-screenshot.png instead of gnome-mdi.png
14095
2002-05-13 Glynn Foster <glynn.foster@sun.com>
14097
* drawer.c: (focus_in_drawer), (focus_out_drawer):
14098
* panel-util.c: (panel_dialog), (panel_error_dialog_with_parent),
14099
(panel_info_dialog_with_parent): Fix up build warnings.
14101
2002-05-12 Arvind Samptur <arvind.samptur@wipro.com>
14103
* Reviewed by Glynn Foster
14106
Hack to add search tool and screen shot in GNOME menu.
14109
2002-05-12 Alexander Larsson <alla@lysator.liu.se>
14111
* panel-applet-frame.c (panel_applet_frame_get_size_hints):
14112
Make size hints work for applets with handles.
14114
2002-05-11 Glynn Foster <glynn.foster@sun.com>
14116
* gnome-panel-preferences.c: Give it a default response.
14118
2002-05-10 Padraig O'Briain <padraig.obriain@sun.com>
14121
(add_all_move_bindings) If focus widget is a GtkSocket unset focus
14122
while doing move so that key bindings for panel will work
14123
(remove_all_move_bindings) Reset focus widget at end of move if
14124
focus widget was unset (#79515)
14125
(panel_widget_tab_move) Correct bug when panel is not first panel on
14126
list; cycle around end of panel list
14128
2002-05-09 Stephen Browne <stephen.browne@sun.com>
14131
Changed name of CDE Menu back to "CDE Menus"
14132
HCI ppl made the call
14134
2002-05-07 Padraig O'Briain <padraig.obriain@sun.com>
14137
Add function menu_item_menu_position which ensures that menu item's
14138
menu is displayed close to the menu item; it might be displayed
14139
because of a key stroke instead of mouse click
14142
Add panel_menu_key_press_handler as signal handler for
14144
In panel_menu_key_press_handler() display active menu item's
14145
menu if Shift+F10 was pressed.
14146
setup_full_menuitem: Store menu item's ShowItemMenu as data of the
14147
menu item so it can be found in panel_menu_key_press_handler().
14149
Fri May 03 17:35:40 2002 George Lebl <jirka@5z.com>
14151
* gnome-run.c, panel-per-panel-config.schemas: Apply the following
14152
patch and fix bugs etc... in it
14154
2002-05-02 Frank Worsley <fworsley@shaw.ca>
14156
* gnome-run.c: revamp the run dialog. Show 'Advanced' entry field
14157
by default and rename advanced button to 'Known Applications' to
14158
display list of known applications when clicked. Plus other fixes.
14160
2002-05-03 Padraig O'Briain <padraig.obriain@sun.com>
14163
focus_in_drawer: Do not open a drawer when it is focused
14164
focus_out_drawer: Do not close a drawer when it is unfocused
14166
Remove just_focused flag in Drawer data structure and
14170
2002-05-02 Glynn Foster <glynn.foster@sun.com>
14172
* foobar-widget.c, menu-util.c, menu-util.h, menu.c: Add 'Search
14173
for Files' and 'Take a Screen Shot' to the GNOME menu so we don't
14174
have functionality only available on the Menu panel. Fixes #80357
14177
2002-05-02 Bastien Nocera <hadess@hadess.net>
14179
* foobar-widget.c: (focus_window), (get_default_image):
14180
change workspaces before focusing a window with the task_list,
14182
change default "no windows focused" image to "gnome-gmenu.png"
14184
2002-05-02 Stephen Browne <stephen.browne@sun.com>
14186
* panel-util.c: (panel_ensure_dir)
14187
fix bug 79641 where launchers dir cannot be created on a solaris
14188
machine with an nfs mounted user home dir
14190
2002-05-01 Arvind Samptur <arvind.samptur@wipro.com>
14192
Reviewed by: Alex Larsson, Glynn Foster.
14194
* panel-applet-frame.c: panel_applet_frame_button_changed
14195
updated with new parameters event button and time for
14196
GNOME_Vertigo_PanelAppletShell_popup_menu call
14198
2002-05-01 Glynn Foster <glynn.foster@sun.com>
14200
* foobar-widget.c: (append_actions_menu): Re-order Actions menu
14201
according to usability guidance from Nils.
14203
Wed May 01 10:01:16 2002 George Lebl <jirka@5z.com>
14205
* panel-util.[ch]: create parented versions of the info/error dialog
14208
* menu-ditem.c: Apply a modified version of a patch from Frank
14209
Worsley <fworsley@shaw.ca> to fix saving of items, fix
14210
some strings and fix popping of the busy cursor after user
14211
dismisses an error dialog.
14213
2002-04-29 Glynn Foster <glynn.foster@sun.com>
14215
* Makefile.am: Remove install of gnome-panel-screenshot .desktop
14217
* foobar-widget.c: (foobar_screenshot), (append_actions_menu):
14218
Add 'Take a Screen Shot' to the Menu Panel's Actions menu.
14219
* gnome-panel-screenshot.c: (main): Implement a delay option
14220
for the command line.
14221
* gnome-panel-screenshot.desktop.in: Kill.
14223
Mon Apr 29 12:47:15 2002 Jonathan Blandford <jrb@gnome.org>
14225
* panel-config-global.c (panel_global_config_set_entry): s/-/_/
14228
* panel-global-config.schemas: clean up schemas names. Have had
14229
this for months and didn't realize I hadn't committed b/c it
14230
worked locally. The keybinding capplet should work much better
14233
2002-04-22 Frank Worsley <fworsley@shaw.ca>
14235
* gnome-panel/gnome-desktop-item-edit.c:
14236
call panel functions with correct parameters
14237
fix so that existing files can be edited
14239
* gnome-panel/launcher.c:
14240
change window titles to match other panel/nautilus terminology
14242
* gnome-panel/menu-ditem.c:
14243
change window titles to match other panel/nautilus terminology
14244
(is_item_writable): check correct parameter when dir != NULL
14245
(panel_edit_direntry): don't free dirfile if we use it again
14246
(create_launcher): display a message box if location not writable
14248
2002-04-26 Abel Cheung <maddog@linux.org.hk>
14250
* gnome-panel-screenshot.c (main): Removed reference of gnome-core
14251
inside translation string.
14253
2002-04-25 Padraig O'Briain <padraig.obriain@sun.com>
14256
If applet's height is odd and orientation is horizontal set its
14257
position 1 pixel lower so that the tab order will be correct
14258
(bug 79465); similarly for width and vertical orientation.
14260
2002-04-23 Padraig O'Briain <padraig.obriain@sun.com>
14262
* gnome-panel-preferences.glade:
14263
Set mnemonic widget for Animation Speed label
14265
2002-04-22 Padraig O'Briain <padraig.obriain@sun.com>
14267
* basep-widget.c foobar-widget.c panel-widget.c:
14268
Remove bindings for GDK_ISO_Left_Tab as this breaks Shift+Tab
14271
2002-04-19 Padraig O'Briain <padraig.obriain@sun.com>
14273
* drawer-widget.c (drawer_pos_hidebutton_click):
14274
Move focus to drawer icon when hide button in DrawerWidget
14275
is activated to close drawer.
14277
2002-04-18 Mark McLoughlin <mark@skynet.ie>
14279
* main.c: (main): don't force BONOBO_ACTIVATION_DEBUG_OUPUT on
14282
2002-04-18 Mark McLoughlin <mark@skynet.ie>
14284
* panel-config-global.c: (panel_global_config_set_entry):
14285
* panel-config-global.h:
14286
* panel.c: (panel_save_global_config):
14287
* gnome-panel-preferences.c: (load_checkboxes):
14288
* gnome-panel-preferences.glade: remove 'Raise panels on
14289
mouseover' option. We're not a window manager.
14291
* basep-widget.c: (basep_enter_notify):
14292
* drawer.c: (enter_notify_drawer):
14293
* foobar-widget.c: (foobar_enter_notify): don't do the
14294
crackpot auto raise thing.
14296
2002-04-18 Mark McLoughlin <mark@skynet.ie>
14298
Might as well rename the files while I'm at it.
14300
* menu.c: (panel_config_global): upd binary name.
14302
* gnome-panel-preferences.c: (setup_the_ui), (main): upd
14303
name and glade file etc.
14305
* gnome-panel-preferences.desktop.in: update tooltip
14308
* gnome-panel-properties.c:
14309
* gnome-panel-properties.desktop.in: replace with
14310
gnome-panel-preferences variants.
14312
* gnome-panel-properties.glade:
14313
* gnome-panel-properties.glade2: replace with
14314
gnome-panel-preferences.glade (the glade2 version)
14316
* Makefile.am: install the .desktop file in
14317
control-center-2.0/capplets and update for the rest of the
14322
2002-04-18 Mark McLoughlin <mark@skynet.ie>
14324
* gnome-panel-properties.c: (main):
14325
* gnome-panel-properties.glade2: rename dialog to
14326
'Panel Preferences'.
14328
2002-04-17 Arvind S N <arvind.samptur@wipro.com>
14330
* menu.c: changed "Remove this panel" to "Delete this panel"
14333
2002-04-18 Mark McLoughlin <mark@skynet.ie>
14335
* gnome-panel-screenshot.c: (main): fixed warning.
14337
* menu-fentry.[ch]:
14338
(fr_read_dir), (fr_check_and_reread), (fr_get_dir): kill
14339
DirRec.force_reread and all its uses.
14340
(fr_force_reread): kill, we always do check for re-reads now.
14342
* panel-config-global.h: kill menu_check and menu_flags.
14344
* menu.c: (panel_launch_nautilus): kill.
14345
(make_panel_submenu): kill 'Edit menus...' item (#75977).
14346
(create_panel_root_menu), (make_panel_submenu),
14347
(add_menu_widget), (menu_button_menu_popup): use default menu
14348
flags. They're not configurable anymore.
14349
(load_menu_applet): kill 'Edit menus...' here too.
14351
* panel-applet-frame.c: (panel_applet_frame_class_init): fix
14354
* panel-shell.c: include panel-util.h to fix warning.
14357
(panel_load_global_config), (panel_save_global_config): remove
14358
'FIXME STUFF THAT IS BORKED' options.
14359
(panel_apply_global_config): don't handle applying these
14362
2002-04-17 Arvind S N <arvind.samptur@wipro.com>
14364
* button-widget.c: workaround to get the drawer panel
14365
working. In translate_to(),from->allocation.x and from->allocation.y
14366
getting -ve values and thus causing problems in selecting launchers.
14368
2002-04-17 Mark McLoughlin <mark@skynet.ie>
14370
* applet.c: (applet_do_popup_menu): return FALSE if its
14372
(applet_button_press): always return FALSE if its not
14375
* panel-applet-frame.c: (panel_applet_frame_get_flags): impl helper
14377
(panel_applet_frame_get_expand_flags): use it here.
14378
(panel_applet_frame_change_orient): don't set orient and resize
14379
unless the orient has actually changed.
14380
(panel_applet_frame_finalize): release the AppletShell.
14381
(panel_applet_frame_class_init): hook up new methods.
14382
(panel_applet_frame_instance_init): initialise new members.
14383
(panel_applet_frame_get_applet_shell): switch this back on.
14384
(panel_applet_frame_construct): use it here.
14385
(panel_applet_frame_paint), (panel_applet_frame_expose),
14386
(panel_applet_frame_size_request), (panel_applet_frame_size_allocate),
14387
(button_event_in_rect), (panel_applet_frame_button_changed): implement
14388
a handle on the AppletFrame. Adapted from Havoc's FooHandle.
14390
2002-04-17 Padraig O'Briain <padraig.obriain@sun.com>
14392
* basep-widget.c foobar-widget.c: Add key-press handler;
14393
this function calls panel_widget_save_key_event()
14394
so that if the focus is within an applet in a different process and
14395
Ctrl+Tab is the key event panel_widget_real_focus() can focus the
14398
* panel-widget.[ch]: Add key_event field to PanelWidget data structure
14399
and function panel_widget_save_key_event.
14400
(panel_widget_finalize): Free the saved key event
14401
(panel_widget_real_focus): Check whether the previous key event had a
14402
modifier of Ctrl and if so set the focus on the panel.
14404
2002-04-16 Padraig O'Briain <padraig.obriain@sun.com>
14406
* panel-applet-frame.[ch]
14407
Remove action signal move_focus_out_of_applet to move focus from
14408
applet to next or previous object on panel. This signal is being moved
14409
to PanelApplet so it will work for applets in a different process to
14412
Mon Apr 15 10:16:13 2002 George Lebl <jirka@5z.com>
14414
* gnome-run.c: fix crash reported in #78559 by just using the
14415
run_dialog variable, which is NULL if the widget is dead
14416
instead of using a potentially out of date data parameter.
14418
Mon Apr 15 10:04:14 2002 George Lebl <jirka@5z.com>
14420
* launcher.c: Applied patch from Christophe Fergeau
14421
<christophe.fergeau@laposte.net> (slightly modified) to
14422
fix the empty lines when comment is empty
14424
2002-04-15 Mark McLoughlin <mark@skynet.ie>
14426
* Makefile.am, panel.hints: kill panel.hints.
14428
* menu-util.c: (get_real_menu_path): fix main menu dragging.
14430
2002-04-15 Stephen Browne <stephen.browne@sun.com>
14433
Changed the name of the CDE menu name and the icon that should
14436
2002-04-15 Padraig O'Briain <padraig.obriain@sun.com>
14439
Allow Return and space keys to exit move mode; completion of #75935
14441
2002-04-13 Alexander Larsson <alla@lysator.liu.se>
14444
Implement size hints for expanding applets.
14446
* panel-applet-frame.h:
14447
Add panel_applet_frame_get_size_hints()
14449
* panel-applet-frame.c (panel_applet_frame_get_size_hints):
14450
Get the size hints from the property bag.
14452
Fri Apr 12 15:19:34 2002 George Lebl <jirka@5z.com>
14454
* panel-config.c: remove some cruft for some gtk bug workarounds
14455
which don't seem to be needed anymore
14457
Fri Apr 12 14:57:22 2002 George Lebl <jirka@5z.com>
14459
* menu.c: fix checking for foobar when adding/removing the item to
14460
add it. Also fix #75970 by favouring the bottom of the screen.
14462
2002-03-18 Jayaraj Rajappan <jayaraj.rajappan@wipro.com>
14463
* accessibility changes for panel. Atk relation is set
14464
between the label and the corresponding widgets. Tooltips
14465
are provided for some widgets.
14466
Files changed : menu.c launcher.c gnome-run.c foobar-widget.c
14467
panel-config.c swallow.c panel-util.h panel-util.c
14468
gnome-panel-properties.glade2 Makefile.am
14469
New file : panel-access.c
14471
Fri Apr 12 13:58:28 2002 George Lebl <jirka@5z.com>
14473
* menu.c: remove some old menuitem/applet cruft. Fix the removal
14474
of items from menu by porting this thing to actually use
14475
gnome-vfs. Fixes #74963
14477
Fri Apr 12 13:39:48 2002 George Lebl <jirka@5z.com>
14479
* applet.c: Change order and labels of the remove/move thingies
14480
to match the way the Applet one is done fixes #74924
14482
2002-04-12 Mark McLoughlin <mark@skynet.ie>
14484
* foobar-widget.c: (focus_window): don't move to current
14485
workspace so as to be consistent with the tasklist (78248)
14487
2002-04-12 Mark McLoughlin <mark@skynet.ie>
14489
* menu-ditem.c: (ditem_properties_apply_timeout):
14490
kill bogus ditem unref.
14492
2002-04-12 Mark McLoughlin <mark@skynet.ie>
14494
* applet.c: (panel_applet_register): make master_widget
14497
* basep-widget.c: (basep_widget_do_hiding),
14498
(basep_widget_do_showing): cleanups.
14500
* button-widget.c: (calculate_overlay_geometry): remove hidden crack.
14501
Fixes #75904 and doesn't seem to break anything.
14503
* gnome-panel-properties.glade2:
14504
* gnome-panel-properties.c: (option_menu_changed),
14505
(load_option_menus): remove panel window layer option. It doesn't work.
14507
* launcher.c: (create_launcher): kill redundant casts.
14509
* gnome-run.c: (create_simple_contents), (update_contents): cleanups.
14511
* panel-global-config.schemas, panel-types.h,
14512
panel-config-global.[ch]: (panel_global_config_set_entry):
14513
panel.c: (panel_save_global_config), (panel_apply_global_config): more
14514
window layer culling.
14516
2002-04-10 Mark McLoughlin <mark@skynet.ie>
14518
* menu-util.c: (get_real_menu_path): don't crash when dragging
14521
2002-04-10 Mark McLoughlin <mark@skynet.ie>
14523
* panel-config.c: (make_misc_widget): don't make misc frame
14524
unless we want the multiscreen option. Also kill avoid param
14526
(edge_notebook_page), (aligned_notebook_page),
14527
(floating_notebook_page), (sliding_notebook_page): upd.
14529
2002-04-10 Mark McLoughlin <mark@skynet.ie>
14531
* panel-util.c: (panel_show_help): check error != NULL,
14534
2002-04-10 Seth Nickell <snickell@stanford.edu>
14536
* gnome-panel-screenshot.desktop.in:
14538
Fix the wording a little. Its still broken because this does
14539
not function like an application, it functions like a dialogue.
14540
It would be better suited to "Actions".
14542
2002-04-10 Mark McLoughlin <mark@skynet.ie>
14544
* panel-widget.c: (add_all_move_bindings),
14545
(remove_all_move_bindings): make "free_move" on by default
14546
and make enter end the move. Patch by Padraig O'Briain (75953)
14548
Tue Apr 09 15:04:36 2002 George Lebl <jirka@5z.com>
14550
* panel-shell.c: use panel_error_dialog instead of the homebrewed
14553
2002-04-04 Anders Carlsson <andersca@gnu.org>
14555
* gnome-panel-screenshot.c (main): Obey the "desktop is homedir"
14556
nautilus preference for saving to the desktop.
14558
2002-04-02 Mark McLoughlin <mark@skynet.ie>
14560
* applet.c: (whack_applet_to_load),
14561
(panel_destroyed_while_loading),
14562
(panel_applet_load_from_unique_id): use g_signal_handler_disconnect
14563
instead of g_source_remove (76981)
14565
* gnome-run.c: (launch_selected), (run_dialog_response),
14566
(selection_activated), (selection_changed),
14567
(create_simple_contents): launch the selected item when you double click
14570
* menu-ditem.c: (panel_edit_direntry): pass the .directory uri to
14571
set_ditem_sensitive instead of the directory. Also the destroy handler
14574
2002-04-02 Mark McLoughlin <mark@skynet.ie>
14576
* foobar-widget.c: (foobar_search), (append_actions_menu):
14577
add 'Search for File...' to actions menu. Based on patch by
14578
Dennis Cranston, #73183.
14580
2002-04-02 Diego GonzƔlez <dggonz@yahoo.com>
14582
* gnome-panel/menu-ditem.c (really_add_new_menu_item):
14583
fix how the filename for the launcher is obtained.
14585
2002-03-29 Arvind S N <arvind.samptur@wipro.com>
14587
* gnome-panel-screenshot.desktop.in: file for gnome-panel-screenshot
14589
* Makefile.am : added gnome-panel-screenshot.desktop.in
14591
2002-03-29 Mark McLoughlin <mark@skynet.ie>
14593
* panel-config.c: (floating_notebook_page): connect to the
14594
"value-changed" signal on the spinbutton, not "changed".
14596
2002-03-29 Mark McLoughlin <mark@skynet.ie>
14598
* Makefile.am: kill swallow.[ch].
14600
* applet.[ch]: (applet_idle_remove), (applet_callback_callback),
14601
(applet_do_popup_menu), (panel_applet_load_from_unique_id),
14602
(panel_applet_save_to_gconf), (panel_applet_register): kill all
14603
traces of swallowed apps.
14605
* floating-widget.c: (yclamp): fix clamp permutation (76393)
14607
* gnome-panel-properties.glade2: kill auto-update-menus (75150)
14609
* menu.c: (make_add_submenu): kill swallowed app menuitem.
14611
* panel-per-panel-config.schemas: add a mixer applet to the menu
14614
* panel-widget.c: (panel_widget_applet_drag_start): if the grab didn't
14615
succeed, drop the drag.
14617
* panel.c: (orientation_change), (panel_remove_applets),
14618
(drop_internal_applet): remove allw swalled app code.
14619
(panel_load_panels_from_gconf), (panel_save_to_gconf): move a few more
14620
keys to using underscores.
14622
* session.c: (panel_session_die): kill more swallow code.
14624
* xstuff.c: (xstuff_go_through_client_list): ditto.
14626
2002-03-28 Mark McLoughlin <mark@skynet.ie>
14628
* foobar-widget.[ch]: kill the foobar clock.
14630
* panel-per-panel-config.schemas: add the clock applet to
14631
the default menu panel setup.
14633
* gnome-run.c: (run_dialog_response):
14634
* menu.c: (create_new_panel):
14635
* panel.c: (panel_load_panels_from_gconf): update for foobar change.
14637
2002-03-27 Mark McLoughlin <mark@skynet.ie>
14639
* gnome-run.c: (fill_list), (create_simple_contents): make the idle
14640
handlers lowest priority as per boc's request.
14642
Wed Mar 20 10:15:43 2002 Jonathan Blandford <jrb@redhat.com>
14644
* gnome-panel-properties.c: Remove keybinding settings from this
14645
capplet. Merge the rest of the pages into one. This thing could
14646
use some UI love in general, but it's better than before (IMHO).
14648
2002-03-27 Mark McLoughlin <mark@skynet.ie>
14650
* menu.c: (remove_panel_accept), (remove_panel_query): make
14651
the remove from panel dialog OK_CANCEL.
14653
2002-03-27 Mark McLoughlin <mark@skynet.ie>
14655
* applet.c: (applet_callback_callback):
14656
* logout.c: (load_lock_applet): redo the menuitems for
14657
the lock button, to be somewhat more clear.
14659
2002-03-27 Mark McLoughlin <mark@skynet.ie>
14661
* logout.c: (load_logout_applet), (load_lock_applet):
14662
* status.c: (load_status_applet): kill bogus pre-conditions.
14664
2002-03-27 Mark McLoughlin <mark@skynet.ie>
14666
* applet.c: (panel_applet_load_from_unique_id):
14667
if we can't find the panel for the object, warn and stop loading.
14669
* drawer.c: (drawer_load_from_gconf):
14670
* launcher.c: (launcher_load_from_gconf):
14671
* logout.c: (load_logout_applet), (load_lock_applet):
14672
* menu.c: (menu_load_from_gconf):
14673
* status.c: (load_status_applet):
14674
* swallow.c: (swallow_load_from_gconf):
14675
fix up pre-conditions.
14677
2002-03-27 Mark McLoughlin <mark@skynet.ie>
14679
* launcher.c: (drag_data_get_cb): set up the launcher uri correctly.
14681
Mon Mar 25 20:27:00 2002 George Lebl <jirka@5z.com>
14683
* panel-applet-frame.c: include panel-util.h, and use
14686
* menu.c: use panel_info_dialog instead of custom gtk_message_box
14688
* main.c: add POPT_AUTOHELP
14690
* menu-ditem.c: a nicer way to find if a file already exists or not
14691
for new launchers. Also test schema:file since this is good
14692
thing to do for vfolder schemas really.
14694
* gnome-desktop-item-edit.c: better handeling of uris vs. local
14697
* applet.c: when adding bonobo applets in the idle, we also connect
14698
the panel destroy signal and whack from the add list if that
14699
happens. This should fix #76169
14701
* panel-types.c: add comma to the end of an enum
14703
2002-03-25 Mark McLoughlin <mark@skynet.ie>
14705
* menu.c: (create_add_panel_submenu): don't display the
14706
'Menu panel' option if we have a foobar already.
14708
2002-03-25 Mark McLoughlin <mark@skynet.ie>
14710
* applet.c: (panel_applet_create_menu): cleanup and use
14711
a GtkSeparator menu item as a separator.
14713
* basep-widget.c: kill uneeded panel_applet_in_drag def.
14715
* foobar-widget.c: (append_actions_menu): use 'Run Program...' instead
14716
of 'Run...' as suggested by calum.
14718
* main.c: (main): add a notify to /desktop/gnome/interface instead of
14719
/desktop/gnome/menus.
14722
(panel_menu_have_icons): kill old crack and use the correct key.
14723
(menus_have_icons_changed), (panel_menu_new): use the correct key
14724
for menus_have_icons.
14725
(image_menuitem_size_request): impl hack to make sure menu items
14726
without images are the same height as ones with images.
14727
(setup_full_menuitem): hook up to size_request.
14728
(create_root_menu): use 'Run Program...' instead of 'Run..'
14730
* menu.h: kill panel_menu_have_icons and bogus key definition.
14732
* panel-widget.[ch]:
14733
(panel_widget_get_free_space), (panel_widget_move): kill unused.
14734
(panel_widget_switch_applet_right): return is we're at the end of
14736
(panel_widget_switch_applet_left): return is we've hit the start of
14738
(panel_widget_switch_move_applet): only switch applets when we actual
14741
2002-03-22 Mark McLoughlin <mark@skynet.ie>
14743
* applet.c: (panel_applet_clean): kill the applet
14744
from the queued position saves list.
14746
2002-03-22 Mark McLoughlin <mark@skynet.ie>
14748
* panel-global-config.schemas:
14749
* panel-per-panel-config.schemas: change all gconf keys to
14750
use underscore instead of hypen. This is the gconf convention.
14752
* applet.[ch]: (panel_applet_create_menu): kill panel submenu
14753
from the applet popup menu. Also make static.
14754
Update for gconf key changes.
14756
* basep-widget.c: don't include gnome-windo-icon.h
14758
* foobar-widget.c: ditto.
14759
(append_format_items): upd for gconf key change.
14761
* gnome-panel-properties.c: ditto.
14763
* gnome-panel-properties.glade2: keep widget names in sync
14766
* gnome-run.c: (run_dialog_response), (toggle_contents),
14767
(update_contents), (show_run_dialog): store the 'advanced' flag
14770
* launcher.c: (launcher_save_to_gconf), (launcher_load_from_gconf):
14773
* menu.[ch]: (make_panel_submenu): make static
14775
* panel-applet-frame.c: (panel_applet_frame_save_to_gconf),
14776
(panel_applet_frame_load_from_gconf): gconf key changes.
14778
* panel-config-global.c: (panel_global_config_set_entry): ditto.
14780
* panel-gconf.c: (panel_gconf_setup_profile): ditto.
14782
* panel-widget.c: (panel_widget_focus_in_event),
14783
(panel_widget_focus_out_event): kill prelight.
14785
* panel.c: (panel_save_global_config),
14786
(panel_load_panels_from_gconf), (panel_save_to_gconf),
14787
(panel_remove_from_gconf): gconf key changes.
14789
2002-03-21 Mark McLoughlin <mark@skynet.ie>
14791
* Makefile.am: kill glade conversion, we're going with
14792
the Glade2 versions now.
14794
* gnome-panel-properties.glade2:
14795
* gnome-panel-screenshot.glade2: add .glade2 files.
14797
* gnome-run.c: (add_icon_idle), (fill_list),
14798
(run_dialog_destroyed):
14799
* panel-gconf.c: (panel_gconf_associate_schemas_in_dir):
14800
some minor cleanups
14802
2002-03-21 Mark McLoughlin <mark@skynet.ie>
14805
(panel_widget_add): rename from panel_widget_add_full and
14806
kill bind_lower arg.
14807
(bind_top_applet_events): kill bind_lower arg.
14808
(panel_widget_cadd): upd.
14810
* applet.c: (panel_applet_register): upd for panel_widget_add
14813
* button-widget.c: (button_widget_class_init),
14814
(button_widget_parent_set): impl so we don't leave the overlay
14815
window behind when the widget gets re-parented (#75455)
14817
2002-03-20 Mark McLoughlin <mark@skynet.ie>
14819
* panel-marshal.list: kill VOID:ENUM, its in glib.
14821
* aligned-widget.c: (aligned_pos_class_init):
14822
* basep-widget.c: (basep_widget_class_init):
14823
* border-widget.c: (border_pos_class_init):
14824
* panel-applet-frame.c: (panel_applet_frame_class_init):
14825
* panel-widget.c: (panel_widget_class_init):
14826
* sliding-widget.c: (sliding_pos_class_init): use the glib
14827
version of the marshaller.
14829
2002-03-20 Mark McLoughlin <mark@skynet.ie>
14831
* panel-per-panel-config.schemas: default to having the pager
14832
in the bottom right as per GUP suggestion (71689)
14834
2002-03-20 Mark McLoughlin <mark@skynet.ie>
14836
* floating-widget.c: (floating_pos_class_init): the co-ordinate
14837
chage signal has a VOID__INT_INT signature, not INT__INT.
14839
* panel-marshal.list: kill INT_INT and add VOID_INT_INT.
14841
2002-03-20 Mark McLoughlin <mark@skynet.ie>
14843
* gnome-panel-screenshot.glade: hook up the OK button.
14845
2002-03-20 Mark McLoughlin <mark@skynet.ie>
14847
* menu.c: (create_root_menu): s/Programs/Applications/ for consistancy.
14849
2002-03-11 Shivram U <shivaram.upadhyayula@wipro.com>
14851
reviewed by Mark McLoughlin <mark@skynet.ie>
14853
* panel-applet-frame.c : (panel_applet_frame_get_background_string)
14854
We will not be adding '#' to the color string. '#' is used as a
14855
delimiter in parsing the moniker name. Fixes #73440.
14857
2002-03-18 Shivram U <shivaram.upadhyayula@wipro.com>
14859
reviewed by Mark McLoughlin <mark@skynet.ie>
14861
* panel-applet-frame.c: (panel_applet_frame_finalize) unref the
14862
property_bag and the ui_component. Fixes #67468
14864
2002-03-19 Mark McLoughlin <mark@skynet.ie>
14866
* panel-config-global.c: (panel_global_config_set_entry): check value
14867
as well as key, and don't do it in a g_return ... This isn't debugging.
14869
2002-03-19 Mark McLoughlin <mark@skynet.ie>
14871
* basep-widget.c: (basep_widget_construct):
14872
* foobar-widget.c: (foobar_widget_new): don't setup the default
14875
* panel.[ch]: (panel_register_window_icon): impl a method to do it here.
14877
* main.c: (main): and use it here.
14879
* session.c: (panel_session_set_restart_command): only register to be
14880
re-spawned if GNOME_PANEL_DEBUG env variable is not set.
14882
2002-03-18 Benedikt Roth <Benedikt.Roth@gmx.net>
14884
* menu.c: (applet_menu_append), (create_applets_menu):
14885
Display the applets' descriptions as tooltips in the
14886
'Add to panel menu'.
14888
2002-03-18 Mark McLoughlin <mark@skynet.ie>
14890
* panel-gconf.[ch]: (panel_gconf_sprintf): impl new method to use a signle
14891
static buffer for all our key creators to seriously cut down on the
14892
amount of mallocs we do.
14893
(panel_gconf_global_key), (panel_gconf_general_key):
14894
(panel_gconf_full_key): use above.
14896
* applet.c, drawer.c, foobar-widget.c, menu.c, panel-applet-frame.c,
14897
panel.c, swallow.c: update for panel-gconf changes.
14899
* gnome-panel-properties.c: update for panel-gconf changes and clean up
14902
* session.[ch]: (panel_session_set_restart_command): break out the
14903
restart command setting to here and set the restart style to respawn.
14904
(panel_session_save): use above.
14906
* main.c: (main): call set_restart_command.
14908
* xstuff.c: (xstuff_atom_intern): add some pre-conditions.
14910
2002-03-14 Glynn Foster <glynn.foster@sun.com>
14912
* Makefile.am: We now use panel_gconf_foo magic in
14913
gnome-panel-properties.
14915
* gnome-panel-properties.c: (option_menu_changed),
14916
(load_option_menus), (setup_the_ui): Fix the properties
14917
dialog to correctly handle the option menus. Fixes
14919
* panel-config-global.c: (panel_global_config_set_entry),
14920
gnome-panel-properties.glade, panel-types.h: Re-order
14921
enums so that we are consistant everywhere.
14922
* panel-global-config.schemas: Change default to have
14923
medium animation speed.
14925
2002-03-12 Glynn Foster <glynn.foster@sun.com>
14927
* menu.c: s/GNOME menu/GNOME Menu/
14929
2002-03-12 Glynn Foster <glynn.foster@sun.com>
14931
* Makefile.am: s/gnome-panel-2/gnome-panel
14933
* basep-widget.c: (basep_widget_construct): Add window icon
14934
so that we show up nicely in gnome-system-monitor.
14935
* foobar-widget.c: (foobar_widget_new): ditto
14937
* gnome-desktop-item-edit.c: (main): fix warning
14939
* gnome-panel-properties.c: (main):
14940
s/Panel Global Properties/Global Panel Properties/
14941
* gnome-panel-properties.glade: Rename some strings according
14942
to usability/doc wishes.
14944
* main.c: (main): s/panel/gnome-panel/ so that we show up
14945
nicely in gnome-system-monitor
14947
* menu-util.[ch]: (got_distro_menus), (get_real_menu_path),
14948
(get_pixmap): Remove these functions and put into menu-util.[ch]
14949
with a view to EOL'ing menu-properties.[ch]
14951
* menu.c: (show_item_menu), (make_add_submenu):
14953
Remove the Add to Panel -> Menu layer so that we can
14954
only add a 'GNOME Menu' now. We need to proceed to make sure
14955
that we can't edit the preferences of this for the time being
14956
until we get some plan sorted out. Part of #73511.
14958
* panel-config-global.h, panel-global-config.schemas, panel.c:
14959
s/autoraise-panel/auto-raise-panel/ Fixes #74027. Also remove
14960
duplicate entry from schema file.
14962
2002-03-12 Michael Meeks <michael@ximian.com>
14964
* panel-util.c (panel_is_uri_writable): actually return
14967
2002-03-08 Michael Meeks <michael@ximian.com>
14969
* panel-applet-frame.c (panel_applet_frame_new):
14970
sink that ref down the plug hole on error,
14972
(panel_applet_frame_construct): improve exception handling, and
14973
throw up descriptive dialogs ourself.
14974
(panel_applet_frame_load): don't throw up the warning here, do it
14976
Mon Mar 11 19:55:21 2002 George Lebl <jirka@5z.com>
14978
* gnome-desktop-item-edit.c, menu-ditem.[ch], menu.c,
14979
panel-util.[ch]: Separate out the new launcher functionality
14980
and support that in the desktop item edit thingie.
14982
Mon Mar 11 17:48:16 2002 George Lebl <jirka@5z.com>
14984
* panel-util.[ch], menu-ditem.c: fix the writable checking to handle
14987
2002-03-08 Gediminas Paulauskas <menesis@delfi.lt>
14989
* gnome-panel-properties.c: use Close button instead of OK (#72716)
14991
2002-03-06 Arvind S N <arvind.samptur@wipro.com>
14993
* panel-applet-frame.c (panel_applet_frame_load):
14994
Pass "frame" as a data argument instead of NULL to fix crash when
14995
removing a panel (#73224).
14997
2002-03-06 Mark McLoughlin <mark@skynet.ie>
14999
* applet.[ch]: (panel_applet_position_save_timeout),
15000
(panel_applet_save_position), (panel_applet_save_to_gconf):
15001
queue position saves so things are nice and smooth again.
15003
* menu.c: (create_applets_menu): use the untranslated category
15004
names for grouping.
15006
* panel-applet-frame.c: (panel_applet_frame_construct): use
15007
bonobo_control_frame_get_popup_ui_component.
15009
* panel.c: (panel_applet_move):
15010
* session.c: (panel_session_save_applets), (panel_session_die):
15011
update for panel_applet_save_position change.
15013
Tue Mar 05 14:56:15 2002 George Lebl <jirka@5z.com>
15015
* menu.c, menu-ditem.[ch], nothing.cP: move the ditem editting
15016
stuff to a separate file
15018
* Makefile.am, gnome-desktop-item-edit.c: add a new proggie that
15019
can just pop up dialogs for editting launchers, just like
15020
in the panel, but from anywhere. Note that it doesn't all yet
15021
really work since a bunch of stuff is still broken.
15023
2002-03-04 Padraig O'Briain <padraig.obriain@sun.com>
15026
Tidy up keynav code: use keybindings for Tab and arrow keys only
15027
for moving applets; define panel_widget_real_focus as default
15028
signal handler for GtkWidget's focus signal so GtkWindow's
15029
key bindings are used to move focus when the PanelWidget has focus.
15031
Fri Mar 1 22:09:26 2002 Soeren Sandmann <sandmann@daimi.au.dk>
15033
* panel-config-global.c (panel_global_config_set_entry): fix typo:
15034
s/autoraise-panel/auto-raise-panel/
15036
Fri Mar 01 10:35:55 2002 George Lebl <jirka@5z.com>
15038
* aligned-widget.c: fix swapped parameters to g_signal_new,
15039
yay for type-unsafety! Yay! We get to hunt down bugs like this
15040
because we're too stupid to use gob.
15042
Fri Mar 01 00:55:39 2002 George Lebl <jirka@5z.com>
15044
* panel-config-global.c: fix compilation warning
15046
* panel-widget.c, panel.c: fix some memory leaks and some corruptions
15049
2002-02-28 Mark McLoughlin <mark@skynet.ie>
15052
(set_revert_sensitive): pass TRUE to gtk_widget_set_sensitive.
15053
(create_properties_dialog): connect the signals to the right
15056
2002-02-28 Diego GonzƔlez <dggonz@yahoo.com>
15058
* nothing.cP, status-docklet.c, session.c, foobar-widget.c,
15059
panel-widget.c, menu.c, main.c, button-widget.c:
15060
s/gtk_timeout_add/g_timeout_add
15061
s/gtk_timeout_remove/g_source_remove
15063
Wed Feb 27 23:58:15 2002 George Lebl <jirka@5z.com>
15065
* applet.c, panel-applet-frame.[ch], session.c, panel.c: save
15066
applet position on move, don't save it when we're removing the
15067
applets. Implement back the clean_remove setting for
15068
bonobo_applets in preparation for the 'dead applet' dialog
15070
* basep-widget.[ch], menu.c, panel.c: Try to figure out memory
15071
issues with removing panels/applets. The menu applet now removes
15072
without a warning, but removing a panel will still corrupt memory
15073
somewhere. While I was at it I converted the Pos objects to
15074
GObject rather then GtkObject, which gets rid of some sinking
15077
* menu-properties.c: remove a dead argument to a function
15079
* panel-widget.c: minor cleanup
15081
Wed Feb 27 19:45:40 2002 George Lebl <jirka@5z.com>
15083
* panel-applet-frame.c: fix initial setting of medium size
15085
Mon Feb 25 16:00:00 2002 Arvind S N <arvind.samptur@wipro.com>
15087
* launcher.c: (create_properties_dialog): disable the revert
15088
buttton when changes are made.
15090
2002-02-27 Mark McLoughlin <mark@skynet.ie>
15092
* foobar-widget.c: (foobar_save_to_gconf): impl.
15093
(foobar_widget_set_clock_format): save the clock format.
15095
* panel.c: (panel_save_to_gconf): add pre-condition.
15097
2002-02-27 Mark McLoughlin <mark@skynet.ie>
15100
(menu_button_notify), (create_panel_menu): binary chop
15101
the button notify handler temporarily. Fixes #72430.
15103
Tue Feb 26 17:34:45 2002 George Lebl <jirka@5z.com>
15105
* panel.c: fix #70518 among others, by queing a resize on all button
15106
widgets. Dunno what's up with that really, but this will force it
15107
to work. Also fixed up the panel move stuff to be a bit saner as
15108
well, and fix a possible crash.
15110
* menu-util.[ch], menu.c: hmm, the menu menu is still off the button
15111
and not at cursor location ... damnit
15113
Tue Feb 26 16:17:09 2002 George Lebl <jirka@5z.com>
15115
* menu-util.c: the applet menu should also be at the cursor location
15118
2002-02-25 Mark McLoughlin <mark@skynet.ie>
15120
Dynamically apply the schemas to new profiles as they are
15121
created. Removes a lot of conditional 'use_default' code
15122
and the bugs lurking there. Also lots of gconf related cleanups
15125
* panel-gconf.[ch]: kill default_profile functions.
15126
(panel_gconf_get_profile): move here from session.c
15127
(panel_gconf_global_key), (panel_gconf_general_key),
15128
(panel_gconf_full_key): rename from really long names.
15129
(panel_gconf_dir_exists): kill unused.
15130
(panel_gconf_clean_dir): rename.
15131
(panel_gconf_associate_schemas_in_dir): impl.
15132
(panel_gconf_setup_profile): impl.
15134
* panel-per-panel-config.schemas: kill all applytos.
15136
* applet.c: update for gconf function name changes. Remove all
15137
use_default stuff. Pass gconf key to logout, lock and status loader
15141
(properties_apply_callback): actually save properties changes.
15142
(load_drawer_applet): save the AppletInfo.
15143
(drawer_save_to_gconf), (drawer_load_from_gconf): update for gconf
15144
function name changes, cleanupa and don't try and save the tooltip
15145
when its null. Kill use_default stuff.
15147
* floating-widget.c: (floating_pos_get_hide_size),
15148
(floating_pos_get_hide_pos): read minimized size from the global_config
15151
* foobar-widget.c: (append_format_items): clock format is not in global
15155
(properties_apply): actually save properties changes.
15156
(launcher_save_to_gconf), (launcher_load_from_gconf): update for gconf
15157
function name changes.
15158
(launcher_file_name): use PANEL_LAUNCHERS_PATH.
15160
* launcher.h: define PANEL_LAUNCHERS_PATH. Nobody else was using
15163
* logout.[ch]l: (load_logout_applet),
15164
(load_lock_applet): add gconf_key arg.
15166
* main.c: (main): use panel_gconf_setup_profile.
15168
* menu-properties.c: (properties_apply_callback): only save menu props.
15170
* menu.c: kill use_default stuff, update for gconf function changes.
15172
* panel-applet-frame.c: ditto.
15174
* panel-config-global.c: use panel_apply_global_config.
15176
* panel-config.c: (config_apply): actually save config changes.
15178
* panel-widget.c: (panel_widget_destroy), (panel_widget_get_by_id),
15179
(panel_widget_set_id): update for gconf renaming. Clean up.
15181
* panel.[ch]: lots of cleanups, update for gconf name changes, shorten
15182
function names, kill use_default stuff.
15185
(session_get_current_profile), (session_get_current_profile): kill
15186
(panel_session_do_save), (panel_session_save),
15187
(session_load): updates.
15189
* session.h: kill unused cruft.
15191
* status.[ch]: (load_status_applet): add gconf_key arg.
15193
* swallow.c: (swallow_save_to_gconf), (swallow_load_from_gconf):
15194
updates, kill use_default stuff etc.
15196
Fri Feb 22 15:27:35 2002 George Lebl <jirka@5z.com>
15198
* foobar-widget.c: when a clock format is set, make sure the format
15199
menu thing is synchronized.
15201
2002-02-22 Kjartan Maraas <kmaraas@gnome.org>
15203
* menu.c: Remove unsupported #ifdef ENABLE_NLS.
15205
Thu Feb 21 18:15:42 2002 George Lebl <jirka@5z.com>
15207
* gnome-run.c: load both the list of apps and then the icons
15208
in idle time, so that we display the dialog immediately and then
15209
load all this crap a bit later. This makes the whole thing feel
15212
Thu Feb 21 17:25:56 2002 George Lebl <jirka@5z.com>
15214
* menu.c, panel.[ch]: when adding applets or launchers and such
15215
things from the context menu, add them at the spot where the
15216
context menu was triggered.
15218
Thu Feb 21 15:49:33 2002 George Lebl <jirka@5z.com>
15220
* basep-widget.c: properly do hidebutton sensitivities and tooltips
15221
on startup and when changing orientation. Should also hopefully
15224
2002-02-21 jacob berkman <jacob@ximian.com>
15226
* Makefile.am (EXTRA_DIST): add $(ui_DATA)
15228
2002-02-21 Mark McLoughlin <mark@skynet.ie>
15230
* GNOME_Panel_Popup.xml: split out the popup xml to here
15231
so it can be translated.
15233
* Makefile.am: install the xml file.
15235
* panel-applet-frame.c: (panel_applet_frame_construct): kill
15236
the static xml string and use the xml file instead.
15238
Wed Feb 20 19:13:33 2002 George Lebl <jirka@5z.com>
15240
* menu.[ch], applet.c, foobar-widget.c, gnome-run.c: Add
15241
panel_make_menu_icon, which exposes the pixbuf loading function
15242
from the menu icon cache so that we can use it in other places,
15243
such as the run box.
15245
* button-widget.c: use the desktop-item icon finding function for
15248
* launcher.c: when getting the best launcher icon look for 48x48 and
15251
Wed Feb 20 18:15:38 2002 George Lebl <jirka@5z.com>
15253
* menu-fentry.c: sure_string the fullname before making a collation
15256
Wed Feb 20 18:12:25 2002 George Lebl <jirka@5z.com>
15258
* menu-fentry.[ch], menu.c: the fr_compare function takes into
15259
account directories being sorted before files. MFiles can't be
15260
sorted so sort after we load the QItems. Fix a memory leak. Cache
15261
the scaled version of an icon to avoid lots of scaling and add
15262
the icon size to the cache key.
15264
Wed Feb 20 17:14:00 2002 George Lebl <jirka@5z.com>
15266
* gnome-run.c, menu-fentry.[ch]: Add a fentry sorting function and
15267
cache the name collate key, so that sorting is faster. Also
15268
properly sort menu items if no set sort order has been given by
15269
a SortOrder thing in a .directory. Also remove fr_get_all_dirs
15270
since it's a stupid function and isn't being used anyway.
15272
2002-02-20 Mark McLoughlin <mark@skynet.ie>
15274
* main.c: (session_notify_global_changes): move notify
15275
handler to panel_global_config_notify.
15277
* panel.c: (panel_load_global_config): use
15278
panel_global_config_set_entry.
15279
(panel_session_save_global_config): audit for missing items.
15281
* panel-config-global.c:
15282
(panel_global_config_set_entry): impl method to map
15283
between gconf key and config struct member.
15284
(panel_global_config_notify): handle global config notifies.
15286
* panel-config-global.h: clean up and add
15287
panel_global_config_set_entry and panel_global_config_notify.
15289
* panel-global-config.schemas: kill "auto-update-menus".
15291
* panel-util.[ch]: (panel_parse_accelerator): rename from
15292
convert_string_to_keysym_state and upd to handle
15295
* global-keys.c: (panel_global_keys_setup),
15296
(panel_global_keys_filter): upd to use GlobalConfigKey.
15298
* gnome-panel-properties.c: (load_checkboxes): kill
15299
"auto-update-menus".
15301
* Makefile.am: add panel-config-global.c
15303
2002-02-20 Mark McLoughlin <mark@skynet.ie>
15305
* menu.c: (show_panel_help): pass 'panel' as file
15308
* panel-util.c: (panel_show_help): use
15309
gnome_help_display_desktop for docs installed in
15310
$(prefix)/share/gnome/help
15312
2002-02-20 Mark McLoughlin <mark@skynet.ie>
15314
Fixes #71279 and #69147. Fix suggested by Shivram U.
15316
* panel-util.c: (stretch_widget_calc_geometry): move geometry
15318
(stretch_widget_realize): use calc_gemoetry.
15319
(stretch_widget_size_allocate): check geometry has changed
15322
2002-02-19 Mark McLoughlin <mark@skynet.ie>
15324
* menu.c: (compare_filerecs), (create_menu_at_fr): re-indent
15325
to same style as surrounding code and compress comments to
15326
one single explanatory comment outside the method.
15328
2002-02-19 Mark McLoughlin <mark@skynet.ie>
15330
* menu.c: (create_menuitem): revert unapproved increase of
15331
icon size to 32x32. Retain sensible cleanups, though.
15333
2002-02-17 Gediminas Paulauskas <menesis@delfi.lt>
15337
* gnome-run.c: add mnemonics to all labels, rename buttons.
15338
(browse): rename dialog.
15339
(run_dialog_response): if window was just closed, don't run command.
15340
(sort_by_name): Sort according to locale.
15341
(add_columns): Remove column header
15342
(create_simple_contents): Add label above list (so that you can focus
15343
list with mnemonic). Make description label selectable, show Advanced
15344
options below "Advanced >>" button.
15347
2002-02-16 Seth Nickell <snickell@stanford.edu>
15349
* menu.c: (compare_filerecs):
15351
Check if strings are NULL before collating
15354
2002-02-16 John Fleck <jfleck@inkstain.net>
15357
* help/C/figures/launcherprop1_dialog.png
15358
* help/C/figures/launcherprop2_dialog.png
15359
* help/C/figures/menu_panel.png
15360
* help/C/figures/panelprop_dialog.png
15361
* help/C/figures/sample_applet.png
15362
finish updating panel docs for GNOME2
15364
2002-02-16 Seth Nickell <snickell@stanford.edu>
15366
* menu.c: (remove_pixmap_from_loaded), (load_icons_handler):
15368
Use weak refs rather than destroy signal, so we can
15369
use the pixbufs directly rather than needing a
15372
2002-02-16 Seth Nickell <snickell@stanford.edu>
15374
* menu.c: (load_icons_handler), (create_kde_menu):
15376
Only cache the pixbufs as directly loaded from the icon
15377
files. That way if a smaller icon is loaded first
15378
we don't end up scaling it up later when its needed
15379
for a larger version.
15381
Really we should just include size as well as filename
15382
in the hashtable, but the number of calls is small
15383
enough that this isn't problematic.
15385
2002-02-16 Seth Nickell <snickell@stanford.edu>
15387
* menu.c: (compare_filerecs), (create_menu_at_fr),
15388
(applet_menu_get_category_icon):
15390
Sort menus into locale-correct "alphabetical" order.
15392
2002-02-15 Michael Meeks <michael@ximian.com>
15394
* panel-applet-frame.c (panel_applet_frame_construct):
15395
don't get the 'shell' interface, it's not used and this
15396
screws with fatal ref cleanup.
15398
2002-02-15 John Fleck <jfleck@inkstain.net>
15401
* gnome-panel/Makefile.am
15402
* gnome-panel/help/Makefile.am
15403
* gnome-panel/help/C/Makefile.am
15404
* gnome-panel/help/C/panel-C.omf
15405
* gnome-panel/help/C/panel.xml
15406
* gnome-panel/help/C/figures/controlcenter_icon.png,
15407
help_icon.png, open_drawer.png, statusdock_button.png,
15408
launcherprop1_dialog.png, panel_object_popup_menu.png,
15409
swallapp_dialog.png, drawerprop_dialog.png,
15410
launcherprop2_dialog.png, panelprop_dialog.png,
15411
swallow_applet.png, footprint_icon.png, lockscreen_icon.png,
15412
runprogram_dialog.png, tasklist_applet.png, four_hide_button.png,
15413
logout_icon.png, runprogram_icon.png, typical_menu.png,
15414
gnome_panel.png, menu_panel.png, sample_applet.png,
15415
gnometerminal_icon.png, netscape_icon.png, statusdock2_button.png
15416
adding first draft of Sun panel documentation to the build
15418
2002-02-15 Padraig O'Briain <padraig.obriain@sun.com>
15420
* basep-widget.[ch] : Rename "focus_panel" signal to "move_focus_out"
15421
as same action (Ctrl+Tab) on DrawerWidget moves focus from
15422
DrawerWidget to Drawer. Add code to basep_widget_move_focus_out()
15423
to implement moving focus from DrawerWidget to Drawer.
15425
(basep_widget_construct) Sink BasePPos to avoid warning on panel
15428
* drawer-widget.c (drawer_widget_new): Do not allow panel in
15429
DrawerWidget to receive focus.
15431
* drawer.h (Drawer): Add two new fields moving_focus and jyst_focused.
15432
The field moving_focus is used to prevent drawer being closed
15433
when keyboard focus moves from Drawer to DrawerWidget and being
15434
opened whem keyboard focus moves from DrawerWidget to Drawer
15435
The field just_focused is used to prevent the drawer being closed
15436
when a Drawer, which does not have focus, is clicked.
15438
* drawer.c: Add signal handlers for focus_in_event, focus_out_event
15439
and key_press_event on Drawer.
15440
focus_in_drawer ensures that drawer is opened when focused
15441
focus_out_drawer ensures that drawer is closed when unfocused
15442
key_press_drawer implements arrow keys to move focus from Drawer to
15443
DrawerWidget and focus the first or last object on the panel and Escape
15444
to close the drawer.
15446
* foobar-widget.[ch] : Rename "focus_panel" signal to "move_focus_out"
15448
* panel-widget.c (panel_widget_focus): Do not configure.infocus panel for
15451
* panel.c (panel_menu_get): Sink menu object to avoid warning on
15454
2002-02-14 Seth Nickell <snickell@stanford.edu>
15456
* menu.c: (icon_to_load_copy), (load_icons_handler),
15457
(create_menuitem), (panel_load_menu_image_deferred_with_size),
15458
(panel_load_menu_image_deferred):
15460
Increase the size of the icons in the Applications menu to
15463
2002-02-14 Shivram U <shivaram.upadhyayula@wipro.com>
15465
reviewed by Mark McLoughlin <mark@skynet.ie>
15467
* launcher.c: Fixed the problem with the revert button in the
15468
launcher not reverting back to the original settings. (#70692)
15470
2002-02-12 Mark McLoughlin <mark@skynet.ie>
15472
* Makefile.am: don't set GNOME_CORE_BUILD_INTERNAL and use
15473
(top_srcdir)/gnome-panel.
15475
* launcher.c, launcher.h, menu-fentry.h, menu-properties.c,
15476
menu.c, session.c, swallow.c: upd for the fact that
15477
libgnome-desktop is in a seperatre module now.
15479
2002-02-11 Kjartan Maraas <kmaraas@gnome.org>
15481
* drawer-widget.c: #include <config.h>
15482
* panel-config.c: Same
15484
2002-02-11 Takayuki KUSANO <AE5T-KSN@asahi-net.or.jp>
15486
reviewed by: Mark McLoughlin <mark@skynet.ie>
15488
* foobar-widget.c: (append_gnomecal_items): actually use
15489
the translated strings.
15491
2002-02-11 Mark McLoughlin <mark@skynet.ie>
15493
* gnome-panel-properties.c:
15494
* gnome-run.c: don't include gnome-window-icon.h directly.
15495
Its in libgnomeui.h now.
15497
2002-02-11 Richard Hult <rhult@codefactory.se>
15499
* panel-applet-frame.c (panel_applet_frame_construct): Remove
15500
debug code, missed this in my last commit.
15502
2002-02-11 Richard Hult <rhult@codefactory.se>
15504
* panel-applet-frame.c: Put popup menu items at the bottom of the
15507
2002-02-09 Mark McLoughlin <mark@skynet.ie>
15510
(panel_applet_load_idle_handler): load applets in an idle handler
15512
(panel_applet_load_from_unique_id): use it.
15514
2002-02-09 Mark McLoughlin <mark@skynet.ie>
15516
* GNOME_Panel.server.in: move to Vertigo namespace.
15520
2002-02-09 Mark McLoughlin <mark@skynet.ie>
15522
* panel-applet-frame.[ch]:
15523
(panel_applet_frame_load): update for panel_applet_frame_new change.
15524
(panel_applet_frame_get_expand_flags): get the flags from the
15526
(panel_applet_frame_get_background_string): impl method to
15527
prepare background strings.
15528
(panel_applet_frame_change_background): merge background changing
15530
(panel_applet_focus): rename to panel_applet_frame_focus.
15531
(panel_applet_frame_get_orient_string),
15532
(panel_applet_frame_get_size_string): impl method to prepare size
15533
and orient strings.
15534
(panel_applet_frame_construct_moniker): add the bacgkround, size
15536
(panel_applet_frame_construct): add PanelWidget arg.
15537
(panel_applet_frame_new): ditto.
15539
* panel-types.h: GNOME_Panel_BackType enum doesn't exist anymore.
15541
* panel-widget.[ch] (panel_widget_class_init): upd for above.
15542
(panel_widget_get_applet_orient): re-named from get_applet_orient.
15544
* panel.c: (get_applet_orient): move to panel-widget.c.
15545
(back_change): use panel_applet_background_change.
15547
* drawer.c: (load_drawer_applet): update for get_applet_orient
15550
* status.[ch] (status_spot_remove): use Vertigo_StatusSpot.
15552
2002-02-10 Havoc Pennington <hp@pobox.com>
15554
* basep-widget.c (basep_widget_size_allocate): Consider the x/y
15555
position of the panel when setting struts. This means we get the
15556
right strut if some crack-smoker puts multiple panels on the same
15557
side of the screen. Currently only seems to matter for stacking an
15558
edge panel under the foobar.
15560
2002-02-10 Gediminas Paulauskas <menesis@delfi.lt>
15562
* Makefile.am: use intltool for .desktop files.
15563
* gnome-panel-properties.desktop.in: add files without
15565
* gnome-panel-properties.desktop: removed, they are generated.
15567
2002-02-10 Gediminas Paulauskas <menesis@delfi.lt>
15569
* quick-desktop-reader.c: do charset conversion only if source
15570
encoding is not NULL. Avoids lots of warnings.
15572
2002-02-08 Mark McLoughlin <mark@skynet.ie>
15574
* session.c: (panel_session_save): another leak. That seems
15575
to be most of them ...
15577
2002-02-08 Mark McLoughlin <mark@skynet.ie>
15579
* panel-widget.c: (panel_widget_set_new_id),
15580
(panel_widget_new): kill more leaks.
15582
2002-02-08 Mark McLoughlin <mark@skynet.ie>
15584
* panel.c: (panel_gconf_profile_set_string),
15585
(panel_gconf_profile_set_int), (panel_gconf_profile_set_bool):
15586
fix more hideous leaks and re-name like below.
15587
(panel_session_save_panel): upd for above.
15589
2002-02-07 Mark McLoughlin <mark@skynet.ie>
15591
* menu-properties.c: (properties_apply_callback): save to gconf.
15593
* menu.c: (menu_save_to_gconf): check icon file is set before
15594
setting it in gconf.
15596
2002-02-08 Mark McLoughlin <mark@skynet.ie>
15598
* session.[ch]: (panel_session_save): don't dup string. it
15599
was been leaked allmost everywhere anyway.
15601
* applet.c: (panel_applet_clean_gconf), (panel_applet_load_list),
15602
(panel_applet_save_position), (panel_applet_save_to_gconf):
15603
* drawer.c: (drawer_save_to_gconf), (drawer_load_from_gconf):
15604
* launcher.c: (launcher_save_to_gconf):
15605
* menu.c: (menu_save_to_gconf), (menu_load_from_gconf):
15606
* panel-applet-frame.c: (panel_applet_frame_save_to_gconf):
15607
* panel.c: (panel_session_save_panel):
15608
* swallow.c: (swallow_save_to_gconf), (swallow_load_from_gconf):
15609
update for above change.
15611
* distribution.c: (get_distribution_info): fix warning.
15613
2002-02-08 Mark McLoughlin <mark@skynet.ie>
15615
* launcher.c: (setup_button): free icon string.
15617
* menu-fentry.c: (fr_check_and_reread): unref the vfs file
15618
info before returning.
15620
* menu.c: (load_icons_handler): free the icon info before
15623
* panel.c: (panel_gconf_profile_get_string),
15624
(panel_gconf_profile_get_int), (panel_gconf_profile_get_bool):
15625
rename from atrociously long names.
15626
(panel_session_init_panels): fix loads of string leaks and try
15629
2002-02-08 Mark McLoughlin <mark@skynet.ie>
15631
* panel-util.[ch]: (panel_stretch_events_to_toplevel): use
15632
a flags arg instead of booleans. Simplifies things.
15634
* foobar-widget.c: update for above change.
15636
2002-02-07 Mark McLoughlin <mark@skynet.ie>
15638
* main.c: (main): move BONOBO_ACTIVATION_DEBUG_OUTPUT up.
15640
* panel-shell.c: (panel_shell_register): enable per-display
15641
registration, however this doesn't work yet 'cause its not enabled in
15644
2002-02-07 Mark McLoughlin <mark@skynet.ie>
15646
* distribution.c: (get_distribution_info): fix core. Sorry people.
15648
2002-02-07 Mark McLoughlin <mark@skynet.ie>
15650
* Makefile.am: split deprecation related cflags and gnome_program
15651
related defines into their own variable.
15654
(panel_applet_clean_gconf): free gconf_key here.
15655
(panel_applet_clean): don't clean gconf until after the widget has
15657
(applet_destroy): don't free key here.
15659
* distribution.[ch]: (get_distribution_info): allow distribution menus
15660
to be re-locatable.
15662
* gnome-panel-properties.c: (main): set the window icon.
15664
* gnome-run.c: (register_run_stock_item): impl to register a new stock
15665
icon and icon set for the run button.
15666
(show_run_dialog): use above instead of stock execute item. Lookup
15667
window icon with gnome_program_locate_file.
15669
2002-02-06 Padraig O'Briain <padraig.obriain@sun.com>
15671
* panel-applet-frame.[ch]
15672
Add action signal move-focus_out_of_panel to move focus from applet to
15673
next or previous object on panel. Currently Tab and Shift+Tab are the
15674
keys which do this.
15676
* foobar-widget.[ch]
15677
Add action signal focus_panel to support moving focus to the panel
15680
Remove unused argument PanelData specified for panel_event()
15681
Set focus on panel if button release happens in panel and panel is
15684
2002-02-06 Mark McLoughlin <mark@skynet.ie>
15687
(create_advanced_contents): don't set focus widget here, we do
15689
(update_contents): focus the entry, not the vbox.
15691
Tue Feb 05 17:48:58 2002 George Lebl <jirka@5z.com>
15693
* gnome-run.c: set window icon
15695
* menu-util.c: remove the applets sub from the default menu flags
15697
* menu.c: About box fixups, use a logo, add documentors, fix
15698
translation credits, and use the comment for the commie mode
15699
paragraph. Use the standard defaults when adding a menu.
15700
When saving a ditem in the timeout, save the error and display
15701
it in an error dialog when we close the property window.
15702
Add more descriptive standard menu tooltips. When there is
15703
no full menu name use the directory basename rather then "Menu".
15704
Translate the things from the bonobo server entry. Use
15705
a lazy hash for category->icon lookups, and use untranslated
15706
category name to lookup icons. Use standard panel error
15707
dialog api for 'only one foobar' dialog.
15709
* panel-widget.c: unused var warning
15711
* xstuff.c: fix possible race (I'm anal, perhaps it's not a race
15712
at all in fact, but it's not there anymore)
15714
2002-02-05 Mark McLoughlin <mark@skynet.ie>
15716
* panel.c: (panel_session_init_panels): audit use of
15717
gconf_enum_to_string to make sure all (gint *) casts
15718
are correct. Solaris refuses to entertain mis-aligned
15721
2002-02-04 jacob berkman <jacob@ximian.com>
15723
* Makefile.am: our object files require the built sources
15725
2002-02-04 Mark McLoughlin <mark@skynet.ie>
15727
* launcher.c: (properties_apply): save the launcher.
15728
(launcher_save_to_gconf): don't save location if its not set.
15729
(launcher_file_name), (launcher_save): make static.
15730
(launcher_hoard): save to gconf.
15732
* launcher.h: kill launcher_file_name and launcher_save.
15734
2002-02-04 Padraig O'Briain <padraig.obriain@sun.com>
15736
* panel.c: Correct popping up of panel's context menu using keyboard.
15738
2002-02-04 Padraig O'Briain <padraig.obriain@sun.com>
15740
These changes update the changes which give focus to the panel and
15741
object on the panel to take account of the fix to bug 50339 which
15742
requires that a widget in a GtkWindow have focus initially, rather
15743
than the GtkWindow itself.
15745
* basep-widget.[ch]: Rename focus_return as the more meaningful name
15746
focus_panel. Remove the functions basep_widget_focus_in_event,
15747
basep_widget_focus_out_event and basep_widget_set_focus. Specify
15748
focus chain in basep_widget_construct so that focus goes initially to
15751
* panel-widget.[ch]:
15752
Add functions panel_widget_focus_in_event, which sets PRELIGHT state
15753
for panel and adds keybindings for Tab and Shift+Tab, and
15754
panel_widget_focus_out_event, which unsets the PRELIGHT state for the
15755
panel, removes keybindings for Tab and Shift+Tab and unsets
15756
GTK_WIDGET_CAN_FOCUS flag, if focus is going to another widget in the
15757
window. Rename move_to_panel to tab_move.
15758
Add key bindings for Tab and Shift+Tab when panel has focus or when in
15759
move mode. Set GTK_WIDGET_CAN_FOCUS flag on panel when it is created.
15760
Add code to panel_widget_tab_move to move focus to object in panel;
15761
this requries unsetting GTK_WIDGET_CAN_FOCUS flag on panel.
15762
Add function panel_widget_focus which moves the focus from an object
15763
on the panel to the panel.
15765
2002-02-04 Mark McLoughlin <mark@skynet.ie>
15767
* gnome-panel-properties.glade.h:
15768
* gnome-panel-screenshot.glade.h: remove.
15770
* Makefile.am: remove .glade.h files.
15772
* applet.c, panel-applet-frame.c: fixup pre-conditions.
15774
Fri Feb 01 17:00:02 2002 George Lebl <jirka@5z.com>
15776
* foobar-widget.c, menu.[ch], menu-fentry.[ch]: remove old applet
15779
* global-keys.c: call the run dialog yet again
15781
* menu.c: add some more people to the authors list in the about box,
15784
* menu.c, panel.c: handle applet dnd again, and reenable adding
15785
applet menu as part of the main. Though perhaps we should just
15786
whack that completely. Also fix a small leak.
15788
2002-01-31 Mark McLoughlin <mark@skynet.ie>
15790
* button-widget.c: (button_widget_class_init): kill
15793
* panel-widget.c: (panel_widget_move_to_panel): initialise
15796
2002-01-31 Glynn Foster <glynn.foster@sun.com>
15798
* panel-marshal.list: Add VOID:BOOLEAN to fix build.
15800
2002-01-31 Padraig O'Briain <padraig.obriain@sun.com>
15802
* button-widget.[c], panel-widget.[ch] panel-marshal.lst:
15803
Remove keyboard move functionality from ButtonWidget. It is now
15804
necessary to be in Move mode before it is possible to move applets
15805
using the keyboard.
15806
Tab or Shift+Tab will move applet to next or previous panel.
15807
Shift+arrow will push applet a small amount
15808
Control+arrow will switch applet
15809
Alt+arrow will free move an applet
15810
Escape will exit Move mode
15812
Tue Jan 29 01:50:01 2002 George Lebl <jirka@5z.com>
15814
* basep-widget.[ch], panel.c, floating-widget.c, drawer.c: the change
15815
signal arguments now give the old value and by the time they
15816
are emitted, the new value was already set. Get rid of the
15817
BASEP_MOVING state since it wasn't really treated as one and
15818
add a ->moving flag. When we hide the panel, make sure the
15819
widgets that aren't visible are at least insensitive. Also
15820
autohide/autoshow now use idle when at 0 value.
15822
2002-01-28 Seth Nickell <snickell@stanford.edu>
15824
* menu.c: (create_root_menu):
15826
Replace "Execute" with "Run", to avoid using threatening
15829
2002-01-28 Seth Nickell <snickell@stanford.edu>
15832
* gnome-panel-properties.desktop:
15834
Install into the new CC capplets location.
15836
2002-01-28 Anders Carlsson <andersca@gnu.org>
15838
* gnome-run.c (add_columns): Use a single tree view column
15839
and pack both cell renderers in it.
15840
(create_simple_contents): Add a shadow to the scrolled window.
15842
2002-01-28 Padraig O'Briain <padraig.obriain@sun.com>
15844
Initial implementation of keyboard move functionality for ButtonWidget.
15845
* button-widget.[ch]
15846
Define action signals "push-move", "switch-move" and "free-move"
15847
and associate keybindings with them
15848
Implement default signal handlers button_widget_push_move,
15849
button_widget_switch_move, button_widget_free_move
15851
* panel-widget.[ch]
15852
Define action signal end-move to allow termination of move using
15853
keyboard. Use Escape as keybinding for this action. This is different
15854
from Calum's original spec but I have discussed it with him.
15855
Update panel_sub_event_handler() and panel_widget_applet_event() so
15856
that Escape causes panel_widget_end_move() is called.
15857
Add panel_widget_push_applet, panel_widget_switch_applet,
15858
panel_widget_free_move_applet to implement "push-move", "switch-move"
15860
Remove calls to g_return_if_fail (foo != NULL) if followed by calls
15861
to g_return_if_fail (GTK_IS_BAR (foo));
15863
2002-01-27 Seth Nickell <snickell@stanford.edu>
15865
* panel-per-panel-config.schemas:
15867
And switch seconds off to minimize the disturbance caused
15868
by the resizing problems.
15870
2002-01-27 Seth Nickell <snickell@stanford.edu>
15872
* panel-per-panel-config.schemas:
15874
Move "pager" into the upper right hand corner.
15876
2002-01-27 Glynn Foster <glynn.foster@sun.com>
15878
* foobar-widget.c, panel.c: Hopefully fixes bug #69838.
15880
2002-01-26 Glynn Foster <glynn.foster@sun.com>
15882
* panel-per-panel-config.schemas: Bugger, forgot to hide the hide
15885
2002-01-26 Glynn Foster <glynn.foster@sun.com>
15887
* applet.c: Change right-stick to panel-right-stick. It still doesn't
15888
really describe to the user what it is, but it's a bit more intuitive.
15889
* panel-per-panel-config.schemas: Add in a few applets and change things
15890
around according to Nils' proposal. [Still perhaps missing some icons?].
15892
2002-01-26 Roy-Magne Mo <rmo@sunnmore.net>
15894
* panel.hints: syncronizing panel.hints
15895
with the gnome-1-4 core. This means
15896
adding nn and sl languages.
15898
Thu Jan 24 16:20:47 2002 George Lebl <jirka@5z.com>
15900
* menu.c: fix the reposition hack not to spew warnings
15902
Wed Jan 23 18:20:13 2002 George Lebl <jirka@5z.com>
15904
* menu.[ch], menu-util.c, applet.c, foobar-widget.c: Make sure
15905
menus appear within xinerama boundaries. Those that don't like
15906
menu.c style of coding should NOT look at this code. But it
15909
* multiscreen-stuff.c: reorder the screens in the fake debugging
15912
* basep-widget.c: fix screen_change signal signature
15914
* foobar-widget.c: add some corners. Yay we half look like a mac
15915
now. Now if we could only get bottom corners as well. Maybe
15918
2002-01-23 Padraig O'Briain <padraig.obriain@sun.com>
15920
* applet.c: Add applet_do_popup_menu() and applet_popup_menu() to
15921
support popping up of menu using Shift+F10 for buttons on the panel.
15923
* basep_widget.c (base_widget_focus_return):
15924
Update to forget previously focussed widget so that Ctrl+Tab followed
15925
by Tab gives always gives focus to first button
15927
* menu.c: Add menu_button_menu_popup() and menu_button_notify() to
15928
support menu popup when menu icon receives focus.
15929
Define callback for "clicked" to be menu_button_pressed so that
15930
pressing Enter or Space on a focussed menu icon activates its menu.
15932
Tue Jan 22 16:11:47 2002 George Lebl <jirka@5z.com>
15934
* quick-desktop-reader.c: when testing for tryexec, just do an
15935
access (foo, X_OK) if it's an absolute filename. Also put
15936
the debug conditional around ALL the g_prints
15938
2002-01-22 Anders Carlsson <andersca@gnu.org>
15940
* button-widget.c: Lower the button displacement.
15942
2002-01-22 Padraig O'Briain <padraig.obriain@sun.com>
15944
* basep_widget.c: Add new function basep_widget_move_focus to
15945
implement GtkWidgetClass's move_focus; it causes a icon in the panel
15946
to receive focus initially instead of hide/show button when Tab is
15947
pressed when the panel has focus
15949
Mon Jan 21 19:20:06 2002 George Lebl <jirka@5z.com>
15951
* logout.c: block the logout signal while we're in the signal handler
15953
* main.c: remove the I'm on crack dialog. it's pissing the shit out
15954
of me. So we're no longer elitist. Plus the panel shouldn't screw
15955
up your old config now so it should be ok.
15957
* xstuff.[ch]: remove the nautilus check thing, it's broken and
15960
2002-01-21 Glynn Foster <glynn.foster@sun.com>
15962
* panel-global-config.schemas, panel-per-panel-config.schemas: Add
15963
xml tags to these files.
15965
Mon Jan 21 00:50:06 2002 George Lebl <jirka@5z.com>
15967
* panel.c: use g_filename_from_uri
15969
2002-01-20 Seth Nickell <snickell@stanford.edu>
15971
* main.c: (tell_user_Im_on_crack):
15973
Mr. Picky Strikes! Remove the separator from
15974
the dialog as per the HIG.
15976
2002-01-19 Seth Nickell <snickell@stanford.edu>
15978
* menu.c: (create_add_panel_submenu):
15979
* panel-config.c: (update_config_type), (panel_config):
15981
Rename "Aligned panel" to "Corner panel".
15983
Add pixmaps for the menu items under "Create panel->".
15985
2002-01-19 Seth Nickell <snickell@stanford.edu>
15987
* menu.c: (create_applets_menu), (make_add_submenu),
15988
(create_root_menu):
15990
Start collapsing Applet submenu into the "add" submenu. The distinction
15991
between applets and other "things you can put on the panel" isn't very
15992
clear and is primarily a technical distinction (particular for objects
15993
such as the status dock. This looks bigger, but its the amount of data
15994
many users effectively have to sift through to find what they're looking
15995
for. Now we can confront the problem of better categorization head on.
15997
2002-01-19 Seth Nickell <snickell@stanford.edu>
15999
* gnome-panel-properties.glade:
16001
Reword "on mouseover" to "when the mouse moves over them". Yeah,
16002
its longer, but its also a lot more natural (and still not the
16003
longest string in that dialog ;-)
16005
* menu.c: (create_panel_context_menu):
16007
* panel.c: (panel_menu_get):
16009
Make the panel right click menu only be a context menu for
16010
panels rather than a "full" Main menu.
16012
2002-01-17 Padraig O'Briain <padraig.obriain@sun.com>
16014
* basep_widget.c: Fill in panel background with prelight color/pixmap
16015
when panel has focus. This requires introducing new function
16016
basep_widget_focus_in_event, base_widget_focus_out_widget,
16017
basep_widget_set_focus
16019
Thu Jan 17 01:43:20 2002 George Lebl <jirka@5z.com>
16021
* panel-util.[ch], applet.c, basep-widget.c, drawer.c, logout.c,
16022
menu.c: Some renaming of functions and minor cleanup of cruft.
16024
* panel-applet-frame.c, applet.c, panel.c: Don't use the 'data'
16025
field to store the frame, that's what the 'widget' item is for
16027
* xstuff.c, swallow.c: port the status and swallow checking to
16028
libwnck and some swallowing cleanup including a ditem launch
16031
Wed Jan 16 18:14:43 2002 George Lebl <jirka@5z.com>
16033
* panel-util.[ch], applet.c , launcher.c, menu.c: Reenable the
16034
DocPath help showing stuff, but slightly differently now
16036
* panel-util.[ch], panel-widget.c: s/my_g_/panel_g_/
16038
* panel-util.c, menu.c: a bit more work on error dialogs,
16039
also have the error/info dialogs use the markup.
16041
2002-01-16 Stephen Browne <stephen.browne@sun.com>
16045
changed the file to look for on Solaris
16047
2002-01-16 Glynn Foster <glynn.foster@sun.com>
16051
2002-01-16 Padraig O'Briain <padraig.obriain@sun.com>
16053
* basep_widget.[ch]
16054
Add "focus_return" signal to return focus from a child widget to the
16055
panel. Define key binding (Ctrl+Tab) to activate focus_return.
16056
Remove calls to g_return_if_fail (foo != NULL) if followed by calls
16057
to g_return_if_fail (GTK_IS_BAR (foo));
16059
Wed Jan 16 01:01:38 2002 George Lebl <jirka@5z.com>
16061
* applet.[ch], panel-applet-frame.c: Make sure the AppletInfo is
16062
freed, fix a possible race with applet destruction. There are
16063
some somewhat evil things still around here. Fear.
16065
* panel-util.[ch], applet.c, gnome-run.c, menu-fentry.c, menu.c,
16066
panel.c: make deep_free list functions and use them
16068
Tue Jan 15 15:05:46 2002 George Lebl <jirka@5z.com>
16070
* button-widget.[ch], panel-types.h, drawer.c, menu.c, launcher.c,
16071
logout.c: Remove the button widget type enum, it's not needed
16074
* button-widget.c: draw the focus frame thingie over the icon
16075
if we are focused. You can now tab between launchers and
16076
see where you are :)
16078
* panel-util.c: some warning fixes
16080
2002-01-15 Padraig O'Briain <padraig.obriain@sun.com>
16082
* menu-util.c (panel_menu_position):
16083
Ensure that menu position is close to panel even if popped up by
16087
Add panel_do_popup_menu() and panel_popup_menu() to support popping
16088
up of menu using Shift+F10
16090
2002-01-14 Padraig O'Briain <padraig.obriain@sun.com>
16092
reviewed by: Mark McLoughlin <mark@skynet.ie>
16094
* basep_widget.c foobar-widget.c menu.c
16095
Use GtkButton's in_button field instead of ButtonWidget's
16097
* button-widget.[ch]:
16098
Derive ButtonWidget from GtkButton instead of GtkWidget; use
16099
GtkButton's pressed, released and clicked signals instead of signals
16100
defined in ButtonWidget; ButtonWidget now can receive focus and react
16102
Remove calls to g_return_if_fail (foo != NULL) if followed by calls
16103
to g_return_if_fail (GTK_IS_BAR (foo));
16105
2002-01-14 Mark McLoughlin <mark@skynet.ie>
16107
* Makefile.am: distcheck fix.
16109
Mon Jan 14 01:40:25 2002 George Lebl <jirka@5z.com>
16111
* launcher.c, panel-util.[ch]: Add a directory ensuring function
16112
that ensures the whole path exists and use it instead of mkdir
16113
when hoarding launchers. This seems to make things work for me.
16115
2002-01-14 Glynn Foster <glynn.foster@sun.com>
16117
* Makefile.am: Make dist fixes. Actually these probably don't
16118
help at all...it's any excuse to get it to build ;)
16120
2002-01-13 Alexander Larsson <alla@lysator.liu.se>
16123
Make convert_string_to_keysym_state() use gtk_accelerator_parse()
16124
and convert_keysym_state_to_string() use gtk_accelerator_name().
16126
* gnome-panel-properties.glade:
16127
Convert to new keysym string format.
16129
* panel-config-global.h:
16130
Make the _state variables GdkModifierType.
16132
* panel-widget.[ch]:
16133
Remove "applet_draw" signal.
16135
2002-01-12 Glynn Foster <glynn.foster@sun.com>
16137
* applet.c, panel-gconf.c, panel.c: Tighten up the
16138
dir_exists keys for when we have instant apply..post 2.0
16140
2002-01-12 Glynn Foster <glynn.foster@sun.com>
16142
* menu.c: Make the multiple foobar alert dialog modal so it
16143
disappears. Fixes #68596.
16145
2002-01-12 Glynn Foster <glynn.foster@sun.com>
16147
* main.c: (main): Add in the name of the executable to avoid
16148
crashing on logout. Thanks to owen for spotting this. Everyone
16149
else is too afraid to run gnome-session :)
16151
2002-01-11 Mark McLoughlin <mark@skynet.ie>
16153
* panel-gconf.c: (panel_gconf_dir_exists): use GError.
16155
* rgb-stuff.[ch]: kill everything but transform_pixbuf.
16157
2002-01-11 Glynn Foster <glynn.foster@sun.com>
16159
* panel-applet-frame.c: Use normal profile key for saving to, not
16160
default profile key.
16162
2002-01-11 Mark McLoughlin <mark@skynet.ie>
16165
(panel_applet_load_from_unique_id), (panel_applet_load_list):
16168
* panel-gconf.h: add PANEL_GCONF_DEFAULT_PROFILE.
16170
* panel.c: (panel_session_init_panels): use it.
16172
Thu Jan 10 23:27:54 2002 George Lebl <jirka@5z.com>
16174
* Makefile.am, foobar-widget.c, menu.[ch], panel-config.c,
16175
panel-util.c, panel.c, session.c, tearoffitem.[ch]:
16176
Remove tearoff menus, they sucked. We can readd them when
16177
we implement them properly.
16179
* gnome-run.c: Port to TreeView, so we are now completely
16180
de-deprecated. Also read from all-applications:/ To
16181
actually allways get all entries.
16183
2002-01-11 Glynn Foster <glynn.foster@sun.com>
16185
* applet.c, drawer.c, drawer.h, gnome-panel-properties.c,
16186
launcher.c, launcher.h, logout.c, logout.h, menu.c,
16187
menu.h, panel-applet-frame.c, panel-applet-frame.h, panel-gconf.c,
16188
panel-gconf.h, panel-per-panel-config.schemas, panel.c,
16189
status.c, status.h, swallow.c, swallow.h:
16190
Okay, I've already forgotten what has gone into this patch. Think I've
16191
got the global propeties animation speed thing nailed. Tweaked the default
16192
schema just enough to get everyone pissed because the panel won't load up
16193
for them. Make everyone happy and tell them that it's only a short 'rm -rf'
16194
command away from panel utopia...until I break it the next time. Moved some
16195
stuff around to where it makes more sense. Now I'm seeing elephant trunks
16196
in my ChangeLog...I need to sleep.
16198
2002-01-11 Anders Carlsson <andersca@gnu.org>
16200
* panel-shell.c (panel_shell_register): Print out the error
16201
code if the panel fails to register.
16203
2002-01-10 Padraig O'Briain <padraig.obriain@sun.com>
16206
Add function show_tip to set tooltips for hidebuttons
16207
(basep_widget_state_change): Update tooltip when state changes
16208
(make_hidebutton): Allow button to receive focus
16209
(basep_widget_explicit_hide): Move focus from hidden button
16211
2002-01-10 Mark McLoughlin <mark@skynet.ie>
16213
* applet.[ch]: (panel_applet_load_from_unique_id),
16214
(panel_applet_save_to_gconf): enable swallow loading/saving.
16215
(panel_applet_callback_set_sensitive): kill.
16217
* basep-widget.[ch]:
16218
(basep_widget_enable_buttons): make sane.
16219
(basep_widget_pre_convert_hook):
16220
(basep_widget_get_hide_size): kill.
16221
(basep_widget_get_hide_orient): ditto.
16222
(basep_widget_set_state): ditto.
16224
* button-widget.c: (make_hc_pixbuf): upd.
16225
(do_saturate_darken): kill do_saturate_darken - not used.
16227
* drawer-widget.[ch]:
16228
(rawer_widget_restore_state): kill
16230
* floating-widget.[ch]:
16231
(floating_widget_change_orient): kill.
16233
* gnome-run.c, launcher.c, menu-properties.c: don't include
16237
(update_config_mode), (update_config_mode): kill unused.
16239
* panel-gconf.[ch]: (panel_gconf_get_session_key): ditto.
16242
(string_is_in_list), (strtok_with_escape), (escape_string):
16245
* panel-widget.[ch]:
16246
(panel_widget_get_applet_count), (make_background),
16247
(panel_widget_get_pos), (panel_widget_change_orient),
16248
(panel_widget_get_applet_rgb_bg): ditto.
16249
(panel_widget_move), (panel_widget_get_free_space): not used,
16250
but is probably useful ... #ifdef out.
16253
(panel_realize), (panel_setup): upd.
16254
(panel_data_by_id): kill unused.
16256
* rgb-stuff.[ch]: #ifdef everything out apart from
16257
transform_pixbuf. Can we kill all that stuff?
16259
* status-docklet.c: (status_docklet_instance_init): rename
16260
from status_docklet_init. An he claims i suck? :-)
16262
* xstuff.c: (redo_interface), (desk_notifier),
16263
(task_notifier): kill unused.
16264
(xstuff_init): kill old notifiers.
16266
2002-01-10 Glynn Foster <glynn.foster@sun.com>
16268
* Makefile.am, main.c, panel.c, session.c: Remove old cruft that
16269
that was added during the war years. We don't need it now.
16271
2002-01-10 Glynn Foster <glynn.foster@sun.com>
16273
* main.c, panel-widget.c, panel.c, panel.h, session.c, session.h:
16274
More namespacing. I will do real work soon honest.
16276
2002-01-09 Glynn Foster <glynn.foster@sun.com>
16278
* basep-widget.c: Use #defines for panel speed for convenience
16279
* gnome-panel-properties.c: Fix animation speeds [hopefully].
16280
* panel-types.h: Change order of PanelSpeed enum.
16281
* main.c, panel.c, panel.h, session.c, session.h: Start to order
16282
some stuff around for proper namespacing.
16283
I'm 99.99% sure that this builds...because I looked dumb the last
16284
time [thanks Darin!].
16286
2002-01-09 Darin Adler <darin@bentspoon.com>
16288
* menu.c: Another include of conditional.h
16290
2002-01-09 Darin Adler <darin@bentspoon.com>
16292
* main.c: Remove include of conditional.h
16294
2002-01-09 Glynn Foster <glynn.foster@sun.com>
16296
* Makefile.am: Remove building of conditional.[ch]
16297
* conditional.c, conditional.h: Kill Kill Kill!!
16298
* menu.c: ifdef out, hasn't been implemented using gconf yet
16299
* main.c, panel-gconf.c, panel-util.c, session.c: Move stuff around
16300
a little bit to remove as much cruft from main ()
16301
* panel-util.c: Add some of the useful [possibly] batter stuff from
16304
2002-01-09 Mark McLoughlin <mark@skynet.ie>
16306
* panel-applet-frame.c:
16307
(panel_applet_frame_change_background_pixmap): implement new
16308
"pixmap:xid,x,y" format.
16310
* panel.c: (back_change): upd.
16312
2002-01-09 Alexander Larsson <alla@lysator.liu.se>
16314
* button-widget.[ch]:
16315
Make it a normal widget that exposes using
16316
gdk_pixbuf_render_to_drawable_alpha ().
16318
* panel-widget.[ch]:
16319
Override signals instead of connecting to them.
16320
Remove lots of code that handled button-widgets.
16321
Expose like normal Gtk widgets.
16322
Remove no_window_applet_list, as it's not needed anymore.
16324
2002-01-08 Glynn Foster <glynn.foster@sun.com>
16326
* AUTHORS: Adding Mark and myself.
16328
2002-01-08 Glynn Foster <glynn.foster@sun.com>
16330
* gnome-panel-properties.c: Fix up to reflect the user intuitive
16331
global property config changes.
16333
2002-01-08 Glynn Foster <glynn.foster@sun.com>
16335
* panel-gconf.c: Add some more error checking to the loading of
16336
gconf. Still far from adequate, but it might just stop panel from
16337
crapping out. Thanks to Mark for bugging me about this ;)
16339
2002-01-08 Mark McLoughlin <mark@skynet.ie>
16341
* APPLET_WRITING, applet-object.c, applet-object.h,
16342
applet-private.h, applet-widget.c, applet-widget.h,
16343
appletsConf.sh.in, bad-applet.c, dockletsConf.sh.in,
16344
extern.c, extern.h: kill cruft.
16346
2002-01-07 Glynn Foster <glynn.foster@sun.com>
16348
* basep-widget.c, basep-widget.h, main.c panel-config-global.h,
16349
panel-global-config.schemas, panel-per-panel-config.schemas,
16350
panel-types.h, session.c:
16352
Remove mostly all traces of non-usable gconf schema keys in preference
16353
to using gconf_string_to_enum and vice versa. This will hang your panel
16354
unless you remove ~/.gconf/apps/panel and 'make install'.
16356
2002-01-07 Mark McLoughlin <mark@skynet.ie>
16359
(applet_callback_callback): kill APPLET_RUN stuff.
16360
(panel_applet_load_from_unique_id),
16361
(panel_applet_save_to_gconf): load/save drawers, swallowed
16362
apps, status docks, logout and lock buttons.
16365
(load_drawer_applet): add gconf_key arg.
16366
(drawer_save_to_gconf), (drawer_load_from_gconf): impl.
16368
* swallow.[ch]: (really_add_swallow): upd.
16369
(load_swallow_applet): add gconf_key param.
16370
(swallow_save_to_gconf), (swallow_load_from_gconf): impl.
16372
* menu.[ch]: (add_drawers_from_dir), (add_drawer_to_panel):
16373
upd for drawers changes.
16375
* panel.c: (drop_internal_applet): ditto.
16377
* panel-main.h: kill panel_main_get_current_profile.
16379
* session.c: (panel_session_save_applets), (panel_quit):
16380
kill old applets loading/saving stuff.
16382
2002-01-07 Mark McLoughlin <mark@skynet.ie>
16384
* applet.c: (panel_applet_load_from_unique_id),
16385
(panel_applet_save_to_gconf): load menus.
16387
* menu.[ch]: (add_menu_to_panel): upd.
16388
(load_menu_applet): add gconf_key arg.
16389
(menu_save_to_gconf), (menu_load_from_gconf): impl.
16391
* panel.c: (drop_menu): update for load_menu_applet change.
16393
* launcher.c: (launcher_save_to_gconf), (launcher_load_from_gconf):
16394
use object's keys, not applet's keys. doh.
16396
2002-01-07 Mark McLoughlin <mark@skynet.ie>
16398
* applet.c: (panel_applet_get_full_gconf_key): fix silly.
16399
(panel_applet_load_from_unique_id): use
16400
panel_applet_frame_load_from_gconf and load launchers.
16401
(panel_applet_load_list): replace list_key arg with type arg.
16402
(panel_applet_load_applets_from_gconf): upd.
16403
(panel_applet_save_position): suggest a sync.
16404
(panel_applet_save_to_gconf): save launchers.
16407
(launcher_save_to_gconf), (launcher_load_from_gconf): impl.
16408
(load_launcher_applet_full), (load_launcher_applet): add a
16410
(really_add_launcher), (load_launcher_applet_from_info),
16411
(load_launcher_applet_from_info_url): upd.
16413
* menu.c: (add_app_to_panel), (add_drawers_from_dir),
16414
(add_launcher): upd for launcher change.
16416
* panel.c: (drop_urilist), (drop_internal_icon): ditto.
16418
* panel-applet-frame.[ch]:
16419
(panel_applet_frame_load_from_gconf): impl.
16421
2002-01-07 Mark McLoughlin <mark@skynet.ie>
16423
Move applet loading/saving to/from gconf into applet.c where
16424
it can be used by all type of panel objects.
16427
(panel_applet_clean_gconf): impl.
16428
(panel_applet_clean): clean_gconf and remove the applet from
16430
(applet_idle_remove): save position for all object.
16431
(applet_destroy): free gconf_key.
16432
(panel_applet_get_full_gconf_key),
16433
(panel_applet_load_from_unique_id), (panel_applet_load_list),
16434
(panel_applet_load_applets_from_gconf),
16435
(panel_applet_save_position),
16436
(panel_applet_save_to_gconf): impl.
16437
(panel_applet_register): add gconf_key arg, save_to_gconf.
16438
(panel_applet_get_position),
16439
(panel_applet_get_panel_id), (panel_applet_get_right_stick):
16442
* drawer.c: (load_drawer_applet):
16443
* launcher.c: (load_launcher_applet_full):
16444
* logout.c: (load_logout_applet), (load_lock_applet):
16445
* menu.c: (load_menu_applet):
16446
* status.c: (load_status_applet):
16447
* swallow.c: (load_swallow_applet): update for
16448
panel_applet_register param change.
16450
* panel-applet-frame.[ch]:
16451
(panel_applet_frame_save_to_gconf): only save the bonobo iid.
16452
(popup_handle_remove): kill gconf stuff.
16453
(panel_applet_frame_load): generate a gconf_keyt if we're
16454
loading the applet for the first time.
16455
(panel_applet_frame_finalize), (panel_applet_frame_construct),
16456
(panel_applet_frame_new): upd.
16458
* panel-gconf.[ch]: (panel_gconf_objects_profile_get_full_key),
16459
(panel_gconf_objects_default_profile_get_full_key): rename
16460
from panel_gconf_launchers_*.
16462
* panel.c: (panel_remove_applets): save position for all
16466
(panel_session_save_applets): save position for all object.
16467
(panel_session_die): ditto.
16468
(session_load): use panel_applet_load_applets_from_gconf.
16470
2002-01-07 Mikael Hallendal <micke@codefactory.se>
16472
* gnome-panel-screenshot.c: always include locale.h, it's used in
16475
2002-01-04 Glynn Foster <glynn.foster@sun.com>
16477
* .cvsignore: GAG and lock in dark room
16479
* panel-gconf.c, panel-gconf.h: Some new convenience code
16480
for launcher loading.
16481
* panel-per-panel-config.schemas: Some new default launchers to
16482
load - still very much work in progress.
16483
* session.c: Remove use of old conditional code.
16485
2002-01-04 Mark McLoughlin <mark@skynet.ie>
16487
* panel-applet-frame.c:
16488
(panel_applet_frame_load_from_unique_id),
16489
(panel_applet_frame_save_to_gconf),
16490
(panel_applet_frame_save_position): use
16491
panel_gconf_applets_profile_get_full_key
16493
2002-01-04 Mark McLoughlin <mark@skynet.ie>
16495
Saving and loading of applets to gconf should work now.
16497
* panel-applet-frame.[ch]:
16498
(panel_applet_frame_load_from_unique_id),
16499
(panel_applet_frame_load_applets),
16500
(panel_applet_frame_save_to_gconf): impl.
16501
(popup_handle_remove): upd to remove all gconf settings.
16502
(panel_applet_frame_load): add extra gconf_key param.
16503
(panel_applet_frame_instance_init): don't initialise
16505
(panel_applet_frame_construct): add extra gconf_key param.
16506
(panel_applet_frame_new): add extra gconf_key param.
16508
* panel-widget.c: include session.h
16511
(panel_session_save_panel): don't set the list unless we've
16513
(session_load): use panel_applet_frame_load_applets.
16515
* menu.c: (add_bonobo_applet): upd.
16517
2002-01-04 Glynn Foster <glynn.foster@sun.com>
16519
* TODO, TODO.old: mv TODO TODO.old. touch TODO. Add some items
16520
that are relevant to me - hopefully everyone will do the same.
16522
Thu Jan 03 14:56:46 2002 George Lebl <jirka@5z.com>
16524
* basep-widget.c: fix possible GList mempool corruption
16526
* gnome-run.c: look for pixmaps in app directories as well.
16528
2002-01-02 Glynn Foster <glynn.foster@sun.com>
16530
* panel-gconf.c, session.c: I am an ass. Use gconf_client instead
16531
of gconf_engine. Don't know what I was thinking about. Anyway, it
16532
works okay now, although doesn't unlink the directory, although
16533
there's probably a way of doing that.
16535
2002-01-02 Glynn Foster <glynn.foster@sun.com>
16537
* panel-gconf.c, panel-widget.c, session.c, session.h:
16538
Implemented new session_remove_panel_config () function to clean
16539
up the gconf database after we start removing panels. Doesn't work
16540
at all yet, but it doesn't make things crash which is a bonus.
16542
2002-01-01 Glynn Foster <glynn.foster@sun.com>
16544
* config/Makefile.am, config/panel.config,
16545
* config/panel.global: Removed, old crusty config stuff
16546
that we don't need anymore. WARNING! keep the launcher
16547
config still, I want to look at that.
16549
* main.c, menu.c, session.c, session.h: Removed some more crufty
16550
code that we don't need anymore. Mark tearoff loading FIXME'd.
16552
2001-12-31 Glynn Foster <glynn.foster@sun.com>
16554
* panel-gconf.c, panel-gconf.h, session.c:
16556
All because the lady likes new API. Implemented / copied code for
16557
a recursive unset of a gconf directory. Nothing uses it yet, but
16560
2001-12-30 Glynn Foster <glynn.foster@sun.com>
16562
* panel-per-panel-config.schemas: Complete the schema for
16563
large size. Just waiting for some usability input now ;)
16565
2001-12-30 Glynn Foster <glynn.foster@sun.com>
16567
* panel-gconf.c, session.c:
16569
1:30am + 6 hours of tv = mushed (brain). Think I've got all
16570
the panels saving and loading properly now. They even do
16571
session management, but I'm too scared to run gnome-session-2 to
16572
check if that actually works.
16574
Fri Dec 28 03:00:03 2001 George Lebl <jirka@5z.com>
16576
* foobar-widget.c: correctly handle icon changing
16578
* menu.c: Fix some ugliness around the applets menu, still
16579
much ugliness prevails
16581
* session.c: fix a few leaks. When we find no panels install
16582
a menu panel and tell the user. Else the user would have no
16583
interface to fix his configuration.
16585
Wed Dec 26 17:45:49 2001 George Lebl <jirka@5z.com>
16587
* gnome-panel-screenshot.c, menu.c, panel.c, panel-util.c,
16588
panel-widget.c: I'm a dubmass! GdkCursor is NOT a GObject
16590
* foobar-widget.c: a bit of cleanup
16592
Wed Dec 26 16:25:50 2001 George Lebl <jirka@5z.com>
16594
* Makefile.am, basep-widget.c, button-widget.c, foobar-widget.c,
16595
global-keys.c, gnome-panel-properties.c, gnome-panel-screenshot.c,
16596
gnome-run.c, launcher.c, main.c, menu.c, nothing.cP, panel-util.c,
16597
panel-widget.c, panel.c, rgb-stuff.c, xstuff.c: Compile also
16598
with GDK_DISABLE_DEPRECATED and GDK_PIXBUF_DISABLE_DEPRECATED,
16599
and all except gnome-run.c with GTK_DISABLE_DEPRECATED
16601
* foobar-widget.c: always convert to utf8 after getting something
16604
Wed Dec 26 14:01:24 2001 George Lebl <jirka@5z.com>
16606
* foobar-widget.c: fix width of clock label. Now if the time
16607
'grows' beyond initial size then the label grows as well (it never
16608
shrinks horizontally though, unless you change the format)
16610
* nothing.cP: we need pause
16612
Wed Dec 26 12:03:37 2001 George Lebl <jirka@5z.com>
16614
* panel-gconf.c: fix default return for get_string
16616
* nothing.cP: a bit more evil was required here
16618
Tue Dec 25 16:13:56 2001 George Lebl <jirka@5z.com>
16620
* nothing.cP: some more evil
16622
Tue Dec 25 15:51:27 2001 George Lebl <jirka@5z.com>
16624
* gnome-run.c, nothing.cP, nothing.h: Since I suppose one shouldn't
16625
be productive during christmass to not seem like a loser, I wasn't
16626
actually productive. GEGLs ARE INVADING!
16628
* menu.c: cosmetic change
16630
Mon Dec 24 01:55:19 2001 George Lebl <jirka@5z.com>
16632
* panel.c, panel-util.[ch]: deal with dropped uris a tad better and
16633
actually use gnome-vfs more. Still kind of stupid and needs more
16634
work, but better then before. We should now again handle drops
16635
from the menus since those were not from a 'file:' uri's. Also
16636
drop the shell quoting routine since we already have that in glib.
16638
* panel-widget.c: a bit of constization
16640
Sat Dec 22 23:12:54 2001 George Lebl <jirka@5z.com>
16642
* Makefile.am, foobar-widget.c, gnome-panel-screenshot.c, panel.c,
16643
session.c: Compile with G_DISABLE_DEPRECATED and
16644
GNOME_DISABLE_DEPRECATED
16646
Sat Dec 22 17:14:50 2001 George Lebl <jirka@5z.com>
16648
* foobar-widget.c, menu.[ch], main.c: redo how the updating of
16649
icons and tearoffs keys is done, load the foobar items in the
16650
deffered way as well and sanitize this whole bit somewhat more.
16651
It now fully nicely updates when you set/unset the icons/tearoff
16652
keys. And without having to reread folders.
16654
* gnome-panel-properties.c, gnome-run.c, launcher.c,
16655
menu-properties.c, menu.c, panel-config.c, swallow.c:
16656
Make dialog window settings sane after mucking with them.
16658
* gnome-panel-screenshot.c: get rid of tempnam usage to avoid warning
16660
Sat Dec 22 15:12:42 2001 George Lebl <jirka@5z.com>
16662
* foobar-widget.c, gnome-run.c, panel-config.c, swallow.c: fix up
16663
the size request stuff so we get back some widgets which
16664
disappeared because I was a wanker.
16666
Sat Dec 22 14:52:42 2001 George Lebl <jirka@5z.com>
16668
* gnome-panel-screenshot.c, gnome-panel-properties.c, status.c:
16669
more fixes. Having things actually compile is usually good.
16671
Sat Dec 22 13:56:23 2001 George Lebl <jirka@5z.com>
16673
* menu.c: fix stupid typo
16675
Sat Dec 22 13:44:25 2001 George Lebl <jirka@5z.com>
16677
* basep-widget.c, drawer-widget.c, drawer.c, extern.c,
16678
foobar-widget.c, gnome-panel-properties.c,
16679
gnome-panel-screenshot.c, gnome-run.c, launcher.c,
16680
menu-properties.c, menu.c, nothing.cP, panel-config.c,
16681
panel-util.c, panel.c, panel.h, status-docklet.c, status.c,
16682
swallow.c, xstuff.c: Yet more de-deprecation. Now all that's
16683
left is the clist stuff in gnome-run, but jrb says he has a
16684
new runbox in production so it seems pointless to spend time
16685
on porting that now.
16687
Fri Dec 21 18:44:22 2001 George Lebl <jirka@5z.com>
16689
* Makefile.am, aligned-widget.c, applet.c, basep-widget.c,
16690
button-widget.c, distribution.c, drawer-widget.c, drawer.c,
16691
edge-widget.c, floating-widget.c, foobar-widget.c, foobar-widget.h,
16692
gnome-panel-properties.c, gnome-run.c, menu.c, nothing.cP,
16693
panel-config.c, panel-util.c, panel-widget.c, panel-widget.h,
16694
panel.c, session.c, sliding-widget.c, status.c, tearoffitem.c:
16695
Some deprecated excorcism, fix some panel unique_id foo and
16696
some warning fixes etc...
16698
2001-12-21 Glynn Foster <glynn.foster@sun.com>
16700
* panel-gconf.c, session.c: Big heap of debug crap. It should
16701
help someone trying to figure out the profile stuff because I'm
16702
not going to fix it until after Christmas. Yeesh, like I should
16703
be out drinking at this very moment. May your Christmas give you
16704
a warm tingly feeling and most importantly, have the craic...
16706
2001-12-21 Mark McLoughlin <mark@skynet.ie>
16709
(panel_applet_get_position), (panel_applet_get_panel_id),
16710
(panel_applet_get_right_stick): impl.
16712
* drawer.c: (load_drawer_applet): panel_od fixage.
16714
* main.c: (main): move sync timeout setup to session.c,
16717
(panel_menu_session_save_tornoffs): rename from save_tornoff
16718
(panel_menu_session_load_tornoffs): rename from load_tornoff
16720
* panel-applet-frame.c: (panel_applet_frame_save_position): save
16721
everything in the right place.
16724
(session_save_timeout): kill.
16725
(panel_session_save_applets): impl. only bonobo applets saving for the
16727
(panel_session_save_panel): rename from save_panel_configuration.
16728
(save_next_applet): kill.
16729
(panel_session_do_save): drastically clean up.
16730
(panel_config_sync): upd.
16731
(panel_session_do_sync), (panel_sesssion_setup_config_sync): moved from
16733
(panel_session_save): remove timeout stuff. Nothing asynchronous is
16734
happening at the moment.
16736
2001-12-21 Glynn Foster <glynn.foster@sun.com>
16738
* main.c, menu.c, panel-gconf.c, session.c:
16739
Miscellaneous fixes to try and get basic, basic profiles
16740
working, and to clear out my tree for Mark.
16742
2001-12-21 Anders Carlsson <andersca@gnu.org>
16744
* Makefile.am: Re-add gnome-panel-screenshot
16746
* gnome-panel-screenshot.c: (main): Build with gnome2.
16748
* gnome-panel-screenshot.glade: Switch button order.
16750
* panel-applet-frame.c: (panel_applet_frame_load),
16751
(panel_applet_frame_construct), (panel_applet_frame_new):
16752
* panel-applet-frame.h:
16753
Don't segfault when applets can't be loaded.
16755
* panel-gconf.c: (panel_notify_object_dead),
16756
(panel_gconf_notify_add_while_alive):
16757
Use g_object_weak_ref here instead.
16759
* panel.c: (drop_background_reset), (drop_bgimage),
16760
(get_target_list), (drag_data_recieved_cb):
16761
Use x-special/gnome-reset-background to reset backgrounds.
16763
2001-12-21 Glynn Foster <glynn.foster@sun.com>
16765
* aligned-widget.c, aligned-widget.h, basep-widget.c, basep-widget.h,
16766
border-widget.c, border-widget.h, drawer-widget.c, drawer-widget.h,
16767
drawer.c, drawer.h, edge-widget.c, edge-widget.h, extern.c,
16768
floating-widget.c, floating-widget.h, foobar-widget.c, foobar-widget.h,
16769
menu.c, panel-widget.c, panel-widget.h, panel.c, panel.h, session.c,
16770
sliding-widget.c, sliding-widget.h:
16772
I know I'm going to regret this later on. Store unique id's as strings
16773
instead of guints. It makes handling them in gconf much easier.
16775
2001-12-20 Mark McLoughlin <mark@skynet.ie>
16777
* panel.c: (panel_applet_about_to_die): kill warnig and
16778
replace with a FIXME.
16780
2001-12-20 Stephen Browne <stephen.bronwe@sun.com>
16782
* distribution.[ch]
16784
Harmless addition of Solaris to the distributions
16786
2001-12-20 Glynn Foster <glynn.foster@sun.com>
16788
* floating-widget.c, foobar-widget.c, main.c,
16789
* menu.c, panel-applet-frame.c, panel-gconf.c,
16790
* panel-gconf.h, session.c:
16792
Load up some default configuration if something dies. Now mostly
16795
Wed Dec 19 20:27:04 2001 George Lebl <jirka@5z.com>
16797
* foobar-widget.c: apply patch from "Dennis M. Cranston"
16798
<dennis_cranston@yahoo.com> to modify the clock menu to make
16799
it nice and all that.
16801
* menu-properties.c: apply a patch from Robert Mibus
16802
<mibus@bigpond.com> to correctly set the initial sensitivity
16804
Wed Dec 19 20:15:09 2001 George Lebl <jirka@5z.com>
16806
* foobar-widget.c: an evil hack stolen from tasklist to set some
16807
style properties such as the bevel type and internal padding
16809
* gnome-run.c, launcher.c, menu-properties.c, menu.c,
16810
quick-desktop-reader.[ch]: use the new icon finding routines from
16811
the desktop item thingie.
16813
* menu.c, session.c: dereferencing a guint32 as a pointer is
16814
dangerous to one's health.
16816
Wed Dec 19 16:48:41 2001 George Lebl <jirka@5z.com>
16818
* xstuff.[ch], gnome-run.c, launcher.c, menu-properties.c,
16819
panel-config.c: remove the raise function and just replace
16820
it with gtk_window_present, remove some other cruft left around
16822
* menu.c: don't prepend home dir to distro menu paths, these
16825
2001-12-19 Seth Nickell <snickell@stanford.edu>
16827
* panel-global-config.schemas:
16829
Change default values for show delay to 300
16830
and hide delay to 500.
16832
2001-12-19 Seth Nickell <snickell@stanford.edu>
16834
* gnome-panel-properties.c: (load_config_into_gui):
16835
* gnome-panel-properties.glade:
16836
* gnome-panel-properties.glade.h:
16838
Remove "show delay" and "hide delay" options from global
16839
panel config. Leave them in GConf.
16841
2001-12-19 Glynn Foster <glynn.foster@sun.com>
16843
* session.c: Saving is fucked. Patch to at least have
16844
a non-b0rked panel.
16846
2001-12-19 Glynn Foster <glynn.foster@sun.com>
16848
* main.c, menu.c, panel-applet-frame.c, panel-gconf.c,
16849
* panel-gconf.h, session.c, session.h:
16851
Move the get and set methods for the profiles to session where
16852
they probably belong. Start saving the panel config per profile.
16853
It's like totally buggy right now, but it's sort of getting there.
16854
Panels crash because of lack of schema.
16856
2001-12-19 Mark McLoughlin <mark@skynet.ie>
16858
* Makefile.am: add panel-main.h.
16860
* panel-main.h: new file.
16862
* main.c: (panel_main_get_current_profile): impl.
16863
make panel_profile_name static.
16865
* panel-applet-frame.c: (panel_applet_frame_construct): append
16866
the prefs_key item to the iid to make the moniker.
16868
* menu.c: (create_new_panel): use panel_main_get_current_profile.
16870
* session.c: (session_init_panels): ditto.
16872
2001-12-19 Glynn Foster <glynn.foster@sun.com>
16874
* aligned-widget.c, aligned-widget.h, applet-object.c, applet-widget.c,
16875
* basep-widget.c, basep-widget.h, border-widget.c, border-widget.h,
16876
* drawer-widget.c, drawer-widget.h, edge-widget.c, edge-widget.h,
16877
* floating-widget.c, floating-widget.h, foobar-widget.c, menu.c,
16878
* panel-config.c, panel-config.h, panel-gconf.c, panel-gconf.h,
16879
* panel-global-config.schemas, panel-per-panel-config.schemas, panel-util.c,
16880
* panel-util.h, panel-widget.c, panel-widget.h, panel.c,
16881
* session.c, sliding-widget.c, sliding-widget.h:
16883
Mindless hacking. If you can have color, I can have stretch.
16884
Cleaned up some of the gconf panel loading.
16886
2001-12-18 Havoc Pennington <hp@pobox.com>
16888
* basep-widget.c (basep_widget_realize): remove
16889
xstuff_set_wmspec_state_hints
16891
* xstuff.c (xstuff_window_raise_on_current_wspace): this was all a
16892
bunch of bullshit, it should just be gtk_window_present()
16893
(xstuff_set_wmspec_state_hints): I don't think we should do this,
16894
because the semantic type is adequate. should only set this kind
16895
of thing if we are trying to override semantic type
16896
(xstuff_set_pos_size): delete this broken atrocity. well, I wish.
16897
make it suck mildly less.
16899
2001-12-18 Glynn Foster <glynn.foster@sun.com>
16901
* panel-gconf.c, panel-per-panel-config.schemas,
16903
Stupid commit to fix bug.
16905
2001-12-17 Glynn Foster <glynn.foster@sun.com>
16907
* panel-per-panel-config.schemas, session.c: Change code to use
16908
the schema for the medium sized screen, so at least people don't
16909
get freaked out that I killed the foobar.
16911
2001-12-17 Glynn Foster <glynn.foster@sun.com>
16913
* Makefile.am, floating-widget.c, foobar-widget.c,
16914
* gnome-run.c, main.c, main.h, menu.c, nothing.cP,
16915
* nothing.h, panel-gconf.c, panel-gconf.h,
16916
* panel-per-panel-config.schemas, session.c, session.h,
16919
This patch will upset quite a lot of people. The move towards
16920
gconf and profiles Part I "Oh What a Tangled Web we Weave". Please
16921
don't look at the code, it's horrible. Basically we now have a
16922
default schema for small, medium and large screens. The panel will
16923
in future take a --profile option to load a profile. For now, applet
16924
inits don't work, panel inits are taken from the 'small' profile. Don't
16925
file bugs about panel not saving, we know.
16927
2001-12-17 Mark McLoughlin <mark@skynet.ie>
16929
* menu.h: fix PANEL_MENU_HAVE_ICONS_KEY.
16931
Sun Dec 16 16:00:49 2001 George Lebl <jirka@5z.com>
16933
* xstuff.c: when rasing windows also wnck activate them
16935
2001-12-16 Gediminas Paulauskas <menesis@delfi.lt>
16937
* gnome-run.c, launcher.c, menu-properties.c, menu.c, panel-config.c,
16938
swallow.c: use GTK_RESPONSE_* instead of custom *_BUTTON
16939
enumerations -- this makes Help buttons left-aligned. Reorder buttons
16940
to comply with HIG, set default response to leftmost button.
16942
Fri Dec 14 16:50:07 2001 George Lebl <jirka@5z.com>
16944
* drawer.c: reenable property apply code
16946
Fri Dec 14 16:41:23 2001 George Lebl <jirka@5z.com>
16948
* menu.[ch], launcher.c: some deFIXMEization. Remove some dead
16949
code, add some error handeling, fix some comments. Directory
16950
only ditem entry set, and also init type for applications. Also
16951
what the hint stuff from the tearoff menus. It wouldn't work
16952
properly anyway and it's supposed to be handled by the WM
16953
anyway. Also hardcode default to true for icons and tearoff keys,
16954
and re-enable the use of the gconf key in the icons thing. Also
16955
use the new key for icons. I can't find a tearoff one. Is there
16958
2001-12-14 Alex Larsson <alexl@redhat.com>
16960
* panel-applet-frame.c (panel_applet_frame_change_background_color):
16961
Make colors 4 chars per channel, they are 16bit.
16963
2001-12-14 Mark McLoughlin <mark@skynet.ie>
16965
* panel-applet-frame.c: (panel_applet_frame_get_applet_shell):
16966
one last Vertigo change.
16968
2001-12-14 Mark McLoughlin <mark@skynet.ie>
16970
* panel-applet-frame.[ch]:
16971
(panel_applet_frame_save_session): kill
16973
* session.c: (save_applet_configuration): upd.
16975
2001-12-14 Mark McLoughlin <mark@skynet.ie>
16977
* panel-applet-frame.[ch], panel-shell.[ch]:
16978
panel-types.h: move to our reserved GNOME_Vertigo
16981
2001-12-14 Seth Nickell <snickell@stanford.edu>
16983
* menu.c: (panel_menu_have_icons):
16985
Disable GConf and make the panel menu icons actually work.
16986
Spit out one g_warning as penance.
16988
2001-12-14 Seth Nickell <snickell@stanford.edu>
16990
* applet.c: (applet_callback_callback):
16991
* menu-properties.c: (get_real_menu_path):
16992
* menu.c: (init_menus), (add_menu_to_panel), (create_system_menu),
16993
(make_add_submenu), (make_panel_submenu):
16994
* session.c: (session_init_user_applets),
16995
(session_init_user_panels):
16997
Change to using "applications:/" rather than "programs:/"
16999
2001-12-14 Stephen Browne <stephen.browne@sun.com>
17001
* gnome-panel-properties.c, gnome-panel-properties.glade,
17002
gnome-panel-properties.glade.h
17004
Removed keep menus in memory option (always on now)
17005
Removed Confirm panel removal option (always on now)
17007
Thu Dec 13 15:30:01 2001 George Lebl <jirka@5z.com>
17009
* launcher.c: some fixes in getting/setting locale specific
17012
2001-12-13 Glynn Foster <glynn.foster@sun.com>
17014
* launcher.c, main.c, session.c: Remove PER_SESSION cruft
17015
that just confuses me.
17017
Wed Dec 12 23:35:46 2001 George Lebl <jirka@5z.com>
17019
* session.c: doh, remove a debugging g_print
17021
Wed Dec 12 23:33:33 2001 George Lebl <jirka@5z.com>
17023
* basep-widget.c, session.c, panel-config-global.h,
17024
gnome-panel-properties.c, panel-global-config.schemas,
17025
gnome-panel-properties.glade: Remove the user large icons,
17026
avoid collissions and merge menus config options and keys and
17027
all that. large icons were gone already, merged menus as well,
17028
and who would ever want to turn off collision avoidance. Also
17029
fix some memleaks and some cleanups.
17031
* foobar-widget.c: fix memleaks
17033
Wed Dec 12 12:47:38 2001 George Lebl <jirka@5z.com>
17035
* foobar-widget.c: reposition menu after hiding an item
17037
* menu.[ch]: the keys for icons and tearoffs are now defined in the
17038
menu.h as a define. Also setup keys on the menu to display
17039
the current state of the icons/tearoffs key at the time the menu
17040
was created so that we can recreate it if it changes. Doesn't yet
17041
work everywhere, only for menus that use check_reread
17043
* panel-gconf.[ch]: notify_add returns an id, and add a _while_alive
17046
2001-12-12 Mark McLoughlin <mark@skynet.ie>
17048
Bit of renaming for Glynn.
17050
* panel_config.c: rename to panel-config.c
17051
* panel_config.h: rename to panel-config.h
17052
* panel_config_global.h: rename to panel-config-global.h
17053
* panelglobalconfig.schemas: rename to
17054
panel-global-config.schemas
17056
* Makefile.am, aligned-widget.c, applet.c, basep-widget.c,
17057
border-widget.c, button-widget.c, drawer-widget.c, drawer.c,
17058
drawer.h, edge-widget.c, extern.c, floating-widget.c,
17059
foobar-widget.c, global-keys.c, launcher.c, logout.c,
17060
main.c, menu-fentry.c, menu-util.c, menu.c, panel-config.c,
17061
panel-util.c, panel.c, session.c, sliding-widget.c:
17064
2001-12-12 Stephen Browne <stephen.browne@sun.com>
17066
* gnome-panel-properties.c, gnome-panel-properties.glade,
17067
gnome-panel-properties.glade.h
17069
Added config for auto update menus.
17070
I think the global config dialog is pretty much finished now.
17072
2001-12-12 Stephen Browne <stephen.browne@sun.com>
17074
* gnome-panel-properties.c
17076
Gets rid of incorrect arg warning.
17078
2001-12-12 Stephen Browne <stephen.browne@sun.com>
17080
* Makefile.am, gnome-panel-properties.c,
17081
gnome-panel-properties.glade, gnome-panel-properties.glade.h
17083
Added LDFLAGS for gnome-panel-properties.
17084
Added support for configuring keybindings
17086
2001-12-12 Glynn Foster <glynn.foster@sun.com>
17088
* Makefile.am, main.c, panel-gconf.c,
17089
panel-per-panel-config.schemas:
17091
Did a little work according to Alex's guidelines.
17092
Things are still a long way off. MUCH work.
17094
2001-12-12 Glynn Foster <glynn.foster@sun.com>
17096
* button-widget.c, launcher.c, panel-widget.c,
17099
Fix stuff so that panel context menus work again.
17101
2001-12-12 Mark McLoughlin <mark@skynet.ie>
17103
* xstuff.c: (xstuff_set_wmspec_strut):
17104
_NET_WM_STRUT properties are of type XA_CARDINAL
17107
2001-12-11 Glynn Foster <glynn.foster@sun.com>
17109
Scale pixmaps when required for proper display.
17110
Add padding to the size of the foo clock so we dont
17111
get movement when the label allocates more space.
17113
2001-12-11 Glynn Foster <glynn.foster@sun.com>
17115
* button-widget.c, launcher.c, menu.c
17116
panel-widget.c, panelglobalconfig.schemas
17119
Make the foo clock use gconf.
17121
2001-12-11 Stephen Browne <stephen.browne@sun.com>
17123
* gnome-properties.c gnome-properties.glade
17126
Fixed confirm-panel-removal and drawer-autoclose config
17127
Gave the global props dialog a proper name
17129
2001-12-11 Anders Carlsson <andersca@gnu.org>
17131
* main.c (main): Always restart here.
17133
2001-12-10 Glynn Foster <glynn.foster@sun.com>
17135
* gnome-panel-properties.desktop, menu.c:
17137
Rename for global properties dialog.
17139
2001-12-10 Glynn Foster <glynn.foster@sun.com>
17141
* basep-widget.c, gnome-panel-properties.c
17142
gnome-panel-properties.glade, main.c
17143
panel-gconf.c, panel-gconf.h, panel_config_global.h
17144
panelglobalconfig.schemas, session.c:
17146
Fix up gconf stuff. Now things work with the global
17149
2001-12-10 Stephen Browne <stephen.browne@sun.com>
17151
* gnome-panel-properties.c
17152
* gnome-panel-properties.glade
17154
now uses /apps/panel/global keys
17155
removed stuff from glade file that isnt working yet
17156
made remaining properties work
17158
2001-12-10 Alexander Larsson <alla@lysator.liu.se>
17160
* basep-widget.c (basep_widget_realize):
17161
Call xstuff_set_wmspec_state_hints ()
17163
* xstuff.[ch] (xstuff_set_wmspec_state_hints):
17164
New function to set the WMSPEC hints for the panel
17165
SKIP_PAGER, SKIP_TASKLIST and STICKY.
17167
Sun Dec 09 22:35:26 2001 George Lebl <jirka@5z.com>
17169
* Makefile.am, title-item*.(c|h|gob): Title item no longer needed,
17172
* applet.c: a bit of gdkpixbuf fixage
17174
* foobar-widget.c: Some warning fixes, also reposition task menu
17175
on show, Fix icon unreffage issues, look for default task icon
17176
better, when no windows are present add 'No windows open'
17177
insensitive item to the task menu, Actually show the icon on
17178
the menu, and strech events for the task item to the right
17181
* panel-util.[ch], foobar-widget.c: add _while_alive wrappers
17182
that are sort of like the gtk ones but for GObjects
17184
* menu.c: gtk_signal_* excorcism
17186
* xstuff.[ch], gnome-run.c, launcher.c, menu.c, menu-properties.c,
17187
panel_config.c: Add a function to show/raise/move to current
17188
workspace for windows and use it for all the dialogs where
17189
we only always have one copy of. So that say the run dialog
17190
will appear on your workspace even if it's open on another
17193
* session.c: add to the auto-update-menus conversation warning
17195
2001-12-09 Anders Carlsson <andersca@gnu.org>
17197
* menu.c (get_panel_from_menu_data): Use gtk_menu_get_attach_widget
17198
to traverse up in the menu hierchary. Thanks to Owen Taylor for
17201
* applet.c: (panel_applet_add_callback), (setup_an_item),
17202
(applet_setup_panel_menu), (panel_applet_create_menu):
17203
Ref/Sink our menu, scale the panel menu icon.
17205
* main.c: (main): Don't respawn if I_LOVE_PANEL_CRACK is set.
17207
* menu.c: (setup_full_menuitem): gtk_widget_show our image.
17209
* panel.c: (drop_urilist): Implement so we can dnd urls to the panel.
17211
Sun Dec 09 03:34:18 2001 George Lebl <jirka@5z.com>
17213
* Makefile.am, tasklist_icon.[ch], foobar-widget.c, main.c, menu.c,
17214
xstuff.c: remove the gwmh and gstc hack stuff and remove them from
17215
build and also remove the tasklist_icon.[ch] as well. We use
17218
Sun Dec 09 03:25:13 2001 George Lebl <jirka@5z.com>
17220
* foobar-widget.c, menu-util.[ch]: initial crack at porting the
17221
tasklist thing to libwnck, reenable the clock menu thing, use main
17222
menu stuff for the "applications" menu so that we can get a KDE
17223
and/or distribution submenu and remove some dead code
17225
* menu.[ch], foobar-widget.c, menu-fentry.h: whack the title flags
17226
from things. Menu titles are long dead
17228
* applet.c: also launch nautilus for edit menus
17230
Sat Dec 08 23:16:39 2001 George Lebl <jirka@5z.com>
17232
* menu.[ch], menu-fentry.h, menu-util.c, menu-properties.c,
17233
session.c, main.c, gnome-run.c: Remove favourites menu. It is
17234
useless with the current push towards editable menus. Also instead
17235
of running gedit, run nautilus on programs:/ as a menu editor.
17237
* panel-widget.c: fix warning.
17239
* applet.c, foobar-widget.c: use gtk image menu items instead of
17240
normal items where appropriate.
17242
Sat Dec 08 11:28:37 2001 George Lebl <jirka@5z.com>
17244
* gnome-run.c, launcher.c, menu.c, swallow.c: Use the new desktop
17247
2001-12-07 Alex Larsson <alexl@redhat.com>
17249
* button-widget.[ch]:
17250
Draw buttons using gdk-pixbuf instead of libart, should
17251
be faster and more correct.
17253
* panel-widget.c (make_background): Take a rowstride arg.
17254
(queue_resize_on_all_applets): New function
17255
(send_draw_to_all_applets): Use pixbuf
17256
(panel_widget_change_params): Queue resize on applets.
17258
2001-12-08 Glynn Foster <glynn.foster@sun.com>
17260
* gnome-run.c, gnome-run.h, menu.c,
17261
panel.c, session.c: Whack gnome-run button applet thing which
17262
serves very little purpose.
17264
2001-12-08 Glynn Foster <glynn.foster@sun.com>
17266
* launcher.c: (setup_button): Make adding launchers not crash.
17268
Fri Dec 07 14:48:01 2001 George Lebl <jirka@5z.com>
17270
* xstuff.[ch], basep-widget.c, foobar-widget.c: add an extra type
17271
for autohide panels so that windowmanagers can behave more nicely.
17273
2001-12-07 Alexander Larsson <alla@lysator.liu.se>
17275
* launcher.c (launcher_file_name):
17276
mkdir launcer directory if it doesn't exist.
17278
2001-12-06 Alexander Larsson <alla@lysator.liu.se>
17281
Fixed off-by-one pixel error with expand_major that made broke
17282
switching between horz/vertical with a tasklist at the end.
17284
2001-12-06 Mark McLoughlin <mark@skynet.ie>
17286
* session.c: (session_read_global_config): fix sillys.
17288
2001-12-06 Mark McLoughlin <mark@skynet.ie>
17290
* session.c: (session_read_global_config): cast to
17291
GConfEntry. Weird - gconf does this itself, but it seems
17292
to break some things.
17294
2001-12-06 Alexander Larsson <alla@lysator.liu.se>
17296
* launcher.c (launcher_save):
17297
launcher_get_unique_file renamed to launcher_get_unique_uri,
17298
now returns file: uri.
17300
Wed Dec 05 19:04:58 2001 George Lebl <jirka@5z.com>
17302
* xstuff.[ch], basep-widget.[ch], foobar-widget.c: Set the WM_STRUT
17305
2001-12-05 Alex Larsson <alexl@redhat.com>
17307
* launcher.c (create_launcher):
17308
Don't only load from file: uri's. This makes it at least do something
17311
2001-12-05 Glynn Foster <glynn.foster@sun.com>
17313
* basep-widget.c: Fix segfault George.
17314
* session.c: Start using GConfChangeSet. Dunno
17315
if this is really necessary or not.
17317
2001-12-05 Kjartan Maraas <kmaraas@gnome.org>
17319
* foobar-widget.c: Make it use bugzilla.
17320
* help/no/panel.sgml: Update.
17322
Wed Dec 05 13:36:43 2001 George Lebl <jirka@5z.com>
17324
* aligned-widget.[ch], basep-widget.[ch],
17325
border-widget.[ch], drawer-widget.[ch],
17326
edge-widget.[ch], floating-widget.[ch],
17327
drawer.c, menu.c, panel_config.[ch],
17328
session.c, sliding-widget.[ch]: Remove the avoid
17329
on maximize configuration crack. It was just pure
17330
crack. With WM_STRUT we should be mostly sane
17331
on this issue anyway.
17333
* basep-widget.[ch]: whack some of the old hint stuff
17334
and make user the update_winhints virtual method
17337
* applet.c: fix warning.
17339
* xstuff.[ch]: add some api for atom interning, that
17340
caches atoms per display, and be in general more
17341
multiple display safe. Also use X atoms only and
17342
not GdkAtoms. Also implement checking for _NET
17343
standard being supported. We'll screw the old
17344
gnome hitns and just have two states: _NET
17345
supported or completely dumb WM (use override
17346
redirect). Add a WM_STRUT setting function (not
17349
2001-12-04 Stephen Browne <stephen.browne@sun.com>
17351
* gnome-panel-properties.c
17352
* gnome-panel-properties.glade
17353
Updated GUI and made enable animations work
17355
2001-12-04 Alex Larsson <alexl@redhat.com>
17357
* applet.c (panel_applet_register):
17358
Call panel_applet_frame_get_expand_flags
17359
set insert_at_pos to FALSE if !exactpos.
17361
* panel-applet-frame.[ch]
17362
(panel_applet_frame_get_expand_flags): new function
17364
* panel-widget.[ch]:
17365
Implement expand_major and expand_minor for applets.
17367
2001-12-04 Mark McLoughlin <mark@skynet.ie>
17369
Load all global entries at once.
17371
* panel-gconf.[ch]:
17372
(panel_gconf_all_global_entries): impl.
17374
* session.c: (session_read_global_config): use.
17376
2001-12-04 Mark McLoughlin <mark@skynet.ie>
17378
Cache "menus-have-icons" and "menus-have-tearoff"
17379
keys with notification.
17382
(panel_menu_have_icons_notify): impl.
17383
(panel_menu_have_icons): impl.
17384
(panel_menu_have_tearoff_notify): impl
17385
(panel_menu_have_tearoff): impl.
17386
(setup_title_menuitem), (setup_full_menuitem), (menu_add_tearoff),
17387
(create_menuitem), (applet_menu_append),
17388
(setup_menuitem_try_pixmap): upd.
17390
* tearoffitem.c: (tearoff_item_new): upd.
17392
* foobar-widget.c: (pixmap_menu_item_new), (add_tearoff): upd.
17394
2001-12-04 Glynn Foster <glynn.foster@sun.com>
17396
* main.c: (main), panel-gconf.c, panelglobalconfig.schemas:
17397
session.c, session.h:
17399
Small amount of work to clean up the session stuff..More later.
17401
2001-12-03 Glynn Foster <glynn.foster@sun.com>
17403
* extern.c, session.c, session.h:
17404
s/load_up_globals/load_global_config. Can't be arsed doing much
17405
more on this until this evening.
17407
* main.c: The most useful commit of the panel2's history thus
17408
far. Use 'I_LOVE_PANEL_CRACK' to get rid of that fucking annoying
17411
2001-12-03 Malcolm Tredinnick <malcolm@commsecure.com.au>
17412
* menu.c: Replace a bunch of references to .gnome/ with the
17413
GNOME_DOT_GNOME constant from <libgnome/gnome-init.h>. For
17414
now, this makes everything gravitate to $HOME/.gnome2/.
17416
Sun Dec 02 19:23:25 2001 George Lebl <jirka@5z.com>
17418
* panel-util.[ch], foobar-widget.c: implement a utility for 'event
17419
streching', so that we can accept clicks on the edge of the
17420
screen for example in foobar, no matter how wide the border of the
17423
Sun Dec 02 15:11:31 2001 George Lebl <jirka@5z.com>
17425
* foobar-widget.c: get rid of some deprecated menu_bar function usage
17427
Sun Dec 02 14:52:39 2001 George Lebl <jirka@5z.com>
17429
* foobar-widget.c: fix pixmap loading, do Applications/Actions
17430
setup as from nils's proposal (sort of). Still needs a lot of
17433
2001-12-01 Seth Nickell <snickell@stanford.edu>
17435
* foobar-widget.c: (foobar_widget_instance_init):
17437
Change menu name to "Applications" per Nils' panel
17440
* menu.c: (image_menu_shown):
17442
Icons for upper most menus should be loaded first. Most users
17443
start reading from top to bottom. When you load icons
17444
from bottom to top scanning is essentially disrupted until
17445
all icons are loaded.
17447
Sat Dec 01 22:44:28 2001 George Lebl <jirka@5z.com>
17449
* menu.c: get rid of the large icon stuff, if we already have
17450
a GtkImage for the file we're looking for loaded, just use that,
17451
makes the KDE screensaver menu icons load faster then a speeding
17452
bullet (among others:). Also fix the horizontal jump by directly
17453
setting the empty image requisition.
17455
Sat Dec 01 21:21:17 2001 George Lebl <jirka@5z.com>
17457
* menu.c: removed a bit of the jumpiness effect due to menu icons,
17458
there is a horizontal one left which I don't understand. Make sure
17459
foldres without an icon get the folder icon. Only load icons
17460
after the item has been shown, meaning that preloading menus won't
17461
start hogging the disk, also when an item is hidden it's no
17462
longer loaded. Change behaviour to FILO so that most recently
17463
shown items get loaded first.
17465
2001-12-01 Seth Nickell <snickell@stanford.edu>
17467
* menu.c: (load_icons_handler), (show_item_menu),
17468
(setup_full_menuitem_with_size), (start_favourites_menu),
17469
(create_menuitem), (create_menu_at_fr), (applet_menu_append),
17470
(create_add_panel_submenu), (setup_menuitem_try_pixmap),
17471
(make_add_submenu), (make_panel_submenu), (create_panel_submenu),
17472
(create_desktop_menu), (add_distribution_submenu),
17473
(add_kde_submenu), (create_root_menu), (load_menu_applet),
17474
(load_menu_image_deferred):
17476
Make panel menus use GtkImage rather than GtkPixmap. Furthermore
17477
convert to using GtkImageMenuItem at the coercion of jrb. This
17478
does some weird things (note that the height of menu items changes
17479
pre and post image allocation) which I'll have to repair.
17481
Got rid of the fake icon stuff since (hypothetically) this should
17482
be handled by GtkImageMenuItem.
17484
Fri Nov 30 17:34:01 2001 George Lebl <jirka@5z.com>
17486
* *.[ch]: kill PanelOrientation and use GtkOrientation, Kill dialog
17487
levels, kill BasePLevels, and kill a bit of cruft
17489
2001-11-30 Mark McLoughlin <mark@skynet.ie>
17491
* panel-applet-frame.[ch]:
17492
(panel_applet_frame_save_position): remove base_key arg.
17493
(panel_applet_frame_save_session): ditto.
17495
* panel.c: (panel_remove_applets): upd.
17497
* applet.c: (applet_idle_remove): upd.
17499
(save_applet_configuration),
17500
(panel_session_die): upd.
17502
2001-11-30 Mark McLoughlin <mark@skynet.ie>
17504
* panel-gconf.c: (panel_gconf_get_session_key): fix silly.
17506
2001-11-30 Mark McLoughlin <mark@skynet.ie>
17508
* panel-gconf.c: (panel_gconf_get_session_key): warn if we
17509
can't get the client id.
17511
* session.c: (save_applet_configuration): check the return
17512
from panel_gconf_get_session_key.
17514
2001-11-30 Mark McLoughlin <mark@skynet.ie>
17516
* panel-applet-frame.[ch]:
17517
(panel_applet_frame_save_position): add base_key arg.
17518
(panel_applet_frame_save_session): impl.
17519
(panel_applet_frame_finalize): free keys.
17520
(panel_applet_frame_construct): generate keys.
17522
* applet.c: (applet_idle_remove): update for
17523
panel_applet_frame_save_position change.
17525
* panel.c: (panel_remove_applets): ditto.
17527
* session.c: (panel_session_die): ditto.
17528
(save_applet_configuration): save session.
17530
2001-11-30 Glynn Foster <glynn.foster@sun.com>
17532
* panel-gconf.c, panel-gconf.h:
17533
Added panel_gconf_get_session_key () to return
17534
session ID based key. Probably not we will end
17535
up using eventually, but will do for now
17537
2001-11-29 Stephen Browne <stephen.browne@sun.com>
17541
added PANELCONFIG_CFLAGS to includes to fix build
17542
of gnome-panel-properties
17544
2001-11-29 Stephen Browne <stephen.browne@sun.com>
17548
Added gnome-panel-properties build target and
17549
associated glade stuff.
17551
* gnome-panel-properties.c
17553
This is a work in progress but at least its started.
17554
Mostly ripped this out and started again.
17555
Now uses libglade and gconf.
17558
2001-11-29 Glynn Foster <glynn.foster@sun.com>
17560
* basep-widget.c, button-widget.c, menu.c,
17561
panel-widget.c, panel_config_global.h,
17562
panelglobalconfig.schemas, session.c:
17564
Changed some of the configuration around to be more
17565
sensible. Removed titles on menus code forever. Fix
17566
bug where launchers/applets would move off the left
17567
hand side of the screen.
17569
2001-11-29 Glynn Foster <glynn.foster@sun.com>
17571
* panel-gconf.[ch]: Add some more convience methods.
17572
Not entirely sure if this is useful yet.
17574
2001-11-29 Mark McLoughlin <mark@skynet.ie>
17576
* applet.c: (applet_button_press): tidy.
17578
2001-11-28 Mark McLoughlin <mark@skynet.ie>
17580
* basep-widget.c: (basep_border_queue_recalc): use
17581
g_idle_add instead of gtk_idle_add and save a few
17584
2001-11-28 Mark McLoughlin <mark@skynet.ie>
17586
* Makefile.am: don't build extern.[ch].
17589
(applet_idle_remove): handle bonobo applets, remove
17591
(applet_remove_callback): use g_idle_add.
17592
(applet_callback_callback): fixme for bonobo applets,
17593
remove extern stuff.
17595
* applet.h: kill extern stuff.
17597
* main.c: don't include extern.h. kill panel_in_startup.
17598
(main): move panel shell registration to panel-shell.h.
17601
(add_test_applet): kill.
17602
(add_applet): kill.
17603
(make_add_submenu): kill testing menuitem.
17605
* panel-applet-frame.[ch]:
17606
(panel_applet_frame_save_position): impl stub.
17608
* panel-shell.[ch]:
17609
(panel_shell_show_error_dialog): impl.
17610
(panel_shell_register), (panel_shell_unregister): impl.
17612
* panel.c: kill freeze/thaw changes stuff.
17613
(orientation_change), (size_change),
17614
(back_change): kill extern handling.
17615
(panel_remove_applets): handle bonobo applets.
17616
(panel_applet_draw): kill.
17617
(panel_applet_about_to_die): fixme.
17618
(drag_data_recieved_cb): fixme.
17619
(panel_widget_setup): don't connect to draw signal.
17621
* panel_config.c: (config_apply): don't freeze/thaw.
17624
(send_tooltips_state): kill.
17625
(send_applet_session_save): kill.
17626
(save_applet_configuration): kill extern stuff.
17627
(panel_session_die): add bonobo applets support.
17628
(try_evil_config_hacks): kill.
17629
(init_user_applets): handle bonobo applets.
17631
* logout.c: don't include extern.h
17635
* swallow.c: ditto.
17637
2001-11-27 Seth Nickell <snickell@stanford.edu>
17641
install .desktop files to datadir/applications
17643
* gnome-panel-properties.desktop:
17645
Add Categories field
17647
2001-11-28 Glynn Foster <glynn.foster@sun.com>
17649
* Makefile.am, panelglobalconfig.schema,
17650
panelglobalconfig.schemas:
17652
I just copied *cough* libgnome.
17654
2001-11-27 Mark McLoughlin <mark@skynet.ie>
17656
* Makefile.am: cleanup enums and marshallers generation.
17658
* panel-marshal-main.c: remove.
17660
2001-11-27 Mark McLoughlin <mark@skynet.ie>
17662
* Makefile.am: rename binary to gnome-panel-2.
17664
2001-11-27 Mark McLoughlin <mark@skynet.ie>
17666
* Makefile.am: install GNOME_Panel.server again.
17668
2001-11-27 Mark McLoughlin <mark@skynet.ie>
17670
* doc/libpanel-applet-changes.txt,
17671
doc/reference/.cvsignore: remove
17673
2001-11-27 Mark McLoughlin <mark@skynet.ie>
17675
* Makefile.am: remove building of libpanel-applet-2.0.
17677
* GNOME_Panel_TestApplet.server.in, libpanelapplet-2.0.pc.in:
17678
panel-applet-private.h, panel-applet-shell.c,
17679
panel-applet-shell.h, panel-applet.c,
17680
panel-applet.h, test-bonobo-applet.c: move to
17681
../libpanel-applet, preservin history.
17683
2001-11-27 Mark McLoughlin <mark@skynet.ie>
17685
* launcher.c: include quick-desktop-reader.h.
17686
(create_launcher): remove duplicate, redundant call to
17687
gnome_program_locate_file.
17689
Tue Nov 27 00:42:05 2001 George Lebl <jirka@5z.com>
17691
* Makefile.am, menu-rh.[ch], distribution.[ch]: whack the redhat
17692
menu stuff. Note this was the OLD redhat menu stuff which was
17693
just plain crack. Though this reduces the overall ugliness
17694
quotient of the menu*.c files by quite a bit, but I'll live.
17696
* panel-utils.[ch], quick-desktop-reader.c, menu.c,
17697
menu-properties.c, launcher.c: Make pixmap finding work better
17698
also find kde icons from kde2 properly (well ... properly ...
17699
somewhat properly). Load last mapped first for fakes. Fix
17700
the gtk_menu_reposition hack to be shorter but just as evil.
17702
2001-11-27 Glynn Foster <glynn.foster@sun.com>
17704
* menu.c, panel.c: Revert Mark's reverts...Yay, commit war!
17706
s/g_signal_connect_object/g_signal_connect/swapped
17707
s/g_signal_disconnect_by_func/g_signal_handlers_disconnect_by_func
17709
2001-11-26 Mark McLoughlin <mark@skynet.ie>
17711
* menu-fentry.c: (fr_fill_dir), (fr_read_dir): #ifdef out
17712
debugging messages.
17714
* quick-desktop-reader.c: (quick_desktop_item_load_uri): ditto.
17716
* menu.c: (fake_mapped_fake), (show_item_menu),
17717
(create_menu_at_fr): revert g_signal_connect_object changes
17718
back to gtk_signal_connect_object. Giving out warnings and not
17719
sure how to fix it.
17720
Use g_signal_handlers_disconnect_matched instead of
17721
g_signal_disconnect_by_func which doesn't exist.
17723
* panel-widget.c: (panel_widget_applet_event):
17724
reverse order of params in g_signal_lookup calls.
17726
* panel.c: (basep_pos_connect_signals): revert
17727
g_signal_connect_object changes back to
17728
gtk_signal_connect_object. Giving out warnings and not sure
17731
2001-11-26 Mark McLoughlin <mark@skynet.ie>
17733
* Makefile.am: cleanup libpanel-applet-2 building. Add
17734
GNOME_Panel_TestApplet.server.in to EXTRA_DIST.
17736
* doc/reference/Makefile.am:
17737
* doc/reference/panel-applet-docs.sgml:
17738
* doc/reference/panel-applet-sections.txt:
17739
* doc/reference/panel-applet.types:
17740
* doc/reference/tmpl/panel-applet-unused.sgml:
17741
* doc/reference/tmpl/panel-applet.sgml: move to
17742
../doc/reference/panel-applet.
17744
2001-11-26 Glynn Foster <glynn.foster@sun.com>
17746
* applet.c: * drawer.c: * extern.c: * gnome-panel-screenshot.c:
17747
* gnome-run.c: * menu.c: * nothing.cP: * panel-util.c:
17748
* panel-widget.c: * panel.c: * panel_config.c: * session.c:
17749
* status-docklet.c: * status.c: * swallow.c:
17751
I see a glorious dream for the panel. Using no deprecated stuff
17752
for the 2.0 release. This brings us one step closer to that dream.
17753
Some more gtk_signal_* porting. Now there is only the weird stuff
17754
left that I don't know what to do with.
17756
2001-11-26 Glynn Foster <glynn.foster@sun.com>
17758
* launcher.c, session.c: Quick hack to get launchers on the panel
17759
again. Don't expect it to be working 100% of the time. We really
17760
need to get this stuff using gnome-vfs all over.
17762
2001-11-26 Glynn Foster <glynn.foster@sun.com>
17764
* drawer.c: * extern.c: * foobar-widget.c:
17765
* gnome-panel-properties.c: * gnome-panel-screenshot.c:
17766
* gnome-run.c: * launcher.c: * logout.c: * main.c:
17767
* menu-properties.c: * menu.c: * nothing.cP: * panel-marshal.list:
17768
* panel-util.c: * panel-widget.c: * panel.c: * panel_config.c:
17769
* session.c: * sliding-widget.c: * status-docklet.c: * status.c:
17772
More gtk_signal donkey work. The gtk_signal stuff that is left is
17773
a) cruft that we're gonna lose b) stuff that I don't know the
17774
GObject replacement for.
17776
Mon Nov 26 00:57:16 2001 George Lebl <jirka@5z.com>
17778
* applet.c, menu-properties.[ch], menu.[ch], panel.c, session.c:
17779
get rid of the "." main menu parameter hack. I feel sort of
17780
sentimental removing this since this dates back from the days
17781
when federico maintained the panel. I don't know why it lived
17782
on so long anyway :)
17784
* menu.c: remove the properties menu stuff, just about everyone
17785
agreed it was quite a horrible UI
17787
* foobar-widget.c, menu.c, panel-util.[ch]: add
17788
panel_is_program_in_path which is like g_find_program_in_path
17789
but returns just a boolean
17791
* menu.h, session.c: remove some compatibility hacks dating to
17792
some ancient 1.0 versions or whatnot. We'll break config compat
17795
Sun Nov 25 20:07:06 2001 George Lebl <jirka@5z.com>
17797
* launcher.c, menu.c, menu-fentry.[ch], main.c: remove the
17798
merged menu hack since that's taken care of in the
17799
vfolder-desktop-method nowdays
17801
* quick-desktop-reader.[ch], panel-util.[ch]: add sort_order
17802
to quick desktop item and move the vfs helper routines to
17805
* menu-fentry.[ch], menu.c, menu-properties.c: port to gnome-vfs
17806
and use the programs:/ and favorites:/ uri schemes
17808
* test-bonobo-applet.c: fix some warnings
17810
2001-11-23 Mark McLoughlin <mark@skynet.ie>
17812
* doc/libpanel-applet-changes.txt, doc/panel-decl.txt,
17813
doc/panel-sections.txt, doc/panel.hierarchy, doc/panel.sgml,
17814
doc/panel.signals, doc/panel.types,
17815
doc/tmpl/applet-widget.sgml, doc/tmpl/interact.sgml,
17816
doc/tmpl/menu.sgml, doc/tmpl/misc.sgml,
17817
doc/tmpl/status-docklet.sgml: remove old docs.
17819
2001-11-23 Mark McLoughlin <mark@skynet.ie>
17821
* doc/Makefile.am: disable building old docs.
17823
* doc/reference/*: added new docs.
17825
* panel-applet-frame.[ch], panel-applet.[ch],
17826
panel.c, test-bonobo-applet.c: s/colour/color/g before I
17827
cause mayhem with our stateside friends :-)
17829
* panel-applet-frame.c: add docs.
17831
2001-11-23 Glynn Foster <glynn.foster@sun.com>
17833
* aligned-widget.c, basep-widget.c, border-widget.c,
17834
button-widget.c, drawer-widget.c, edge-widget.c,
17835
floating-widget.c, panel-marshal.list:
17837
Monkey work. Some more unstructured gtk_signal to g_signal
17838
porting. I should be doing the gconf stuff, but I've got
17841
2001-11-23 Mark McLoughlin <mark@skynet.ie>
17843
* GNOME_Panel_TestApplet.server.in: add "panel:icon" and
17844
"panel:category" attributes.
17847
(setup_full_menuitem_with_size): only query gconf once.
17848
(create_menuitem): improve code path.
17849
(make_add_submenu): remove test items.
17850
(applet_menu_get_category_icon), (applet_menu_append),
17851
(add_bonobo_applet), (create_applets_menu): impl creating the
17852
'Add Applet' menu by querying bonobo-activation.
17854
* panel-applet-frame.c: (panel_applet_frame_construct): bomb
17855
out if loading fails.
17857
2001-11-23 Alexander Larsson <alla@lysator.liu.se>
17860
Add test for clock applet.
17862
2001-11-21 Mark McLoughlin <mark@skynet.ie>
17864
* menu.c: kill gtk_widget_lock_accelerator
17867
2001-11-21 Mark McLoughlin <mark@skynet.ie>
17869
* Makefile.am: add panel-applet.c to libpanel-applet
17873
(add_test_bonobo_applet): take an iid to be generic.
17874
(make_add_submenu): add an menuitem for the fish. Jeez, I need
17875
to get this applets menu work soon.
17877
* panel-applet.h: fix party pooper.
17879
* test-bonobo-applet.c: remove debugging rubish. Use
17880
G_CALLBACK instead of (GCallback) cast.
17882
2001-11-21 Glynn Foster <glynn.foster@sun.com>
17884
* aligned-widget.c, basep-widget.c, menu-fentry.c,
17887
Moving over to g_signal. Part One of a many taled epic.
17889
Tue Nov 20 19:37:15 2001 Owen Taylor <otaylor@redhat.com>
17891
* quick-desktop-reader.h: Change include to glib-object.h.
17893
2001-11-20 Mark McLoughlin <mark@skynet.ie>
17895
* Makefile.am: build libpanel-applet-2 with the new
17896
applet stuff. Install the new headers.
17898
2001-11-20 Mark McLoughlin <mark@skynet.ie>
17900
Use BonoboProperty bags ... sigh ... someone shoulda told me ...
17902
* panel-applet-frame.c:
17903
(panel_applet_frame_change_orient),
17904
(panel_applet_frame_change_size),
17905
(panel_applet_frame_change_background_pixmap),
17906
(panel_applet_frame_change_background_colour),
17907
(panel_applet_frame_clear_background): use bonobo_pbclient_*
17908
(panel_applet_frame_construct): get property bag.
17910
* panel-applet-shell.c, panel-applet-private.h:
17911
kill useless functions, we now have a very useful useless
17912
PanelAppletShell object.
17915
(panel_applet_parse_colour), (panel_applet_get_prop),
17916
(panel_applet_set_prop), (panel_applet_property_bag): impl
17917
property bag stuff.
17918
(panel_applet_class_init): tweak signal defs.
17919
(panel_applet_construct): setup the property bag.
17921
* panel-widget.c: (panel_widget_class_init): tweak signal def.
17923
* test-bonobo-applet.c:
17924
(test_applet_new): do a size change so the entry will have
17925
some text before it gets a size change.
17927
* Makefile.am: add panel-applet.h to glib-mkenus list.
17929
2001-11-19 Mark McLoughlin <mark@skynet.ie>
17931
* panel-applet-frame.[ch]:
17932
(panel_applet_frame_change_background),
17933
(panel_applet_frame_change_background_pixmap),
17934
(panel_applet_frame_change_background_colour),
17935
(panel_applet_frame_clear_background): impl.
17937
* panel-applet-shell.c:
17938
(impl_GNOME_PanelAppletShell_changeBackground): impl.
17939
(panel_applet_shell_class_init): upd.
17941
* panel-applet.[ch], panel-applet-private.h:
17942
(panel_applet_set_background_colour),
17943
(panel_applet_set_background_pixmap),
17944
(panel_applet_clear_background): impl.
17945
(panel_applet_class_init): register "change_background"
17948
* panel-marshal.list: add VOID:ENUM,POINTER,STRING.
17950
* panel.c: (back_change): update for bonobo applets.
17952
* test-bonobo-applet.c:
17953
(test_applet_handle_background_change): impl - just print out
17956
2001-11-19 Mark McLoughlin <mark@skynet.ie>
17958
* panel-widget.c (panel_widget_class_init): give proper GType
17959
instead of G_TYPE_ENUM.
17961
2001-11-19 Mark McLoughlin <mark@skynet.ie>
17964
(update_size_menu), (make_properties_submenu): also change
17965
menu size names to something sensible.
17967
2001-11-19 Mark McLoughlin <mark@skynet.ie>
17969
* panel-applet-frame.[ch]:
17970
(panel_applet_frame_change_size): impl.
17972
* panel-applet-shell.c:
17973
(impl_GNOME_PanelAppletShell_changeSize): impl.
17974
(panel_applet_shell_class_init): upd.
17976
* panel-applet.[ch], panel-applet-private.h:
17977
(panel_applet_change_size): impl.
17978
(panel_applet_class_init), (panel_applet_instance_init): upd.
17980
* panel-marshal.list: add VOID:INT.
17982
* test-bonobo-applet.c:
17983
(test_applet_handle_size_change): impl - set text size when
17984
panel size changes.
17986
* panel-types.h: change from SIZE_RIDICULOUS to
17987
PANEL_SIZE_XX_LARGE etc.
17989
* drawer.c: (create_empty_drawer_applet): upd.
17991
* extern.c: (s_panelspot_get_parent_size): upd.
17993
* foobar-widget.c: (foobar_widget_instance_init): upd.
17996
(create_new_panel), (update_size_menu): upd.
17997
(make_properties_submenu): change menuitem labels.
17999
* panel.c: (size_change): upd.
18002
(update_config_size), (make_size_widget): upd.
18004
* session.c: (init_user_panels): upd.
18006
2001-11-19 Glynn Foster <glynn.foster@sun.com>
18008
aligned-widget.c, aligned-widget.h, basep-widget.c,
18009
edge-widget.h, menu.c, panel-widget.c, panel.c,
18010
panel_config.c, status-docklet.c, status-docklet.h,
18011
tearoffitem.c, tearoffitem.h:
18013
So I grepped for GtkType and realised that I had missed
18014
several files. I suck. More GtkType->GType conversion.
18015
Also unset GTK_NO_WINDOW from the GtkFixed panel-widget
18016
that broke because of gtk+ changes.
18018
2001-11-19 Glynn Foster <glynn.foster@sun.com>
18020
* Makefile.am: Fix one more instance of the new
18021
glib-object.h stuff...Guess this one got lost under the
18024
Mon, 19 Nov 2001 00:55:44 -0500 Frank Belew <frb@ximian.com>
18026
* Makefile.am: added panel-shell.h to panel_headers
18027
added panel-marshal.list to EXTRA_DIST
18028
* APPLET_WRITING, gnome-panel-add-launcher.c, gnome-panel-properties.c,i
18029
gnome-panel-screenshot.c, main.c, doc/panel.sgml: replaced PACKAGE
18030
with GETTEXT_PACKAGE on all calls to bindtextdomain and textdomain
18032
Sun Nov 18 21:24:24 2001 George Lebl <jirka@5z.com>
18034
* gnome-panel-screenshot.c, launcher.c, menu-properties.c,
18035
panel_config.c, menu.c: s/GnomeDialog/GtkDialog/, reenable menu
18036
properties again and port the .directory editting in menu.c
18038
2001-11-18 Miles Lane <miles@megapathdsl.net>
18040
* quick-desktop-reader.c: replace includes of
18041
<gobject/[genums, gboxed, gclosure and gvaluetypes].h
18042
with one include of <glib-object.h>.
18043
* panel-marshal-main.c: replace include of
18044
<gobject/gboxed.h> with include of <glib-object.h>.
18045
Approved by Michael Meeks
18047
Sun Nov 18 18:57:34 2001 George Lebl <jirka@5z.com>
18049
* swallow.c, extern.c: a bit of s/GnomeDialog/GtkDialog/
18051
2001-11-18 Glynn Foster <glynn.foster@sun.com>
18053
* applet.c: * basep-widget.c: * basep-widget.h: * button-widget.c:
18054
* button-widget.h: * drawer-widget.c: * drawer-widget.h:
18055
* drawer.c: * edge-widget.c: * edge-widget.h: * floating-widget.c:
18056
* floating-widget.h: * foobar-widget.c: * foobar-widget.h: * launcher.c:
18057
* logout.c: * main.c: * menu-util.c: * menu.c: * multiscreen-stuff.c:
18058
* panel-applet-frame.c: * panel-widget.c: * panel-widget.h: * panel.c:
18059
* panel_config.c: * session.c: * sliding-widget.c: * sliding-widget.h:
18061
Finish off moving GtkType to GType and give a more consistant approach
18062
to all the header stuff.
18064
Sun Nov 18 00:52:58 2001 George Lebl <jirka@5z.com>
18066
* Makefile.am, main.c: set the standard gnome program properties
18068
* gnome-run.c, menu.c, panel-util.[ch]: A little bit of
18069
s/GnomeDialog/GtkDialog/
18071
* panel-util.[ch]: error box is now actually closable,
18072
added an info box, and function to make dialog 'busy'
18074
* main.c, menu-fentry.[ch]: whack the mem chunks stuff
18076
* menu-fentry.c, menu.c, quick-desktop-item.[ch]: Lookup icons
18077
before loading them, not during the creation of the menus
18079
* menu.c: convert one more ditem usage to qitem
18081
* menu-properties.c: get rid of gnome_icon_entry_gtk_entry usage
18083
Fri Nov 16 22:13:22 2001 George Lebl <jirka@5z.com>
18085
* quick-desktop-reader.[ch], Makefile.am, gnome-run.c, menu-fentry.c:
18086
Implement a quick no-frills .desktop reader to make reading
18087
.desktop files quicker and less memory heavy.
18089
* gnome-run.c, menu.c: use the NO_TRANSLATIONS flag of gnome-desktop
18092
* applet.c, foobar-widget.c, global-keys.c, gnome-run.c,
18093
menu-fentry.c, menu-properties.c, menu.c, panel.c,
18094
session.c, panel-util.[ch]: move to g_path_is_absolute,
18095
g_find_program_in_path, g_shell_parse_argv and
18098
* gnome-run.c: whack the usage of gnome-pixmap
18100
Fri Nov 16 13:47:27 2001 George Lebl <jirka@5z.com>
18102
* Makefile.am: remove $(includedir) from includes to prevent old
18103
gnome headers from creeping in
18105
* status.c: fix compilation a little.
18107
2001-11-16 Mark McLoughlin <mark@skynet.ie>
18109
Note: this won't build without the patch to
18110
glib-mkenums attached to #64714
18112
* panel-applet-frame.[ch]:
18113
(panel_applet_frame_load): renamed from
18114
panel_bonobo_applet_load.
18115
(panel_applet_frame_change_orient): impl.
18116
(panel_applet_frame_get_applet_shell): impl.
18117
(panel_applet_frame_construct): get applet shell.
18119
* panel-applet.[ch]:
18120
(panel_applet_change_orient): impl.
18121
(panel_applet_class_init): add "change_orient" signal.
18122
(panel_applet_instance_init): set default orient.
18123
(panel_applet_construct): instantiate an applet shell.
18125
* panel-applet-shell.[ch], panel-applet-private.h:
18126
implementation of PanelAppletShell.
18128
* panel-marshal.list: add VOID:ENUM.
18130
* panel-shell.c: s/runBox/displayRunDialog/.
18132
* panel.c: (orientation_change): do bonobo applet
18135
* test-bonobo-applet.c: handle orient change and give an
18136
example of how applet tooltips should be done with the new
18139
* Makefile.am: add marshalers and enums to applet sources.
18140
Generate enums from GNOME_Panel.h.
18142
2001-11-15 Mark McLoughlin <mark@skynet.ie>
18144
* panel-applet-frame.c: (popup_handle_verb): kill.
18145
(popup_handle_move): impl.
18147
2001-11-15 Mark McLoughlin <mark@skynet.ie>
18149
* panel-applet-frame.[ch]: inherit from GtkEventBox
18150
(popup_handle_remove), (panel_applet_frame_set_info),
18151
(panel_applet_frame_finalize), (panel_applet_frame_class_init),
18152
(panel_applet_frame_instance_init), (panel_applet_frame_get_type),
18153
(panel_applet_frame_construct), (panel_applet_frame_new): impl.
18154
(panel_bonobo_applet_load): upd.
18156
2001-11-15 Mark McLoughlin <mark@skynet.ie>
18158
* panel-applet.[ch]: update to use GType stuff
18159
instead of GtkType.
18161
2001-11-15 Mark McLoughlin <mark@skynet.ie>
18164
(panel_applet_setup_menu), only set the popups path, not the
18165
button3 path - seems we can't insert a list of xml nodes.
18166
(panel_applet_factory_main): impl.
18168
* panel-applet.h: nice bonobo factory api.
18170
* test-bonobo-applet.c: upd.
18172
2001-11-15 Mark McLoughlin <mark@skynet.ie>
18174
* panel-applet.[ch]: (panel_applet_setup_menu),
18175
(panel_applet_setup_menu_from_file): impl convience functions.
18177
* test-bonobo-applet.c: (test_applet_new): use.
18179
2001-11-15 Mark McLoughlin <mark@skynet.ie>
18181
* panel-applet.c, panel-applet.h: start of bonobo applet API.
18183
* panel-applet-frame.c: add popup menus.
18185
* test-bonobo-applet.c: ditto.
18187
* Makefile.am: upd.
18189
2001-11-15 Mark McLoughlin <mark@skynet.ie>
18191
* basep-widget.c, drawer-widget.c, drawer.c: switch
18194
* launcher.c: (ask_about_launcher): change order of buttons as
18195
per usability propaganda :-)
18197
2001-11-15 Glynn Foster <glynn.foster@sun.com>
18199
* menu.c: Fix up compilation by commenting out the
18200
lock accelerator stuff
18202
2001-11-14 Glynn Foster <glynn.foster@sun.com>
18204
* aligned-widget.c, aligned-widget.h, basep-widget.c,
18205
* border-widget.c, border-widget.h, drawer-widget.c,
18206
* drawer.c, edge-widget.c, edge-widget.h,
18207
* foobar-widget.c, menu.c, panel-gconf.c, panel.c,
18208
* panel_config.c, panelglobalconfig.schema, session.c,
18209
* sliding-widget.c, sliding-widget.h:
18211
Fix gconf leaks - thanks to andersca
18212
Change the schema to cover over a problem with autohide
18213
panels [still needs to be fixed].
18214
More GObject porting and header standardization.
18216
2001-11-12 Frank Belew <frb@ximian.com>
18218
* Makefile.am: comment out SUBDIRS to fix dist targets
18220
2001-11-12 Glynn Foster <glynn.foster@sun.com>
18222
* launcher.c, main.c, session.c:, session.h: Fix up
18223
launcher loads a little so that the launchers load up
18226
2001-11-09 Mark McLoughlin <mark@skynet.ie>
18228
* session.c, session.h: move dead launchers stuff in here.
18230
* applet.c, applet.h: update.
18232
2001-11-09 Mark McLoughlin <mark@skynet.ie>
18234
* applet.c, applet.h: bit of namespace loving.
18236
* drawer.c, extern.c, gnome-run.c, launcher.c,
18237
logout.c, menu-properties.c, menu.c,
18238
panel-applet-frame.c, panel.c, session.c,
18239
status.c, swallow.c: update.
18241
2001-11-09 Mark McLoughlin <mark@skynet.ie>
18243
* applet.c, applet.h: kill horrible applets_last hack.
18245
* drawer.c: (load_drawer_applet):
18247
* extern.c: (reserve_applet_spot):
18248
* gnome-panel-properties.c:
18249
* gnome-run.c: (load_run_applet):
18250
* launcher.c: (load_launcher_applet_full):
18251
* logout.c: (load_logout_applet), (load_lock_applet):
18252
* menu.c: (add_drawers_from_dir), (load_menu_applet):
18253
* panel-applet-frame.c: (panel_bonobo_applet_load):
18254
* panel.c: (panel_applet_added), (drag_data_recieved_cb):
18255
* status.c: (load_status_applet):
18256
* swallow.c: (load_swallow_applet): update to use return val
18257
of panel_applet_register instead of applets_last.
18259
2001-11-09 Mark McLoughlin <mark@skynet.ie>
18261
* applet.c, applet.h: (panel_register_applet): renamed from
18262
register_toy. Return an AppletInfo *.
18264
* drawer.c: (load_drawer_applet):
18265
* extern.c: (reserve_applet_spot):
18266
* gnome-run.c: (load_run_applet):
18267
* launcher.c: (load_launcher_applet_full):
18268
* logout.c: (load_logout_applet), (load_lock_applet):
18269
* menu.c: (load_menu_applet):
18270
* panel-applet-frame.c: (panel_bonobo_applet_load):
18271
* panel.c: (panel_applet_added), (drag_data_recieved_cb):
18272
* status.c: (load_status_applet):
18273
* swallow.c: (load_swallow_applet): update.
18275
2001-11-09 Mark McLoughlin <mark@skynet.ie>
18277
* applet.c: tidy up popup menu handling.
18279
* applet.h: (show_applet_menu): privatise.
18281
* basep-widget.c, border-widget.c, extern.c, menu-util.c:
18283
* menu.c: (show_item_menu_b_cb): kill unused.
18285
2001-11-08 Glynn Foster <glynn.foster@sun.com>
18287
* applet.c, basep-widget.c, button-widget.c,
18288
menu-util.c, menu.c, panel-gconf.c, panel-gconf.h:
18289
panel-types.h, panel_config_global.h, panelglobalconfig.schema,
18290
session.c: More shifting towards gconf - some renames of variables
18293
2001-11-08 Mark McLoughlin <mark@skynet.ie>
18295
* basep-widget.c: (basep_pos_get_hide_size),
18296
(basep_pos_get_hide_pos), (basep_widget_do_hiding),
18297
(basep_widget_do_showing), (basep_widget_explicit_hide),
18298
(basep_widget_explicit_show), (basep_widget_autoshow),
18299
(basep_widget_queue_autoshow), (basep_widget_autohide),
18300
(basep_widget_queue_autohide): update gconf key names.
18302
* floating-widget.c: (floating_pos_get_hide_size),
18303
(floating_pos_get_hide_pos): ditto.
18305
2001-11-08 Glynn Foster <glynn.foster@sun.com>
18307
* panelglobalconfig.schema: Update. Well actually
18310
2001-11-08 Mark McLoughlin <mark@skynet.ie>
18312
* Makefile.am: install schema using gconftool.
18314
2001-11-08 Mark McLoughlin <mark@skynet.ie>
18316
* basep-widget.c, button-widget.c, menu-fentry.c
18317
menu-properties.c, menu-rh.c, menu-util.c, menu.c,
18318
panel-widget.c, session.c, status.c: sensible debugging
18319
defines. undef them all so warnings don't get lost.
18321
2001-11-07 Mark McLoughlin <mark@skynet.ie>
18323
* launcher.c: (is_this_drop_ok): use GDK_POINTER_TO_ATOM
18324
instead of GPOINTER_TO_UINT.
18326
* menu-fentry.c: (get_applet_goad_id_from_ditem) make static.
18328
* panel.c: (get_target_list): impl.
18329
(is_this_drop_ok): kill GPOINTER_TO_UINT atom usage.
18331
* tasklist_icon.c: (tasklist_icon_check_mini): use GdkAtom.
18333
* xstuff.[ch]: (xstuff_nautilus_desktop_present),
18334
(xstuff_set_simple_hint), (status_event_filter),
18335
(get_typed_property_data), (send_client_message_1L),
18336
(xstuff_setup_global_desktop_area), (xstuff_setup_desktop_area),
18337
(xstuff_unsetup_desktop_area): bunch of GdkAtom/Atom related
18340
2001-11-7 Glynn Foster <glynn.foster@sun.com>
18342
* basep-widget.c: Fix bug in set_property call.
18344
2001-11-07 Glynn Foster <glynn.foster@sun.com>
18346
* Makefile.am, basep-widget.c, floating-widget.c, panel-gconf.c,
18347
panel-gconf.h, panel_config_global.h, session.c, session.h:
18349
More property stuff...mostly dumb stuff though. Added installation
18352
2001-11-05 Glynn Foster <glynn.foster@sun.com>
18354
* Makefile.am, basep-widget.c, border-widget.c,
18355
floating-widget.c, foobar-widget.c, gnome-panel-properties.c,
18356
main.c, main.h, menu.c, panel-gconf.c, panel-gconf.h, panel-widget.c,
18357
panel-widget.h, panel_config_global.h, panelglobalconfig.schema,
18358
session.c, tearoffitem.c: More work getting the global properties into
18359
shape. Removed the option to have the movement type in the capplet - these
18360
are now a keybinding only - according to usability happiness. Also moved
18361
basep, basepos over to gobject a little bit more. Added the startings of
18362
a wrapper around gconf stuff for panel config.
18364
2001-11-05 Mark McLoughlin <mark@skynet.ie>
18366
* gnome-run.c: (show_run_dialog): change order of buttons as
18367
per usability recommendations.
18369
2001-11-05 Mark McLoughlin <mark@skynet.ie>
18371
* panel-applet-frame.c:
18372
(panel_bonobo_applet_widget): impl. Wrap the windowless
18373
BonoboWidget in a GtkEventBox so we can catch events.
18374
(panel_applet_load): rename to panel_bonobo_applet_load.
18376
* panel-applet-frame.h: upd.
18378
* menu.c: (add_test_bonobo_applet): upd.
18380
2001-11-05 Mark McLoughlin <mark@skynet.ie>
18382
* applet.c: (applet_button_press): only propagate event to
18385
2001-11-01 Mark McLoughlin <mark@skynet.ie>
18387
A first stab at BonoboControl based applets. It works
18388
suprisingly well for 84 lines of code :)
18390
* panel-applet-frame.c, panel-applet-frame.h: new files.
18391
BonoboControl based applet support.
18393
* applet.h: add new AppletType - APPLET_BONOBO.
18395
* menu.c: (add_test_bonobo_applet): impl.
18396
(make_add_submenu): add new menuitem to activate a
18397
test bonobo applet.
18399
* test-bonobo-applet.c: BonoboControl based test applet.
18401
* GNOME_Panel_TestApplet.server.in: add TestBonoboApplet.
18403
* Makefile.am: upd.
18405
2001-11-01 Mark McLoughlin <mark@skynet.ie>
18407
* applet-object.c: (applet_object_panel_quit), (applet_object_new):
18408
free panel CORBA refs.
18410
* applet-widget.c: kill applet_count stuff.
18412
2001-11-01 Mark McLoughlin <mark@skynet.ie>
18414
* applet-object.c: (impl_GNOME_Applet2_back_change): add case
18415
for PANEL_BACK_NONE.
18417
* main.c: (main): set BONOBO_ACTIVATION_DEBUG_OUTPUT for easy
18420
* applet-init.c, applet-init.h:, applet-widget.c,
18421
test-applet.c: remove crufty debugging stuff. sigh.
18423
2001-11-01 Mark McLoughlin <mark@skynet.ie>
18425
* panel-util.c: (panel_show_help): update for gnome-help
18428
2001-11-01 Glynn Foster <glynn.foster@sun.com>
18430
* applet.c: * basep-widget.c: * basep-widget.h:
18431
* border-widget.c: * border-widget.h: * button-widget.c:
18432
* conditional.c: * conditional.h: * drawer-widget.c:
18433
* drawer-widget.h: * drawer.c: * extern.c: * floating-widget.c:
18434
* floating-widget.h: * foobar-widget.c: * global-keys.c:
18435
* menu-util.c: * menu.c: * multiscreen-stuff.c: * panel.c:
18436
* panel_config.h: * session.c: * xstuff.c:
18438
Start shifting stuff slowly over towards a more GObject approach and
18439
making things a little bit more consistant with the type defs.
18441
2001-10-31 Mark McLoughlin <mark@skynet.ie>
18443
* applet-widget.c: kill old goad factory stuff.
18445
* applet.c, applet.h, extern.c, panel-widget.c:
18446
move various definitions of APPLET_EVENT_MASK to
18449
2001-10-26 Mark McLoughlin <mark@skynet.ie>
18451
* GNOME_Panel_TestApplet.server.in: s/TestApplet/Panel_TestApplet/g
18453
* applet-init.c, applet-init.h: crufty debugging functionality.
18454
(applet_debug_log), (applet_debug_init): impl.
18455
(applet_factory_main): use it.
18457
* extern.c: use Applet2 interface.
18459
* menu.c: (add_test_applet): s/TestApplet/Panel_TestApplet/g.
18461
* test-applet.c: use logging.
18463
2001-10-25 Mark McLoughlin <mark@skynet.ie>
18465
* applet-widget.c, applet-widget.h: kill applet_widget_init.
18467
* applet-init.c, applet-init.h: new files - init related stuff
18468
for libpanel-applet-2.
18470
* GNOME_Panel_TestApplet.server.in, test-applet.c:
18471
simple applet for testing purposes. It doesn't work.
18473
* Makefile.am: update build.
18475
* extern.c: cosmetics.
18477
2001-10-25 Mark McLoughlin <mark@skynet.ie>
18479
* menu.c: (menus_have_icons): use gconf.
18481
2001-10-25 Mark McLoughlin <mark@skynet.ie>
18483
* session.c: (load_up_globals), (write_global_config),
18484
(convert_write_config): remove tile_when_over usage.
18486
2001-10-25 Glynn Foster <glynn.foster@sun.com>
18488
* panelglobalconfig.schema: First stab at creating
18489
a schema for the panel global config.
18491
2001-10-25 Glynn Foster <glynn.foster@sun.com>
18493
* panel_config_global.h: Remove some tile cruft.
18495
2001-10-24 Mark McLoughlin <mark@skynet.ie>
18497
* Makefile.am: add WARN_CFLAGS to INCLUDES. Clean up
18498
panel-marshal rules. Build libpanel-applet-2. Install
18499
applet headers in gnome-2.0/panel/applet.
18501
* libpanelapplet-2.0.pc.in: update.
18503
* applet-object.c: s/IS_APPLET_OBJECT/APPLET_IS_OBJECT/.
18504
(applet_object_panel): return panel_client.
18505
(applet_object_panel_quit): impl.
18506
(impl_GNOME_Applet2_do_callback): kill unused variable.
18509
(marshal_signal_save), (marshal_signal_back):
18510
s/G_CLOSURE_SWAP_DATA/G_CCLOSURE_SWAP_DATA/
18511
(applet_widget_destroy): use gtk_main_quit ().
18512
(gnome_panel_client): kill.
18513
(applet_widget_get_rgb_background): rename from
18514
applet_widget_get_rgb_bg.
18515
(applet_widget_gtk_main, applet_widget_gtk_main_quit,
18516
applet_widget_panel_quit): kill.
18518
* applet-object.h: kill applet_object_register and
18519
applet_object_get_rgb_background. Add applet_object_panel_quit.
18521
* applet-widget.h: kill HAVE_* defines.
18523
* applet-private.h: new header for libpanel-applet private
18526
* doc/libpanel-applet-changes.txt: document applet API changes.
18529
(basep_widget_do_hiding), (basep_widget_do_showing): use g_usleep,
18531
(basep_widget_explicit_hide), (basep_widget_explicit_show),
18532
(basep_widget_autoshow), (basep_widget_autohide): kill unused
18535
* conditional.c: #ifdef FIXME updates.
18537
* extern.c: ditto and
18538
(extern_ref, extern_unref, extern_clean): make static
18539
(s_panel_add_launcher_from_info): kill unused exec_argv.
18541
* foobar-widget.c: #ifdef FIXME updates and
18542
(get_default_image): kill unused variables.
18544
* launcher.c: (create_properties_dialog), (load_launcher_applet_full),
18545
(ask_about_launcher): kill unused variables.
18547
* main.c: (panel_get_shell): make static.
18549
* menu-properties.c: #ifdef FIXME updates
18551
* menu.c: (add_new_app_to_menu), (edit_dentry): kill unused
18554
* nothing.cP: #ifdef FIXME updates
18556
* panel-util.c: ditto.
18558
* panel-marshal-main.c: include panel-marshal.h.
18560
* panel_config.c: (update_config_back): make text const.
18562
* session.c: (apply_global_config), (load_up_globals),
18563
(write_global_config), (convert_write_config),
18564
(convert_read_old_config): kill unused variables.
18566
* button-widget.c: (button_widget_draw): ditto.
18568
2001-10-24 Glynn Foster <glynn.foster@sun.com>
18570
* button-widget.c, button-widget.h, drawer.c,
18571
gnome-run.c, launcher.c, logout.c, menu.c,
18572
panel-types.h, panel_config_global.h, session.c,
18573
session.h: A first blast of getting rid of the panel
18574
tiling. Still probably lots of crufty code that can be
18577
2001-10-23 Mark McLoughlin <mark@skynet.ie>
18579
* applet-widget.c, applet-widget.h: remove all
18580
corba related stuff.
18582
* applet-object.c, applet-object.h: implement GNOME:Applet2
18585
2001-10-23 Mark McLoughlin <mark@skynet.ie>
18587
* applet-widget.c, applet-widget.h: some cosmetics.
18589
2001-10-22 Mark McLoughlin <mark@skynet.ie>
18591
Beginning of a proper port from GOAD to bonobo-activation.
18593
* applet-widget.c, applet-widget.h: start the port. Not
18594
finished yet, though.
18595
(custom_servant_destroy): renamed from applet_servant_destroy.
18596
(gnome_panel_client): impl.
18597
(custom_servant_activate): renamed from gnome_panel_applet_corba_init.
18598
(applet_widget_init): use gnome_program_init.
18599
Elsewhere do s/goad_id/iid/g and use bonobo-activation.
18601
* extern.c, extern.h: s/goad_id/iid/g
18602
(extern_activate): renamed from extern_start_new_goad_id.
18604
* main.c: (main): use GNOME_PARAM_NONE.
18606
* menu.c: (add_test_applet), (make_add_submenu): add temporary
18607
menuitem to load a test applet.
18609
* panel.c: (drag_data_recieved_cb):
18610
* session.c: (init_user_applets): #ifdef FIXME all other
18613
2001-10-22 Mark McLoughlin <mark@skynet.ie>
18615
* extern.c: (extern_shutdown): release the panel object.
18617
* menu.c: (make_panel_submenu): add the tearoff to the submenu,
18618
not the menu itself.
18620
2001-10-22 Mark McLoughlin <mark@skynet.ie>
18622
* extern.c, extern.h:
18623
(extern_save_applet): renamed from save_applet.
18624
(s_panelspot_done_session_save): upd.
18625
(extern_shutdown): renamed from panel_corba_clean_up.
18626
Unregister the GNOME::Panel object.
18628
* session.c: (send_applet_session_save),
18629
(panel_session_die): upd.
18631
2001-10-22 Mark McLoughlin <mark@skynet.ie>
18633
* main.c: (main): activate old panel object as well for the
18636
* GNOME_Panel.server.in: kill PanelShell_Factory - there's no
18637
factory. Add GNOME_Panel.
18639
* extern.c: (extern_init): clean up.
18641
2001-10-19 jacob berkman <jacob@ximian.com>
18643
* various: s/gnome-panel.h/GNOME_Panel.h/
18645
* GNOME_Panel.server.in: real .server file
18647
* panel-shell.[ch]: global corba object - will be used by applets
18648
to find the panel. this might not get used - making GNOME_Panel a
18649
BonoboObject could do the trick as well, but i didn't want to
18652
* main.c (main): create a shell object and register with
18653
bonobo-activation. if there is already a panel or we couldn't
18656
2001-10-19 Mark McLoughlin <mark@skynet.ie>
18658
* extern.c, extern.h:
18659
(extern_load_applet): renamed from load_extern_applet.
18660
(extern_load_queued): renamed from load_queued_externs.
18661
(extern_init): renamed from panel_corba_gtk_init.
18662
(extern_start_new_goad_id), (reload_applet_callback),
18663
(extern_clean), (send_position_change),
18664
(panel_corba_clean_up), (s_panel_add_applet_full),
18665
(s_panel_add_status), (send_draw):
18666
(extern_activate_panelspot): cleaned up.
18669
* menu.c: (add_applet):
18670
* panel.c: (drag_data_recieved_cb):
18671
* session.c: (try_evil_config_hacks), (init_user_applets):
18672
* status.c: (status_spot_remove): update.
18674
2001-10-19 Glynn Foster <glynn.foster@sun.com>
18676
* basep-widget.c, gnome-panel-properties.c,
18677
* panel_config_global.h, session.c: Remove
18678
'hide_panel_frame' which now defaults to FALSE. So whether
18679
buttons are flush with the panel depends on background type
18680
only. Another useless property best removed :)
18682
2001-10-19 Mark McLoughlin <mark@skynet.ie>
18684
* menu.c: (create_menu_at_fr), (create_desktop_menu),
18685
(create_root_menu): fix some silly bugs of mine.
18687
2001-10-19 Mark McLoughlin <mark@skynet.ie>
18689
* menu.c: (create_root_menu): fix dumb bug.
18691
* menu-properties.c: (create_properties_dialog):
18692
port gnome_file_entry_set_directory.
18694
2001-10-19 Mark McLoughlin <mark@skynet.ie>
18696
* panel_config.c: (update_config_back), (value_changed),
18697
(background_page): gnome_pixmap_entry_gtk_entry to
18698
gnome_file_entry_gtk_entry.
18700
2001-10-19 Glynn Foster <glynn.foster@sun.com>
18702
* menu.c: added casts to GTK_MENU to remove some compile
18705
2001-10-19 Mark McLoughlin <mark@skynet.ie>
18707
* bad-applet.c: (main): ported to new stcok icons.
18709
* foobar-widget.c: (append_gnome_menu): ditto.
18711
* gnome-run.c: (show_run_dialog), (load_run_applet): ditto.
18713
2001-10-18 Mark McLoughlin <mark@skynet.ie>
18715
* applet.c, basep-widget.c, button-widget.c,
18716
conditional.c, drawer.c, extern.c, foobar-widget.c
18717
gnome-panel-properties.c, gnome-panel-screenshot.c
18718
gnome-run.c, launcher.c, logout.c, main.c
18719
menu-properties.c, menu-rh.c, menu.c:
18720
ported gnome_.*_file -> gnome_program_locate_file
18721
gnome_unconditional_.*_file -> gnome_program_locate_file
18722
g_file_exists -> g_file_test
18723
g_unix_error_string -> g_strerror
18725
2001-10-18 jacob berkman <jacob@ximian.com>
18727
* session.h (PANEL_CONFIG_PATH): set to panel2.d so you don't
18728
wreck your normal panel settings
18731
* launcher.c (launcher_file_name):
18732
* session.c (get_correct_prefix): use PANEL_CONFIG_PATH rather
18733
than hard coding the path
18735
2001-10-18 Glynn Foster <glynn.foster@sun.com>
18737
* basep-widget.c, gnome-panel-properties.c,
18738
* panel_config_global.h, session.c: Remove 'simple_movement' and
18739
opt for the slightly more complicated sin() algorithm as default.
18741
2001-10-18 Mark McLoughlin <mark@skynet.ie>
18743
* main.h, main.c (panel_main_gconf_client): impl.
18745
* foobar-widget.c (pixmap_menu_item_new): port from
18746
gnome_preferences_* to gconf.
18747
(add_tearoff): ditto.
18749
* tearoffitem.c (tearoff_item_new): ditto.
18751
* menu.c (menu_add_tearoff): impl to use gconf.
18752
(add_tearoff): kill.
18753
(submenu_to_display): use menu_add_tearoff.
18754
(start_favourites_menu): ditto.
18755
(create_menu_at_fr): ditto.
18756
(create_add_panel_submenu): ditto.
18757
(make_panel_submenu): ditto.
18758
(create_panel_submenu): ditto.
18759
(create_desktop_menu): ditto.
18760
(create_root_menu): ditto.
18762
2001-10-18 Glynn Foster <glynn.foster@sun.com>
18764
* basep-widget.c, gnome-panel-properties.c,
18765
* panel-widget.c, panel-widget.h, panel_config_global.h,
18766
* session.c, session.h: Remove 'auto_hide_step_size',
18767
'explicit_hide_step_size' and 'drawer_hide_step_size' and replace
18768
for a single configuration 'hiding_step_size' for all
18770
2001-10-18 Glynn Foster <glynn.foster@sun.com>
18772
* button-widget.c, gnome-panel-properties.c:
18773
* panel_config_global.h, session.c: Remove fast_button_scaling
18774
and use GDK_INTERP_HYPER as default instead.
18776
2001-10-18 Glynn Foster <glynn.foster@sun.com>
18778
* basep-widget.c, foobar-widget.c, gnome-panel-properties.c
18779
menu.c, panel-widget.c, panel-widget.h, panel.c
18780
panel_config_global.h, session.c: Removed the applet_padding
18781
and applet_padding_border global properties and consequently
18782
the no_padding_ends param on panel_widget_new
18784
2001-10-12 Alex Larsson <alexl@redhat.com>
18786
* panel_config.c (panel_config):
18787
un-ifdef out this function. Seems to work reasonably well
18790
2001-10-12 Alex Larsson <alexl@redhat.com>
18792
* main.c (kill_free_drawers):
18793
Queue up all the destroys until after we've gone through
18794
the panel_list, since the destroys can change the list.
18796
2001-10-11 Alex Larsson <alexl@redhat.com>
18798
* gnome-run.c (simple_contents_shown):
18799
Remove gtk_clist_columns_autosize() call. It crashed,
18800
and we only have one column anyway.
18802
2001-10-11 Alex Larsson <alexl@redhat.com>
18804
* foobar-widget.c (foobar_widget_update_winhints):
18805
Use the gtk hint calls.
18807
* basep-widget.c (basep_widget_update_winhints):
18808
Use the gtk hint calls.
18810
2001-10-11 Alex Larsson <alexl@redhat.com>
18812
* menu.c (menus_have_icons):
18813
New function that always returns TRUE. Should use GConf
18814
instead. Changed all gnome_preferences_get_menus_have_icons
18815
to menus_have_icons().
18816
(fake_pixmap_from_fake):
18817
Connect to the signals before showing the widget.
18819
2001-10-11 Alex Larsson <alexl@redhat.com>
18821
* applet.c (applet_button_press):
18822
Don't return TRUE here, it makes the buttons not
18823
work. I'm not sure about the comment here in the old
18824
code. Returning TRUE never blocked anything in
18828
Fix some code inside #ifdef PANEL_DEBUG
18830
2001-10-11 Alex Larsson <alexl@redhat.com>
18832
* menu-fentry.c (fr_fill_dir, fr_read_dir,
18833
fr_check_and_reread):
18834
Move to new GnomeDesktopItem api
18836
* menu-fentry.h (struct DirRect):
18837
renams dentry* to ditem*
18839
* menu.c (edit_direntry, add_applet):
18840
Warn when running commented function.
18842
Update to new GnomeDesktopItem API
18844
* panel.c (drop_urilist):
18845
Warn when running commented function.
18848
2001-10-10 Alex Larsson <alexl@redhat.com>
18850
* menu.c (add_drawers_from_dir):
18851
converted to use gnome-desktop-item, and removed
18854
2001-10-10 Mark McLoughlin <mark@skynet.ie>
18856
* extern.h, extern.c (extern_ref, extern_unref,
18857
extern_clean): privatise.
18858
(extern_set_info, extern_(get|set)_orient, ): kill.
18859
(extern_handle_*): impl. Privatise the handling of
18861
(socket_set_loading): remove ifdef FIXMEs and port
18862
usage of gdk_pixbuf_new_from_file.
18864
* applet.c (applet_callback_callback):
18865
panel.c (freeze_changes, thaw_changes, size_change,
18866
orientation_change, back_change):
18867
session.c (send_tooltips_state):
18869
2001-10-09 Mark McLoughlin <mark@skynet.ie>
18871
* panel-include.h: remove.
18873
* *.c, *.h: don't include panel-include.h. Include the
18874
actual required headers. Give automatic dependancy
18875
generation a chance.
18877
* aligned-widget.c (aligned_pos_class_init): use proper
18878
enum def instead of GTK_TYPE_ENUM.
18879
basep-widget.c (basep_widget_class_init): ditto.
18880
border-widget.c (border_pos_class_init): ditto.
18881
panel-widget.c (panel_widget_class_init): ditto.
18882
sliding-widget.c (sliding_pos_class_init): ditto.
18884
* Makefile.am: only generate the enums we actually
18885
want. Also don't include panel-include.h from
18886
panel-typebuiltins.c - include the required headers.
18888
2001-10-08 Mark McLoughlin <mark@skynet.ie>
18890
* extern.c: privatised the Extern struct. Implemented
18891
various set/get methods.
18893
* applet.c, panel.c, session.c: updated for above change.
18895
2001-10-08 Mark McLoughlin <mark@skynet.ie>
18897
* applet.c (show_applet_menu): get popup menu working.
18898
panel.c (panel_event): ditto.
18899
menu.c (menu_button_pressed): ditto.
18901
* menu.c (create_menu_at_fr): fix core dump.
18902
(make_add_submenu): ditto.
18904
* menu-util.h, menu-util.c (applet_menu_position): add
18905
new push_in param for gtk_menu_popup callbacks.
18906
(panel_menu_position): ditto.
18907
(get_default_menu_flags): make not const - it calls a
18908
non-const function.
18910
2001-10-08 Mark McLoughlin <mark@skynet.ie>
18912
* menu.c (create_applets_menu): warn if we can't find applets
18914
(create_root_menu): only setup an applets menuitem if we have
18915
managed to create an applets menu.
18917
* foobar-widget.c (foobar_widget_init): init foo->tasks.
18919
* logout.c, main.c, menu-properties.c, menu-util.c, menu.c,
18920
panel-util.c, panel.c, session.c, sliding-widget.c,
18921
status.c, aligned-widget.c, applet.c, basep-widget.c,
18922
drawer.c, extern.c, global-keys.c, gnome-run.c, swallow.c,
18923
launcher.c: remove unused extern defs.
18925
Thu Sep 27 01:03:48 2001 George Lebl <jirka@5z.com>
18927
* menu.c: port more things to ditem
18929
* main.c: fix segfault, change the warning dialog so that people
18930
don't have to set evil env variables
18932
* *.c: fix includes, replace g_concat_dir_and_file with
18933
g_build_filename, and g_basename with g_path_get_basename,
18934
uncomment a couple more things that now compile. Whack the
18935
references to the hacks. Use new help API for the help stuff.
18937
2001-09-26 Christian Rose <menthos@menthos.com>
18939
* panel.hints: Fix reported "medans" typo.
18941
2001-09-24 Glynn Foster <glynn.foster@sun.com>
18943
* configure.in, Makefile.am, libpanelapplet-2.0.pc.in:
18944
Add libpanelapplet-2.0 pkg-config file. It probably
18945
isn't 100% correct yet.
18947
Fri Sep 21 12:16:18 2001 George Lebl <jirka@5z.com>
18949
* applet.c, button-widget.c, foobar-widget.c, global-keys.c
18950
gnome-run.c, launcher.[ch], main.c, menu.c, panel-util.c,
18951
panel.c, session.c, swallow.c: Make the beast compile. Fix
18952
uses of panel_error_dialog, fix usage of GnomeDesktopItem,
18953
fix typos, fix includes, smoke some crack, and get rid of remaining
18954
uses of panel_file_exists
18956
Fri Sep 21 01:40:50 2001 George Lebl <jirka@5z.com>
18958
* *.[ch]: use GType for types
18960
* extern.c, gnome-run.c, launcher.[ch]: do more ditem porting
18962
Thu Sep 20 15:17:33 2001 George Lebl <jirka@5z.com>
18964
* launcher.c, swallow.c: Do some DesktopItem porting, remove some
18967
* *.[ch], panel-util.[ch]: whack panel_file_exists and
18968
panel_is_program_in_path, since those are now nice and working
18971
2001-09-10 Frank Belew <frb@ximian.com>
18972
* panel/launcher.c: changed references to removed functions to use
18973
gnome_desktop_item_get_string instead
18975
Fri Sep 07 14:09:51 2001 George Lebl <jirka@5z.com>
18977
* *.c: include libgnome/libgnome.h and libgnomeui/libgnomeui.h
18979
Tue Sep 04 23:07:54 2001 George Lebl <jirka@5z.com>
18981
* Makefile.am, basep-widget.[ch], conditional.c, foobar-widget.c,
18982
gnome-run.c, main.c, menu.c, panel-util.c, panel-widget.c,
18983
panel_config.c, session.c, tasklist_icon.c: Reenable some things
18984
and ifdef out others. Put gnome-run back. Compiles with latest
18987
2001-08-31 Kevin Vandersloot <kfv101@psu.edu>
18989
* panel_widget.c (panel_widget_get_free_space): fix
18990
initializing of right, left ints. They were switched. This
18991
fixes the case where the tasklist wouldn't honor the
18992
"Only use empty space" option.
18994
2001-09-01 Darin Adler <darin@bentspoon.com>
19003
Fix includes to start on the porting to GNOME 2.
19005
2001-08-26 Seth Nickell <snickell@stanford.edu>
19009
Include time.h since we use time_t structures.
19011
* gnome-panel-properties.c: (show_page):
19014
Call gtk_notebook_set_current_page as gtk_notebook_set_page
19017
2001-08-18 Martin Baulig <baulig@suse.de>
19019
* Makefile.am: Added rules to create panel-typebuiltins.[ch].
19021
* panel-typebuiltins.[ch]: Create these files from glib-mkenums.
19023
2001-08-12 Martin Baulig <baulig@suse.de>
19025
* Makefile.am: Put gwmh back, less work this way.
19027
2001-08-12 Martin Baulig <baulig@suse.de>
19029
* extern.c (panel_corba_gtk_init): Make this actually work.
19031
* Makefile.am: Renamed panel to panel-2, commented out the
19032
applet and status libraries, removed everything else.
19034
* panel.server.in: New file.
19036
* panel.gnorba, panel.soundlist: Removed.
19038
2001-08-12 Martin Baulig <baulig@suse.de>
19040
* main.c: Put in some protection so that panel won't start up
19041
unless explicitly told to - so it won't ruin your desktop if you
19042
accidentally start it.
19044
2001-08-11 Martin Baulig <baulig@suse.de>
19046
* Makefile.am: Renamed the `panel-temp' target back to `panel'.
19048
2001-08-11 Martin Baulig <baulig@suse.de>
19050
* scroll-menu.[ch]: Removed.
19052
2001-08-11 Martin Baulig <baulig@suse.de>
19054
* extern.c: Ported to GTK+ 2.0, but `#ifdef FIXME' the CORBA
19055
stuff - will be fixed after dinner :-)
19057
* launcher.c Ported to GTK+ 2.0, but `#ifdef FIXME' large parts
19060
* menu-properties.[ch]: #ifdef FIXME some stuff.
19062
* scroll-menu.[ch]: Ported to GTK+ 2.0.
19064
* swallow.[ch]: Ported to GTK+ 2.0, but `#ifdef FIXME'.
19066
2001-08-11 Martin Baulig <baulig@suse.de>
19068
* Makefile.am: Disable the gwmh stuff for the moment and
19069
#ifdef FIXME it everywhere.
19071
2001-08-09 Martin Baulig <baulig@suse.de>
19073
* panel-include.h: #include <libgnome/gnome-i18n.h> and
19074
<libgnome/gnome-util.h>.
19076
2001-08-09 Martin Baulig <baulig@suse.de>
19078
* Makefile.am: Added some more files to panel-temp.
19080
* launcher.[ch]: GnomeDesktopEntry -> GnomeDesktopItem, only
19081
half-way done, so FIXME.
19083
* applet.c: Ported to GTK+ 2.0, did some GnomeDesktopItem stuff,
19084
has `#ifdef FIXME' issues in the ditem code.
19086
* menu-fentry.[ch]: Ported to GTK+ 2.0, did some
19087
GnomeDesktopEntry -> GnomeDesktopItem stuff, has larger
19088
`#ifdef FIXME' issues.
19090
* menu-properties.c: Don't #include "icon-entry-hack.h".
19092
* menu-rh.c: `#ifdef FIMXE' some stuff.
19094
* menu-util.c: Ported to GTK+ 2.0.
19096
* menu.c: Ported to GTK+ 2.0, but `#ifdef FIXME' large parts
19099
* panel-util.c: Ported to GTK+ 2.0, has `#ifdef FIXME' issues.
19101
* panel_config.c: Ported to GTK+ 2.0, but `#ifdef FIXME' large parts
19104
* nothing.cP: Ported to GTK+ 2.0, `#ifdef FIXME' the sound stuff.
19106
* swalloc.c: Some GnomeDesktopEntry -> GnomeDesktopItem stuff.
19108
* session.c: Ported to GTK+ 2.0, has `#ifdef FIXME' issues.
19110
* drawer.c: Ported to GTK+ 2.0, has `#ifdef FIXME' issues.
19112
* status.c: Ported to GTK+ 2.0.
19114
* logout.c: Ported to GTK+ 2.0.
19116
* basep-widget.c, button-widget.c, foobar-widget.c, main.c:
19117
Don't use gnome_program_locate_file().
19119
2001-08-09 Martin Baulig <baulig@suse.de>
19121
* Makefile.am (panel_temp_SOURCES): Added
19122
rgb-stuff.[ch], tearoffitem.[ch], title-item.[ch],
19123
title-item-private.h, panel.[ch].
19125
* panel.c: Ported to GTK+ 2.0.
19126
[FIXME: There's gnome_uri_list #ifdef FIXME'ed].
19128
* main.c: Forgot a GnomeDialog -> GtkDialog.
19130
2001-08-09 Martin Baulig <baulig@suse.de>
19132
* Makefile.am (panel_temp_SOURCES): Added
19133
border-widget.[ch], edge-widget.[ch], aligned-widget.[ch],
19134
drawer-widget.[ch], sliding-widget.[ch], floating-widget.[ch].
19136
2001-08-09 Martin Baulig <baulig@suse.de>
19138
* Makefile.am (panel_SOURCES): Removed everything
19139
which is in panel-temp so that we know which files
19140
still need to be ported.
19142
2001-08-09 Martin Baulig <baulig@suse.de>
19144
* foobar-widget.[ch]: Ported to GTK+ 2.0.
19146
* Makefile.am: Added foobar-widget.[ch] and
19147
tasklist_icon.[ch] to panel-temp and fixed
19148
the marshaller creation.
19150
2001-08-07 Martin Baulig <baulig@suse.de>
19152
* main.c: Ported to GNOME 2.
19154
* panel-widget.c: Ported to GTK+ 2.0.
19156
* button-widget.[ch]: Ported to GTK+ 2.0.
19158
* basep-widget.[ch]: Ported to GTK+ 2.0.
19160
2001-08-07 Martin Baulig <baulig@suse.de>
19162
* Makefile.am: Added `panel-temp' target with all files which are
19163
already ported to GNOME 2.
19165
* panel-marshal.list, panel-marshal-main.c: New files.
19167
2001-08-06 Martin Baulig <baulig@suse.de>
19169
* aligned-widget.c, applet-widget.c, border-widget.c,
19170
button-widget.c, floating-widget.c, gnome-panel-screenshot.c,
19171
main.c, panel-widget.c, sliding-widget.c, status-docklet.c:
19172
Merged the basic GTK+ 2.0 port from the GNOME20.
19174
2001-08-06 Martin Baulig <baulig@suse.de>
19176
* *.[ch]: #include <libgnomeui.h> instead of <gnome.h> and
19177
#include <bonobo-activation/bonobo-activation.h> instead
19178
of <libgnorba/gnorba.h>.
19180
2001-08-06 Martin Baulig <baulig@suse.de>
19182
* *.h: Use G_BEGIN/END_DECLS everywhere.
19184
2001-08-06 Martin Baulig <baulig@suse.de>
19186
* Makefile.am: Updated for the GNOME 2 platform.
19188
2001-08-06 Martin Baulig <baulig@suse.de>
19190
* ChangeLog-20010806: Copied current ChangeLog to ChangeLog-20010806
19191
and started a new ChangeLog file for GNOME 2.0.