bugged stringlengths 4 228k | fixed stringlengths 0 96.3M | __index_level_0__ int64 0 481k |
|---|---|---|
def next_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1: | def next_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1: | 36,900 |
def next_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1: | def next_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1: | 36,901 |
def next_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1: | def next_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1: | 36,902 |
def random_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1: | def random_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1: | 36,903 |
def random_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1: | def random_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1: | 36,904 |
def random_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1: | def random_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1: | 36,905 |
def random_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1: | def random_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1: | 36,906 |
def first_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1 and self.curr_img_in_list != 0: | def first_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1 and self.curr_img_in_list != 0: | 36,907 |
def first_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1 and self.curr_img_in_list != 0: | def first_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1 and self.curr_img_in_list != 0: | 36,908 |
def last_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1 and self.curr_img_in_list != len(self.image_list)-1: | def last_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1 and self.curr_img_in_list != len(self.image_list)-1: | 36,909 |
def last_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1 and self.curr_img_in_list != len(self.image_list)-1: | def last_img_in_list(self, action): if self.slideshow_mode == True and action != "ss": gobject.source_remove(self.timer_delay) if len(self.image_list) > 1 and self.curr_img_in_list != len(self.image_list)-1: | 36,910 |
def set_go_navigation_sensitivities(self): if self.image_loaded == False or len(self.image_list) == 1: self.set_previous_image_sensitivities(False) self.set_first_image_sensitivities(False) self.set_next_image_sensitivities(False) self.set_last_image_sensitivities(False) elif self.curr_img_in_list == 0: if self.listwra... | def set_go_navigation_sensitivities(self): if self.image_loaded == False or len(self.image_list) == 1: self.set_previous_image_sensitivities(False) self.set_first_image_sensitivities(False) self.set_next_image_sensitivities(False) self.set_last_image_sensitivities(False) elif self.curr_img_in_list == 0: if self.listwra... | 36,911 |
def image_load_failed(self, reset_cursor): self.currimg_name = str(self.image_list[self.curr_img_in_list]) if self.verbose == True and self.currimg_name != "": print _("Loading:"), self.currimg_name self.set_window_title() self.put_error_image_to_window() self.image_loaded = False | def image_load_failed(self, reset_cursor): self.currimg_name = str(self.image_list[self.curr_img_in_list]) if self.verbose == True and self.currimg_name != "": print _("Loading:"), self.currimg_name self.set_window_title() self.put_error_image_to_window() self.image_loaded = False | 36,912 |
def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | 36,913 |
def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | 36,914 |
def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | 36,915 |
def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | 36,916 |
def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | 36,917 |
def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | 36,918 |
def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | 36,919 |
def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | 36,920 |
def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | 36,921 |
def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | 36,922 |
def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | 36,923 |
def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | 36,924 |
def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | 36,925 |
def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | 36,926 |
def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | 36,927 |
def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | 36,928 |
def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | def load_new_image(self, use_preloadimg, generate_preloadimg_only, reset_cursor, use_existing_preloadimg): if generate_preloadimg_only == False: # If there is a preloaded image available, use that instead of generating # a new one: if use_preloadimg == True and self.preloadimg_pixbuf_original != None: self.currimg_name... | 36,929 |
def expand_filelist_and_load_image(self, inputlist): | def expand_filelist_and_load_image(self, inputlist): | 36,930 |
def expand_filelist_and_load_image(self, inputlist): | def expand_filelist_and_load_image(self, inputlist): | 36,931 |
def expand_filelist_and_load_image(self, inputlist): | def expand_filelist_and_load_image(self, inputlist): | 36,932 |
def expand_filelist_and_load_image(self, inputlist): | def expand_filelist_and_load_image(self, inputlist): | 36,933 |
def expand_filelist_and_load_image(self, inputlist): | def expand_filelist_and_load_image(self, inputlist): | 36,934 |
def expand_filelist_and_load_image(self, inputlist): | def expand_filelist_and_load_image(self, inputlist): | 36,935 |
def expand_filelist_and_load_image(self, inputlist): | def expand_filelist_and_load_image(self, inputlist): | 36,936 |
def expand_filelist_and_load_image(self, inputlist): | def expand_filelist_and_load_image(self, inputlist): | 36,937 |
def expand_filelist_and_load_image(self, inputlist): | def expand_filelist_and_load_image(self, inputlist): | 36,938 |
def expand_filelist_and_load_image(self, inputlist): | def expand_filelist_and_load_image(self, inputlist): | 36,939 |
def expand_filelist_and_load_image(self, inputlist): | def expand_filelist_and_load_image(self, inputlist): | 36,940 |
def expand_filelist_and_load_image(self, inputlist): | def expand_filelist_and_load_image(self, inputlist): | 36,941 |
def do_image_list_stuff(self, first_image, second_image): if len(self.image_list) > 0: self.set_go_navigation_sensitivities() self.image_list = list(set(self.image_list)) self.image_list.sort(locale.strcoll) for itemnum in range(len(self.image_list)): if first_image == self.image_list[itemnum]: temp = self.image_list[0... | def do_image_list_stuff(self, first_image, second_image): if len(self.image_list) > 0: self.set_go_navigation_sensitivities() self.image_list = list(set(self.image_list)) self.image_list.sort(locale.strcoll) for itemnum in range(len(self.image_list)): if first_image == self.image_list[itemnum]: temp = self.image_list[0... | 36,942 |
def expand_directory(self, item, stop_when_image_found, go_buttons_enabled): if self.stop_now == False and self.closing_app == False: folderlist = [] | def expand_directory(self, item, stop_when_image_found, go_buttons_enabled): if self.stop_now == False and self.closing_app == False: folderlist = [] | 36,943 |
def expand_directory(self, item, stop_when_image_found, go_buttons_enabled): if self.stop_now == False and self.closing_app == False: folderlist = [] | def expand_directory(self, item, stop_when_image_found, go_buttons_enabled): if self.stop_now == False and self.closing_app == False: folderlist = [] | 36,944 |
def expand_directory(self, item, stop_when_image_found, go_buttons_enabled): if self.stop_now == False and self.closing_app == False: folderlist = [] | def expand_directory(self, item, stop_when_image_found, go_buttons_enabled): if self.stop_now == False and self.closing_app == False: folderlist = [] | 36,945 |
def expand_directory(self, item, stop_when_image_found, go_buttons_enabled): if self.stop_now == False and self.closing_app == False: folderlist = [] | def expand_directory(self, item, stop_when_image_found, go_buttons_enabled): if self.stop_now == False and self.closing_app == False: folderlist = [] | 36,946 |
def expand_directory(self, item, stop_when_image_found, go_buttons_enabled): if self.stop_now == False and self.closing_app == False: folderlist = [] | def expand_directory(self, item, stop_when_image_found, go_buttons_enabled): if self.stop_now == False and self.closing_app == False: folderlist = [] | 36,947 |
def expand_directory(self, item, stop_when_image_found, go_buttons_enabled): if self.stop_now == False and self.closing_app == False: folderlist = [] | def expand_directory(self, item, stop_when_image_found, go_buttons_enabled): if self.stop_now == False and self.closing_app == False: folderlist = [] | 36,948 |
def expand_directory(self, item, stop_when_image_found, go_buttons_enabled): if self.stop_now == False and self.closing_app == False: folderlist = [] | def expand_directory(self, item, stop_when_image_found, go_buttons_enabled): if self.stop_now == False and self.closing_app == False: folderlist = [] | 36,949 |
def expand_directory(self, item, stop_when_image_found, go_buttons_enabled): if self.stop_now == False and self.closing_app == False: folderlist = [] | def expand_directory(self, item, stop_when_image_found, go_buttons_enabled): if self.stop_now == False and self.closing_app == False: folderlist = [] | 36,950 |
def valid_image(self, file): test = gtk.gdk.pixbuf_get_file_info(file) if test == None: return False elif test[0]['name'] == "wbmp": # some regular files are thought to be wbmp for whatever reason, | def valid_image(self, file): test = gtk.gdk.pixbuf_get_file_info(file) if test == None: return False elif test[0]['name'] == "wbmp": # some regular files are thought to be wbmp for whatever reason, | 36,951 |
def valid_image(self, file): test = gtk.gdk.pixbuf_get_file_info(file) if test == None: return False elif test[0]['name'] == "wbmp": # some regular files are thought to be wbmp for whatever reason, | def valid_image(self, file): test = gtk.gdk.pixbuf_get_file_info(file) if test == None: return False elif test[0]['name'] == "wbmp": # some regular files are thought to be wbmp for whatever reason, | 36,952 |
def toggle_slideshow(self, action): if len(self.image_list) > 1: if self.slideshow_mode == False: | def toggle_slideshow(self, action): if len(self.image_list) > 1: if self.slideshow_mode == False: | 36,953 |
def toggle_slideshow(self, action): if len(self.image_list) > 1: if self.slideshow_mode == False: | def toggle_slideshow(self, action): if len(self.image_list) > 1: if self.slideshow_mode == False: | 36,954 |
def slideshow_controls_show(self): if self.slideshow_controls_visible == False and self.controls_moving == False: self.slideshow_controls_visible = True self.ss_delaycombo.set_active(self.curr_slideshow_delay) self.ss_randomize.set_active(self.curr_slideshow_random) | def slideshow_controls_show(self): if self.slideshow_controls_visible == False and self.controls_moving == False: self.slideshow_controls_visible = True self.ss_delaycombo.set_active(self.curr_slideshow_delay) self.ss_randomize.set_active(self.curr_slideshow_random) | 36,955 |
def slideshow_controls_show(self): if self.slideshow_controls_visible == False and self.controls_moving == False: self.slideshow_controls_visible = True self.ss_delaycombo.set_active(self.curr_slideshow_delay) self.ss_randomize.set_active(self.curr_slideshow_random) | def slideshow_controls_show(self): if self.slideshow_controls_visible == False and self.controls_moving == False: self.slideshow_controls_visible = True self.ss_delaycombo.set_active(self.curr_slideshow_delay) self.ss_randomize.set_active(self.curr_slideshow_random) | 36,956 |
def slideshow_controls_hide(self): if self.slideshow_controls_visible == True and self.controls_moving == False: self.slideshow_controls_visible = False ss_winheight = self.slideshow_window.allocation.height ss_win2width = self.slideshow_window2.allocation.width winheight = self.window.allocation.height winwidth = sel... | def slideshow_controls_hide(self): if self.slideshow_controls_visible == True and self.controls_moving == False: self.slideshow_controls_visible = False ss_winheight = self.slideshow_window.allocation.height ss_win2width = self.slideshow_window2.allocation.width winheight = self.window.allocation.height winwidth = sel... | 36,957 |
def main(self): gtk.main() | def main(self): gtk.main() | 36,958 |
def main(self): gtk.main() | def main(self): gtk.main() | 36,959 |
def __init__(self): | def __init__(self): | 36,960 |
def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | 36,961 |
def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | 36,962 |
def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | 36,963 |
def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | 36,964 |
def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | 36,965 |
def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | 36,966 |
def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | 36,967 |
def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | 36,968 |
def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | 36,969 |
def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | 36,970 |
def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | def show_prefs(self, action): self.prefs_dialog = gtk.Dialog(title=_("Mirage Preferences"), parent=self.window) self.prefs_dialog.set_has_separator(False) self.prefs_dialog.set_resizable(False) # Add "Interface" prefs: | 36,971 |
def set_window_title(self): if len(self.image_list) == 0: self.window.set_title("Mirage") else: if self.slideshow_mode == True: self.window.set_title("Mirage - [" + str(self.curr_img_in_list+1) + " _('of') " + str(len(self.image_list)) + "] " + os.path.basename(self.userimage) + " - _('Slideshow Mode')") else: self.win... | def set_window_title(self): if len(self.image_list) == 0: self.window.set_title("Mirage") else: if self.slideshow_mode == True: self.window.set_title("Mirage - [" + str(self.curr_img_in_list+1) + ' ' + _('of') + ' ' + str(len(self.image_list)) + "] " + os.path.basename(self.userimage) + ' - ' + _('Slideshow Mode')) els... | 36,972 |
def set_window_title(self): if len(self.image_list) == 0: self.window.set_title("Mirage") else: if self.slideshow_mode == True: self.window.set_title("Mirage - [" + str(self.curr_img_in_list+1) + " _('of') " + str(len(self.image_list)) + "] " + os.path.basename(self.userimage) + " - _('Slideshow Mode')") else: self.win... | def set_window_title(self): if len(self.image_list) == 0: self.window.set_title("Mirage") else: if self.slideshow_mode == True: self.window.set_title("Mirage - [" + str(self.curr_img_in_list+1) + " _('of') " + str(len(self.image_list)) + "] " + os.path.basename(self.userimage) + " - _('Slideshow Mode')") else: self.win... | 36,973 |
def load_editor(self, action): if self.UIManager.get_widget('/MainMenu/EditMenu/Open in Editor').get_property('sensitive') == True: test = os.spawnlp(os.P_WAIT, self.editor, self.editor, self.userimage) if test == 127: error_dialog = gtk.MessageDialog(self.window, gtk.DIALOG_MODAL, gtk.MESSAGE_WARNING, gtk.BUTTONS_CLOS... | def load_editor(self, action): if self.UIManager.get_widget('/MainMenu/EditMenu/Open in Editor').get_property('sensitive') == True: test = os.spawnlp(os.P_WAIT, self.editor, self.editor, self.userimage) if test == 127: error_dialog = gtk.MessageDialog(self.window, gtk.DIALOG_MODAL, gtk.MESSAGE_WARNING, gtk.BUTTONS_CLOS... | 36,974 |
def slideshow_controls_show(self): if self.show_slideshow_controls == False: self.show_slideshow_controls = True self.slideshow_controls = gtk.HBox(False, 0) back = gtk.Button("", gtk.STOCK_GO_BACK) alignment = back.get_children()[0] hbox2 = alignment.get_children()[0] image, label = hbox2.get_children() label.set_te... | def slideshow_controls_show(self): if self.show_slideshow_controls == False and self.controls_moving == False: self.show_slideshow_controls = True self.slideshow_controls = gtk.HBox(False, 0) back = gtk.Button("", gtk.STOCK_GO_BACK) alignment = back.get_children()[0] hbox2 = alignment.get_children()[0] image, label =... | 36,975 |
def slideshow_controls_show(self): if self.show_slideshow_controls == False: self.show_slideshow_controls = True self.slideshow_controls = gtk.HBox(False, 0) back = gtk.Button("", gtk.STOCK_GO_BACK) alignment = back.get_children()[0] hbox2 = alignment.get_children()[0] image, label = hbox2.get_children() label.set_te... | def slideshow_controls_show(self): if self.show_slideshow_controls == False: self.show_slideshow_controls = True hbox_width = 3 * self.ss_start.size_request()[0] hbox_height = self.ss_start.size_request()[1] | 36,976 |
def slideshow_controls_show(self): if self.show_slideshow_controls == False: self.show_slideshow_controls = True self.slideshow_controls = gtk.HBox(False, 0) back = gtk.Button("", gtk.STOCK_GO_BACK) alignment = back.get_children()[0] hbox2 = alignment.get_children()[0] image, label = hbox2.get_children() label.set_te... | def slideshow_controls_show(self): if self.show_slideshow_controls == False: self.show_slideshow_controls = True self.slideshow_controls = gtk.HBox(False, 0) back = gtk.Button("", gtk.STOCK_GO_BACK) alignment = back.get_children()[0] hbox2 = alignment.get_children()[0] image, label = hbox2.get_children() label.set_te... | 36,977 |
def slideshow_controls_show(self): if self.show_slideshow_controls == False: self.show_slideshow_controls = True self.slideshow_controls = gtk.HBox(False, 0) back = gtk.Button("", gtk.STOCK_GO_BACK) alignment = back.get_children()[0] hbox2 = alignment.get_children()[0] image, label = hbox2.get_children() label.set_te... | def slideshow_controls_show(self): if self.show_slideshow_controls == False: self.show_slideshow_controls = True self.slideshow_controls = gtk.HBox(False, 0) back = gtk.Button("", gtk.STOCK_GO_BACK) alignment = back.get_children()[0] hbox2 = alignment.get_children()[0] image, label = hbox2.get_children() label.set_te... | 36,978 |
def slideshow_controls_show(self): if self.show_slideshow_controls == False: self.show_slideshow_controls = True self.slideshow_controls = gtk.HBox(False, 0) back = gtk.Button("", gtk.STOCK_GO_BACK) alignment = back.get_children()[0] hbox2 = alignment.get_children()[0] image, label = hbox2.get_children() label.set_te... | def slideshow_controls_show(self): if self.show_slideshow_controls == False: self.show_slideshow_controls = True self.slideshow_controls = gtk.HBox(False, 0) back = gtk.Button("", gtk.STOCK_GO_BACK) alignment = back.get_children()[0] hbox2 = alignment.get_children()[0] image, label = hbox2.get_children() label.set_te... | 36,979 |
def slideshow_controls_show(self): if self.show_slideshow_controls == False: self.show_slideshow_controls = True self.slideshow_controls = gtk.HBox(False, 0) back = gtk.Button("", gtk.STOCK_GO_BACK) alignment = back.get_children()[0] hbox2 = alignment.get_children()[0] image, label = hbox2.get_children() label.set_te... | def slideshow_controls_show(self): if self.show_slideshow_controls == False: self.show_slideshow_controls = True self.slideshow_controls = gtk.HBox(False, 0) back = gtk.Button("", gtk.STOCK_GO_BACK) alignment = back.get_children()[0] hbox2 = alignment.get_children()[0] image, label = hbox2.get_children() label.set_te... | 36,980 |
def slideshow_controls_show(self): if self.show_slideshow_controls == False: self.show_slideshow_controls = True self.slideshow_controls = gtk.HBox(False, 0) back = gtk.Button("", gtk.STOCK_GO_BACK) alignment = back.get_children()[0] hbox2 = alignment.get_children()[0] image, label = hbox2.get_children() label.set_te... | def slideshow_controls_show(self): if self.show_slideshow_controls == False: self.show_slideshow_controls = True self.slideshow_controls = gtk.HBox(False, 0) back = gtk.Button("", gtk.STOCK_GO_BACK) alignment = back.get_children()[0] hbox2 = alignment.get_children()[0] image, label = hbox2.get_children() label.set_te... | 36,981 |
def slideshow_controls_hide(self): if self.show_slideshow_controls == True: self.show_slideshow_controls = False | def slideshow_controls_hide(self): if self.show_slideshow_controls == True and self.controls_moving == False: self.show_slideshow_controls = False | 36,982 |
def slideshow_controls_hide(self): if self.show_slideshow_controls == True: self.show_slideshow_controls = False | def slideshow_controls_hide(self): if self.show_slideshow_controls == True: self.show_slideshow_controls = False | 36,983 |
def slideshow_controls_hide(self): if self.show_slideshow_controls == True: self.show_slideshow_controls = False | defself.controls_moving = True slideshow_controls_hide(self):self.controls_moving = True ifself.controls_moving = True self.show_slideshow_controlsself.controls_moving = True ==self.controls_moving = True True:self.controls_moving = True self.show_slideshow_controlsself.controls_moving = True =self.controls_moving = Tr... | 36,984 |
def slideshow_controls_hide(self): if self.show_slideshow_controls == True: self.show_slideshow_controls = False | def slideshow_controls_hide(self): if self.show_slideshow_controls == True: self.show_slideshow_controls = False | 36,985 |
def slideshow_controls_hide(self): if self.show_slideshow_controls == True: self.show_slideshow_controls = False | def slideshow_controls_hide(self): if self.show_slideshow_controls == True: self.show_slideshow_controls = False | 36,986 |
def crop_value_changed(self, currspinbox, x, y, width, height, width_adj, height_adj, image_width, image_height, image, type): if type == 0: # X if x.get_value() + width.get_value() > self.currimg_pixbuf_original.get_width(): width.handler_block(self.width_changed) width.set_value(self.currimg_pixbuf_original.get_wid... | def crop_value_changed(self, currspinbox, x, y, width, height, width_adj, height_adj, image_width, image_height, image, type): if type == 0: # X if x.get_value() + width.get_value() > self.currimg_pixbuf_original.get_width(): width.handler_block(self.width_changed) width.set_value(self.currimg_pixbuf_original.get_wid... | 36,987 |
def crop_image_mouse_moved(self, widget, event, image, x2, y2, x, y, width, height, image_width, image_height, width_adj, height_adj): if event != None: x2, y2, state = event.window.get_pointer() if self.drawing_crop_rectangle == True: if self.crop_rectangle != None or self.update_rectangle == True: gc = image.window.n... | def crop_image_mouse_moved(self, widget, event, image, x2, y2, x, y, width, height, image_width, image_height, width_adj, height_adj): if event != None: x2, y2, state = event.window.get_pointer() if self.drawing_crop_rectangle == True: if self.crop_rectangle != None or self.update_rectangle == True: gc = image.window.n... | 36,988 |
def __init__(self): | def __init__(self): | 36,989 |
def parse_action_command(self, command, batchmode): self.running_custom_actions = True self.change_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH)) while gtk.events_pending(): gtk.main_iteration() self.curr_custom_action = 0 if batchmode == True: self.num_custom_actions = len(self.image_list) for i in range(self.num_custom_action... | def parse_action_command(self, command, batchmode): self.running_custom_actions = True self.change_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH)) while gtk.events_pending(): gtk.main_iteration() self.curr_custom_action = 0 if batchmode == True: self.num_custom_actions = len(self.image_list) for i in range(self.num_custom_action... | 36,990 |
def parse_action_command(self, command, batchmode): self.running_custom_actions = True self.change_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH)) while gtk.events_pending(): gtk.main_iteration() self.curr_custom_action = 0 if batchmode == True: self.num_custom_actions = len(self.image_list) for i in range(self.num_custom_action... | def parse_action_command(self, command, batchmode): self.running_custom_actions = True self.change_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH)) while gtk.events_pending(): gtk.main_iteration() self.curr_custom_action = 0 if batchmode == True: self.num_custom_actions = len(self.image_list) for i in range(self.num_custom_action... | 36,991 |
def parse_action_command(self, command, batchmode): self.running_custom_actions = True self.change_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH)) while gtk.events_pending(): gtk.main_iteration() self.curr_custom_action = 0 if batchmode == True: self.num_custom_actions = len(self.image_list) for i in range(self.num_custom_action... | def parse_action_command(self, command, batchmode): self.running_custom_actions = True self.change_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH)) while gtk.events_pending(): gtk.main_iteration() self.curr_custom_action = 0 if batchmode == True: self.num_custom_actions = len(self.image_list) for i in range(self.num_custom_action... | 36,992 |
def parse_action_command(self, command, batchmode): self.running_custom_actions = True self.change_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH)) while gtk.events_pending(): gtk.main_iteration() self.curr_custom_action = 0 if batchmode == True: self.num_custom_actions = len(self.image_list) for i in range(self.num_custom_action... | def parse_action_command(self, command, batchmode): self.running_custom_actions = True self.change_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH)) while gtk.events_pending(): gtk.main_iteration() self.curr_custom_action = 0 if batchmode == True: self.num_custom_actions = len(self.image_list) for i in range(self.num_custom_action... | 36,993 |
def parse_action_command(self, command, batchmode): self.running_custom_actions = True self.change_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH)) while gtk.events_pending(): gtk.main_iteration() self.curr_custom_action = 0 if batchmode == True: self.num_custom_actions = len(self.image_list) for i in range(self.num_custom_action... | def parse_action_command(self, command, batchmode): self.running_custom_actions = True self.change_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH)) while gtk.events_pending(): gtk.main_iteration() self.curr_custom_action = 0 if batchmode == True: self.num_custom_actions = len(self.image_list) for i in range(self.num_custom_action... | 36,994 |
def parse_action_command(self, command, batchmode): self.running_custom_actions = True self.change_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH)) while gtk.events_pending(): gtk.main_iteration() self.curr_custom_action = 0 if batchmode == True: self.num_custom_actions = len(self.image_list) for i in range(self.num_custom_action... | def parse_action_command(self, command, batchmode): self.running_custom_actions = True self.change_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH)) while gtk.events_pending(): gtk.main_iteration() self.curr_custom_action = 0 if batchmode == True: self.num_custom_actions = len(self.image_list) for i in range(self.num_custom_action... | 36,995 |
def parse_action_command(self, command, batchmode): self.running_custom_actions = True self.change_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH)) while gtk.events_pending(): gtk.main_iteration() self.curr_custom_action = 0 if batchmode == True: self.num_custom_actions = len(self.image_list) for i in range(self.num_custom_action... | def parse_action_command(self, command, batchmode): self.running_custom_actions = True self.change_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH)) while gtk.events_pending(): gtk.main_iteration() self.curr_custom_action = 0 if batchmode == True: self.num_custom_actions = len(self.image_list) for i in range(self.num_custom_action... | 36,996 |
def parse_action_command(self, command, batchmode): self.running_custom_actions = True self.change_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH)) while gtk.events_pending(): gtk.main_iteration() self.curr_custom_action = 0 if batchmode == True: self.num_custom_actions = len(self.image_list) for i in range(self.num_custom_action... | def parse_action_command(self, command, batchmode): self.running_custom_actions = True self.change_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH)) while gtk.events_pending(): gtk.main_iteration() self.curr_custom_action = 0 if batchmode == True: self.num_custom_actions = len(self.image_list) for i in range(self.num_custom_action... | 36,997 |
def parse_action_command2(self, command, imagename): # First, replace any property keywords with their flags: if "%F" in command: command = command.replace("%F", imagename) if "%N" in command: command = command.replace("%N", os.path.splitext(os.path.basename(imagename))[0]) if "%P" in command: command = command.replace... | def parse_action_command2(self, command, imagename): # First, replace any property keywords with their flags: if "%F" in command: command = command.replace("%F", imagename) if "%N" in command: command = command.replace("%N", os.path.splitext(os.path.basename(imagename))[0]) if "%P" in command: command = command.replace... | 36,998 |
def parse_action_command2(self, command, imagename): # First, replace any property keywords with their flags: if "%F" in command: command = command.replace("%F", imagename) if "%N" in command: command = command.replace("%N", os.path.splitext(os.path.basename(imagename))[0]) if "%P" in command: command = command.replace... | def parse_action_command2(self, command, imagename): # First, replace any property keywords with their flags: if "%F" in command: command = command.replace("%F", imagename) if "%N" in command: command = command.replace("%N", os.path.splitext(os.path.basename(imagename))[0]) if "%P" in command: command = command.replace... | 36,999 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.